servo/components/gfx
Glenn Watson b015e93dc5 Update WR (font instance API).
WR now has a concept of font templates and font instances. This
makes the WR font interfaces closer to Cairo and Gecko, and also
makes some future performance optimizations possible.

A font template is the font family, and data backing the font.
A font instance is a reference to a font template and per-instance
options, such as font size, anti-aliasing settings etc.

To update Servo in a minimally invasive way, I added a new font
cache call, that creates a font instance. This means that when
a font is created, and doesn't exist in the cache there are now
two calls to the font cache thread. We could refactor the font
cache to make this work in one call, which we should do in the
future. However, refactoring the font cache is a large chunk of
work by itself. The extra call is only when a font doesn't already
exist in the font context cache, so it should have minimal
performance impact.
2017-08-31 16:10:30 +10:00
..
display_list order derivable traits lists 2017-08-23 21:38:44 +02:00
platform order derivable traits lists 2017-08-23 21:38:44 +02:00
text Update WR (font instance API). 2017-08-31 16:10:30 +10:00
Cargo.toml Updated h5e and x5e 2017-08-18 19:51:17 +05:30
font.rs Update WR (font instance API). 2017-08-31 16:10:30 +10:00
font_cache_thread.rs Update WR (font instance API). 2017-08-31 16:10:30 +10:00
font_context.rs Update WR (font instance API). 2017-08-31 16:10:30 +10:00
font_template.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
lib.rs Replace all uses of the style::stylearc alias with servo_arc. 2017-07-19 09:29:05 +02:00