[cairo] cairo_show_text and Chinese
behdad at behdad.org
Thu Oct 2 08:45:40 PDT 2008
Carl Worth wrote:
> Thanks much for that example, Behdad!
> I'm really late in posting this, but better late than never, right?
Yep. Thanks for writing up.
> The FAQ was already using C, so I ported the example code from python to
> C. That definitely made it a little less pretty. And it's possible that
> my port could be improved, (it wasn't obvious to me from the pango
> documentation whether the C API provides an equivalent of "serif 32px"
> or not, for example).
Yes, a font_description_from_string provides the same functionality across all
> Anyway, Behdad, (or anyone else), if you could read over what I put
> together and clean it up as necessary, that would be appreciated.
Looks good. One may want to mention the _from_string() version too.
> But this should make a nice addition to the FAQ I think.
More information about the cairo