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

Stuart Parmenter stuartp at gmail.com
Fri Oct 6 14:00:57 PDT 2006

On 10/6/06, Owen Taylor <otaylor at redhat.com> wrote:
> If the cairo_array usage in cairo-win32-font.c shows up on
> profiles, it would seem better to fix it there, then half-replace
> the code with code elsewhere? Or maybe improve cairo_array
> to allow it to be initialized with a fixed size static buffer.

Follow the entire fallback path when you don't have a
surface->backend->show_glyphs functions.  bounding box lookups, old
show_glyphs stuff.  It isn't just arrays.

> So it sounds like you aren't actually using the code you added
> for performance reasons then?

No, we do use it in some cases (we have 3 or 4 different paths for
drawing text).  We also use it for SVG.


More information about the cairo mailing list