[cairo] Problem with text rendering on Win32+ClearType, and possible fix

Vladimir Vukicevic vladimir at pobox.com
Thu Oct 5 14:48:07 PDT 2006


----- Owen Taylor <otaylor at redhat.com> wrote:
> On Thu, 2006-10-05 at 20:36 +0300, Tor Lillqvist wrote:
> > And guess what... everything else seems to work fine, but with this
> > simple change, "Rotated Text" in gtk-demo goes haywire... see
> > http://www.saunalahti.fi/tlillqvi/rotated-text.png . I just noticed
> > this and haven't looked for the cause yet.
> 
> I was unable to understand how this possibly could be happening,
> since
> the same handling of transformation should be in place on both code
> paths. Until I saw Stuart's commit of March 10 (59a45f), which 
> introduced a _cairo_win32_surface_show_glyphs() that doesn't handle
> rotated text.

I'm pretty sure the trunk win32 font stuff should handle this -- we ran into the same problem with SVG.

    - Vlad



More information about the cairo mailing list