Bug 6759 - fontconfig option AntiAlias doesn't work in cairo 1.1.2
Summary: fontconfig option AntiAlias doesn't work in cairo 1.1.2
Alias: None
Product: cairo
Classification: Unclassified
Component: freetype font backend (show other bugs)
Version: 1.1.2
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Owen Taylor
QA Contact: cairo-bugs mailing list
Depends on:
Reported: 2006-04-27 11:42 UTC by sangu
Modified: 2006-06-25 02:51 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

screenshot in cairo 1.1.2 and cairo 1.0.4 (38.30 KB, image/png)
2006-04-27 12:12 UTC, sangu
a proposal patch (9.02 KB, patch)
2006-06-14 08:12 UTC, Jinghua Luo
Details | Splinter Review
a test case. (3.96 KB, text/x-csrc)
2006-06-14 08:30 UTC, Jinghua Luo

Description sangu 2006-04-27 11:42:45 UTC
fontconfig option AntiAlias doesn't work in cairo 1.1.2.

 <match target="font" >
                <test qual="any" name="family">
                <test compare="more" name="pixelsize" qual="any">
                <test compare="less" name="pixelsize" qual="any">
                <edit mode="assign" name="antialias" >

vernada font always is seen to AA in GNOME 2.14.1.

VGA driver : nvidia proprietary driver
Comment 1 sangu 2006-04-27 12:12:09 UTC
Created attachment 5493 [details]
screenshot in cairo 1.1.2 and cairo 1.0.4
Comment 2 Jinghua Luo 2006-06-14 08:12:46 UTC
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.
Comment 3 Jinghua Luo 2006-06-14 08:30:23 UTC
Created attachment 5908 [details]
a test case.
Comment 4 Carl Worth 2006-06-25 02:51:21 UTC
It appears that the test case and the patch have both landed upstream:



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.").


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.