Bug 9363 - ATSUI doesn't round to nearest pixel
Summary: ATSUI doesn't round to nearest pixel
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 05:00 UTC by Brian Ewins
Modified: 2007-01-23 20:00 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
patch to fix the problem (1.12 KB, patch)
2006-12-16 05:03 UTC, Brian Ewins
Details | Splinter Review
Output of text-rotate after the patch (11.06 KB, image/png)
2006-12-16 05:04 UTC, Brian Ewins
Details

Description Brian Ewins 2006-12-16 05:00:43 UTC
Continuing bug 9350 (rather than post multiple patches on a single bug)

cairo-scaled-font.c rounds glyph positions to the nearest pixel, but this code
path isn't used by the atsui backend, resulting in small differences in the
output from the ft backend.
Comment 1 Brian Ewins 2006-12-16 05:03:10 UTC
Created attachment 8134 [details] [review]
patch to fix the problem

adds rounding with the same todo comment as in cairo-scaled-font. applied after
the patch in 9350
Comment 2 Brian Ewins 2006-12-16 05:04:08 UTC
Created attachment 8135 [details]
Output of text-rotate after the patch

compare this to the patched output in 9350
Comment 3 Behdad Esfahbod 2006-12-16 12:44:40 UTC
Thanks.  Committed: be6edd64a3f45f7fb33f7d57b71b1ef467b474e1


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.