servo/components/gfx
bors-servo aa9f50a1d4 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 -->
2016-05-24 10:39:44 -07:00
..
display_list Removed unused imports 2016-05-15 22:24:26 +03:00
platform Add a fast path for shaping ASCII text 2016-05-20 16:47:01 -07:00
text Don't create HarfBuzz shaper if it isn't used 2016-05-23 11:46:16 -07:00
Cargo.toml Update string_cache to 0.2.17 2016-05-23 09:19:14 -04:00
filters.rs Split Au type into separate crate, with minimal dependencies. 2015-10-01 07:16:11 +10:00
font.rs Don't create HarfBuzz shaper if it isn't used 2016-05-23 11:46:16 -07:00
font_cache_thread.rs adding interface for custom responses 2016-05-20 12:11:56 +05:30
font_context.rs Always include the last-resort font 2016-05-24 08:30:44 -07:00
font_template.rs gfx: Implement Debug for FontTemplate instances. 2016-05-10 10:34:29 -07:00
lib.rs Add a fast path for shaping ASCII text 2016-05-20 16:47:01 -07:00
paint_context.rs Make text-align: justify incremental layout safe 2016-05-10 15:46:22 +02:00
paint_thread.rs Simplify PaintThread::create(). 2016-05-20 11:03:39 +02:00