[cairo] Recommended method to use text on Windows CE/ Win32

Behdad Esfahbod behdad.esfahbod at gmail.com
Mon Sep 28 12:17:08 PDT 2009

On 09/27/2009 04:19 AM, Mohit Sindhwani wrote:
> Behdad Esfahbod wrote:
>> Then just compile cairo with the win32 font backend and use
>> cairo_show_text()?
>> behdad
> Hi Behdad,
> Actually, I followed this:
> http://vividos.wordpress.com/2008/01/23/how-to-compile-cairo-for-pocketpc/
> And near the end, it says:
> Since there is no easy solution for this, I just commented out the
> function body, so text rendering isn’t supported by cairo on Windows CE
> for now. Revisiting my changes to cairo, I saw that I tried to
> reimplement GetCharacterPlacement and some more needed functions, but
> that code has to be looked upon again. In the end I didn’t manage to
> bring rendered text onto a cairo surface.
> That's why I thought that cairo_show_text would probably not work directly.

I have no idea what API is available on WinCE.  If you just want to render 
some text and don't care about the font, you can compile cairo with no native 
font backend and you'll get the internal font face.


> Cheers,
> Mohit.
> 9/27/2009 | 4:18 PM.

More information about the cairo mailing list