[cairo] Black marks shown at rendering mixed Chinese and English texts

William To meinreflection at gmail.com
Mon Mar 8 18:00:07 PST 2010

Dear All,

I am new to the world of Cairo and is using the package along with GTK+ to
render text and graphics. However we have a problem which I have no idea on
how to resolve.

Our system runs GTK+ (and Cairo) over DirectFB 1.4.2. We find that if we set
#define DFB_SHOW_GLYPHS 1 then all the Chinese text are rendered corrupted.
The Chinese text can be rendered normally if the value is set to 0. The side
effect of this is some of the rendered mixed Chinese and English text shows
black or coloured marks as shown on the attached photo. I don't know whether
this is something wrong with the configuration, or there is something I
cannot fix myself.

Thanks very much and Best Regards

William To
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20100309/1a1f490d/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: blackmarktext.jpg
Type: image/jpeg
Size: 39984 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20100309/1a1f490d/attachment-0001.jpg>

More information about the cairo mailing list