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:
parent
2cb0039a13
commit
df57d7ca68
8 changed files with 66 additions and 16 deletions
23
Tests/LibWeb/Ref/reference/unicode-range-ref.html
Normal file
23
Tests/LibWeb/Ref/reference/unicode-range-ref.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue