diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-05-24 10:39:44 -0700 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-05-24 10:39:44 -0700 |
commit | aa9f50a1d406e72d8b443f79439aaf9fd2ba4425 (patch) | |
tree | 44a397519dc1e6e8010052bc616029d23c2b68b3 /components/script/dom/characterdata.rs | |
parent | e4fe0db8fd5f0b5431ba3856b4931613a96e924e (diff) | |
parent | e588943b4fcfce2fa2ef280ba6c1dc70a2033a1f (diff) | |
download | servo-aa9f50a1d406e72d8b443f79439aaf9fd2ba4425.tar.gz servo-aa9f50a1d406e72d8b443f79439aaf9fd2ba4425.zip |
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 -->
Diffstat (limited to 'components/script/dom/characterdata.rs')
0 files changed, 0 insertions, 0 deletions