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

Behdad Esfahbod behdad.esfahbod at gmail.com
Thu Sep 24 18:46:44 PDT 2009


On 09/24/2009 09:12 PM, Mohit Sindhwani wrote:
> Mohit Sindhwani wrote:
>> Mike Shaver wrote:
>>
>>> Firefox uses Freetype on Windows CE, we'll move to use harfbuzz as
>>> well in the future I believe.
>>>
>>> http://mxr.mozilla.org/mozilla-central/source/gfx/thebes/src/gfxFT2Fonts.cpp
>>>
>>> If you care about a subset of languages or fonts, your code could
>>> likely be a lot simpler; strange fonts and flexible control over font
>>> selection for different languages contributes a lot of lines to that
>>> code.
>>>
>>> Mike
>>>
>>>
>> Thanks Mike - I'll take a look at that to get started.  For now, we can
>> restrict ourselves to English... though the future is wide open.. but
>> I'm willing to revisit language support again when we need it.
>>
>
> To further add to this, we only really need basic text support for
> labels, etc.  It just needs to be able to render a couple of fonts in a
> couple of sizes... in English.  I was hoping to get something small and
> simple to meet the needs.

Then just compile cairo with the win32 font backend and use cairo_show_text()?

behdad

> Cheers,
> Mohit.
> 9/25/2009 | 9:12 AM.


More information about the cairo mailing list