servo/components/gfx/platform
Patrick Walton 3addd775a5 gfx: Change the mapping from Mac weights to CSS weights so that 0.0 maps
to 400, not 500.

CSS `normal` font-weight is specified as 400, while Mac "Regular" font
weight is reported as 0.0. On the Mac, we need to center the two ranges
on the same value to avoid choosing "Light" fonts where "Regular" would
have been more appropriate.

Closes #9487.

fix for mac
2016-05-10 10:34:29 -07:00
..
freetype gfx: Map sans-serif to Helvetica on Mac, DejaVu Sans on Linux, and 2016-05-09 12:45:52 -07:00
macos gfx: Change the mapping from Mac weights to CSS weights so that 0.0 maps 2016-05-10 10:34:29 -07:00
mod.rs win32: use fontconfig/freetype on windows as well (for now) 2016-01-20 08:38:20 -06:00