Bug 9366 - ATSUI doesn't support CAIRO_ANTIALIAS_NONE
Summary: ATSUI doesn't support CAIRO_ANTIALIAS_NONE
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: quartz font backend (show other bugs)
Version: 1.3.7
Hardware: PowerPC Mac OS X (All)
: high normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 9350
  Show dependency treegraph
 
Reported: 2006-12-16 09:05 UTC by Brian Ewins
Modified: 2007-01-23 20:00 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Output of text-antialias-none before the patch (1.05 KB, image/png)
2006-12-16 09:06 UTC, Brian Ewins
Details
patch to fix the problem (971 bytes, patch)
2006-12-16 09:10 UTC, Brian Ewins
Details | Splinter Review
Output of text-antialias-none after the patch (311 bytes, image/png)
2006-12-16 09:11 UTC, Brian Ewins
Details

Description Brian Ewins 2006-12-16 09:05:18 UTC
Cairo supports disabling antialiasing for text, this isn't enabled in the ATSUI
back end. Patch to rectify this follows.
Comment 1 Brian Ewins 2006-12-16 09:06:36 UTC
Created attachment 8136 [details]
Output of text-antialias-none before the patch
Comment 2 Brian Ewins 2006-12-16 09:10:03 UTC
Created attachment 8137 [details] [review]
patch to fix the problem

This sets the shouldAntialias flag on the CGContext. The CGRestoreState later
in the function will reset the flag.
Comment 3 Brian Ewins 2006-12-16 09:11:47 UTC
Created attachment 8138 [details]
Output of text-antialias-none after the patch

The remaining differences from the reference image are down to the different
hinting, positioning, and extents between ATSUI and FT
Comment 4 Behdad Esfahbod 2006-12-16 12:41:40 UTC
Thanks, committed: bf1c2ef1e2b6cffffb0f02fe5cb8df0728026642


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.