mirror of
https://github.com/servo/servo.git
synced 2025-10-01 09:09:15 +01:00
Auto merge of #11303 - mbrubeck:last-resort, r=pcwalton
Always include the last-resort font This is used as a fallback for any characters that don't have glyphs in the specified font. Without this, per-glyph font fallback doesn't work because the FontGroup always contains only one font. Fixes missing glyphs on many pages on my Linux box. As a follow-up, we should probably have a smarter strategy for finding fallback fonts, possibly varying by script. (Currently we just have a few hard-coded family names.) r? @glennw <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11303) <!-- Reviewable:end -->
This commit is contained in:
commit
aa9f50a1d4
258 changed files with 127 additions and 905 deletions
|
@ -9,12 +9,15 @@ body {
|
|||
font-size: 24px;
|
||||
line-height: 24px;
|
||||
}
|
||||
span {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<section>x←</section>
|
||||
<section>→x</section>
|
||||
<section>→x←</section>
|
||||
<section>x←<span> </span></section>
|
||||
<section>→x<span> </span></section>
|
||||
<section>→x←<span> </span></section>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue