[cairo] [PATCH] Apply GASP parmeters to TrueType fonts
James Cloos
cloos at jhcloos.com
Mon Jan 23 14:22:26 PST 2012
>>>>> "NM" == Nicholas Miell <nmiell at gmail.com> writes:
NM> These flags override FontConfig and the Cairo API settings entirely in
NM> order to always render fonts correctly. I've added a comment to that effect.
The users’ preferences, as specificed in fontconfig, always must override
anything in the font.
Whether gasp tables are “correct” is a matter of opinion. Blindly
accepting the gasp recomentations can result in bitmap glyphs uglifying
an otherwise anti-aliased display.
The ability to query the fonts’ gasp tables is a good thing, but only
for users who want to do that. Many of us do not. The gasp query
probably should be done in fontconfig, arranged so that a fonts.conf
snippet can query and apply the gasp recommendations. That would ensure
that users can choose whether to apply or ignore them.
-JimC
--
James Cloos <cloos at jhcloos.com> OpenPGP: 1024D/ED7DAEA6
More information about the cairo
mailing list