[cairo] How to show text in chinese with cairo, please?

Jonathan Morton jonathan.morton at movial.com
Tue Jun 2 06:38:48 PDT 2009

> I use cairo in Visual Studio 2008, and could draw an english text with
> cairo_select_font_face() successfully.
> However, when I replaced it with another one in Chinese, there was
> nothing displayed. 

> What is the reason, please?

Without seeing how you're currently trying it, I'm not sure people will
be able to help.  At the moment we can only guess.

Do, however, make sure that the font you're trying to use supports
Chinese characters, and that your text is supplied in the correct

From: Jonathan Morton
      jonathan.morton at movial.com

More information about the cairo mailing list