serenity/Tests/LibWeb/Ref/unicode-range.html
Aliaksandr Kalenik df57d7ca68 LibGfx+LibWeb: Update for_each_glyph_position to use font cascade list
This change updates function that builds list of glyphs to use font
cascade list to find font for each code point.
2023-12-10 17:32:04 +01:00

22 lines
463 B
HTML

<!DOCTYPE html>
<html>
<head>
<link rel="match" href="reference/unicode-range-ref.html" />
<style>
@font-face {
font-family: 'HashFont';
src: url('assets/HashSans.woff');
unicode-range: U+0041; /* Only letter 'A' */
}
.text {
font-family: 'HashFont', 'SerenitySans';
font-size: 100px;
}
</style>
</head>
<body>
<div class="text">AB</div>
</body>
</html>