Bug 14860 - Drawing text with gradient results in garbled output
Summary: Drawing text with gradient results in garbled output
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: quartz backend (show other bugs)
Version: 1.5.3
Hardware: Other All
: medium normal
Assignee: Vladimir Vukicevic
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-06 11:58 UTC by Richard Hult
Modified: 2008-03-07 00:15 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Triggers the problem (2.00 KB, text/plain)
2008-03-06 11:59 UTC, Richard Hult
Details

Description Richard Hult 2008-03-06 11:58:35 UTC
I am experiencing some problems when trying to draw text with a linear gradient source. My real code is using pango but a simple test case using the toy API also shows the problem, will attach one.

The bug could also be in the atsui font backend, I suppose.

This happens with both 1.4.x and 1.5.x.
Comment 1 Richard Hult 2008-03-06 11:59:57 UTC
Created attachment 14887 [details]
Triggers the problem
Comment 2 Vladimir Vukicevic 2008-03-06 16:54:36 UTC
Thanks for the testcase!  I just checked in a fix for this, commit id b52f127c12fd7ee2b4f532954cb1e9e4eb8561b4 .
Comment 3 Richard Hult 2008-03-06 23:22:37 UTC
Thanks!

Are you sure you pushed it, I can't see it in trunk?

Comment 4 Vladimir Vukicevic 2008-03-07 00:01:03 UTC
Whoops, try now.
Comment 5 Richard Hult 2008-03-07 00:15:40 UTC
Thanks, works like a charm!


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.