servo/components/gfx/platform
Jon Leighton dc683a1fc9 Linux: Don't hold onto bytes of system fonts
FontTemplateData gets passed over IPC during the communication between
FontContext and FontCacheThread. Serializing and deserializing these
bytes is expensive, so this change ensures that we only do that when the
bytes can't be read from disk. A similar strategy is already used on
macos and windows.

The performance problem was particularly noticeable after implenting
font fallback, where the content process would potentially work through
a list of fonts, trying to find one which contains a certain glyph. That
could result in lots of font bytes going over IPC.
2018-05-19 14:33:39 +10:00
..
freetype Linux: Don't hold onto bytes of system fonts 2018-05-19 14:33:39 +10:00
macos Implement font fallback 2018-05-19 14:33:36 +10:00
windows Implement font fallback 2018-05-19 14:33:36 +10:00
mod.rs Ged rid of libfontconfig in Android. Query available fonts from Android system font configuration files. 2017-06-02 18:40:08 +02:00