servo/components
Glenn Watson cc24e68186 Improve quality of font rendering on Linux (and Android).
The freetype hinting only works on integer pixel sizes. For this
reason, the advance width metrics for a font of size 12.99 are
the same as the advance metrics for a font of size 12.0. This
results in small fonts appearing to overlap slightly, which is
particularly noticeable on parts of Wikipedia. Round the font
size up to a pixel boundary inside the freetype system.

Also fetch the system default fonts for the generic font families
rather than hard coding them.

These two changes make the font rendering on Linux very close
to the Firefox font rendering on Wikipedia.
2014-09-10 07:29:40 +10:00
..
canvas Cargoify servo 2014-09-08 20:21:42 -06:00
compositing Cargoify servo 2014-09-08 20:21:42 -06:00
gfx Improve quality of font rendering on Linux (and Android). 2014-09-10 07:29:40 +10:00
layout Cargoify servo 2014-09-08 20:21:42 -06:00
layout_traits Cargoify servo 2014-09-08 20:21:42 -06:00
macros Cargoify servo 2014-09-08 20:21:42 -06:00
msg Cargoify servo 2014-09-08 20:21:42 -06:00
net Cargoify servo 2014-09-08 20:21:42 -06:00
script Cargoify servo 2014-09-08 20:21:42 -06:00
script_traits Cargoify servo 2014-09-08 20:21:42 -06:00
style Cargoify servo 2014-09-08 20:21:42 -06:00
util Cargoify servo 2014-09-08 20:21:42 -06:00