
:max_bytes(150000):strip_icc()/inkscape-letters-spaced-fd60000907314262879d82e8839136cf.jpg)
In principle this works with FreeType 2.8 but I seemed to need 2.9 to get it to work. Using the descriptor does not have the 'variation' axes set. Pango_fc_font_lock_face() (which calls pango_ft2_font_get_face()) Pango handles font variations via the Pango Font Description however the FreeType font retrieved via: Axes values are not yet clamped to allowed range. Needs fixing (incorrect parsing, parsing not robust against variations in white-space). Reading of 'font-variation-settings' implemented. Linked to recent libraries, Inkscape can use "named" variations out-of-the box (i.e., one font file provides multiple styles). This is the same stuff we'll use in inkscape soon.

Test file Google's FontView proof-of-conceptįontView is a demo program written by Google engineers to demonstrate the variable font technologies recently added to harfbuzz and freetype. Note: Chrome also supports 'font-weight' values that are not multiples of 100 (CSS Fonts Level 4 changes the allowed values of 'font-weight' to include all integers from 1 to 1000):

