fontconfig option AntiAlias doesn't work in cairo 1.1.2. ~/.fonts.conf <fontconfig> <match target="font" > <test qual="any" name="family"> <string>Verdana</string> </test> <test compare="more" name="pixelsize" qual="any"> <double>9</double> </test> <test compare="less" name="pixelsize" qual="any"> <double>17</double> </test> <edit mode="assign" name="antialias" > <bool>false</bool> </edit> </match> </fontconfig> vernada font always is seen to AA in GNOME 2.14.1. xorg-x11-server-Xorg-1.0.1-9.fc5 VGA driver : nvidia proprietary driver
Created attachment 5493 [details] screenshot in cairo 1.1.2 and cairo 1.0.4
Created attachment 5907 [details] [review] a proposal patch Here is the proposal patch to fix this bug. This problem is: The freetype font backend uses scaled_font->base.options which usually is not corresponding the font pattern used to create the font face when rendering glyph into bitmap.
Created attachment 5908 [details] a test case.
It appears that the test case and the patch have both landed upstream: http://gitweb.cairographics.org/?p=cairo;a=commit;h=4b2b8f939a9e786ead080f85d1b101680230f168 http://gitweb.cairographics.org/?p=cairo;a=commit;h=54b4a2fccdcaa4fbc126818c7cb7b96a1a8acf35 And that this bug simply wasn't closed. (Note comment in the second commit: "The ft-text-antialias-none test case passess now. And should fix bug #6759 and #4792."). -Carl
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.