[cairo] Problems with building Cairo for Windows CE

Vladimir Vukicevic vladimir at pobox.com
Wed Oct 28 11:18:54 PDT 2009

On 10/12/2009 6:46 PM, Mohit Sindhwani wrote:
> Gerdus van Zyl wrote:
>> You might be interested in this patch in the mozilla source code for
>> cairo:
>> http://hg.mozilla.org/mozilla-central/file/3205228e9838/gfx/cairo/wince-fixes.patch
>> If you don't get a reply on the ML you might try asking on the cairo
>> IRC channel, people are sometimes more talkative on there.
> Thanks Gerdus,
> You're right - the list has been quiet on these issues, but I guess
> there are not that many people using it on Windows CE then... all the
> same, I do like Cairo and if it works on Windows CE, it'll be great for
> what I'm planning.  But I need it to work so that I can do a meaningful
> benchmark.

We've actually moved away from using the Win32 surface on CE -- it 
provides very little benefit compared to just using a straight image 
surface and doing a final blit, especially for anything moderately 
complex.  Additionally, CE can't support text rendering using the win32 
fonts API (it has no way to render glyphs), so Freetype has to be used.  
We just render everything to a 24bpp image surface so that we don't pay 
any extra composite cost, and do a final 24->16 blit at the end.

     - Vlad

More information about the cairo mailing list