1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:58:11 +00:00

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.
This commit is contained in:
Aliaksandr Kalenik 2023-12-09 23:45:57 +01:00 committed by Andreas Kling
parent 2cb0039a13
commit df57d7ca68
8 changed files with 66 additions and 16 deletions

View file

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<style>
@font-face {
font-family: 'HashFont';
src: url('../assets/HashSans.woff');
}
.hash-font {
font-family: 'HashFont';
}
.text {
font-size: 100px;
font-family: "SerenitySans";
}
</style>
</head>
<body>
<div class="text"><span class="hash-font">A</span>B</div>
</body>
</html>