[cairo] Text performance on windows?

Gerdus van Zyl gerdusvanzyl at gmail.com
Tue Aug 26 03:23:46 PDT 2008


Please see this discussing on the list:

http://lists.cairographics.org/archives/cairo/2008-February/012982.html

The reason I saw slow rendering was with the way I did double
buffering and the type of surface I created. If you could show us your
text rendering code it would be informative.

~Gerdus

On Tue, Aug 26, 2008 at 11:40 AM, Nicholas Allen <allen at ableton.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I also experience serious performance problems with Cairo. I have only
> run on Windows but it's performance is so bad as to make it completely
> unusable for what we need. It's a shame because the API is really
> clean and the output looks great. Hopefully, this will get fixed in
> future releases...
>
> Nick
>
> Damian Frank wrote:
>> I'm pretty new to Cairo, and I've been looking at using it for a
>> codebase that currently uses, variously, Xlib, GDI, GDI+, and
>> Quartz, among others.  Performance is one of my chief concerns,
>> though.  At the moment I'm looking at text performance, and I have
>> some serious concerns.  For now, I am just benchmarking on Windows,
>>  and only for to-screen rendering (as opposed to printing or
>> PS/PDF/etc).
>>
>> Can someone give me some pointers on staying on the fast code paths
>>  for text rendering on win32?  My tests so far show image and DDB
>> both taking about 15-20x as long as our GDI implementation, and
>> 24-bit DIB taking about 5x as long.
>>
>> Thanks,
>>
>> Damian
>>
>>
>> ----------------------------------------------------------------------
>>
>>
>> _______________________________________________ cairo mailing list
>> cairo at cairographics.org
>> http://lists.cairographics.org/mailman/listinfo/cairo
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFIs8+jbpmWsXfOU58RAhUdAJ9ZvO339sJmJFpaIKaTLDbHEATLngCeK9zT
> AoOUaWptYxAJZE5kIii1Whc=
> =kDzx
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>


More information about the cairo mailing list