[prev in list] [next in list] [prev in thread] [next in thread]
List: cairo
Subject: Re: [cairo] Recommended method to use text on Windows CE/ Win32
From: Mohit Sindhwani <ml3p () onghu ! com>
Date: 2009-09-29 1:14:22
Message-ID: 4AC15F6E.2060909 () onghu ! com
[Download RAW message or body]
Behdad Esfahbod wrote:
> 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.
Behdad,
Thanks! I'm going to try that. I did find that including win32_font.c
throws up numerous errors. But if I can get the basic bits working
first, I can later see what else is supported.
Thanks,
Mohit.
_______________________________________________
cairo mailing list
cairo@cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic