[cairo] Re: Rotated text bug on drawable target

Carl Worth cworth at redhat.com
Fri Nov 5 09:35:56 PST 2004


On Fri, 05 Nov 2004 01:53:16 -0500, graydon hoare wrote:
> yeah, it was sort of a combination of a couple signage errors and the 
> use of bearings rather than bounding box offsets in the render glyph 
> loader. the attached patch seems to fix it, on my end (included a minor 
> fix to the clip code too).

Gee, I can't believe how you could make mistakes here with cairo,
freetype, and Render all using slightly different conventions. Not to
mention all the coordinate spaces flying around.

Thanks for the elucidating diagrams in your patch.

> ok to commit?

Yes, please. The patch didn't apply cleanly for me, so I haven't
verified the fix --- but it looks reasonable and it certainly couldn't
make it any worse.

-Carl



More information about the cairo mailing list