[cairo] strange code

Adrian Johnson ajohnson at redneon.com
Wed Jun 10 05:45:08 PDT 2009


flk1986 wrote:
> Hi all,
> I'm trying to export our data(chinese character) to PDF via Cairo,now 
> there is a strange question----
>   I can't always get right utf-8 code when I copy characters from the pdf.
> For example,
> If my data is "Ò»¸öÒ»¸ö",
> first and third character in the pdf is invalid code ,but second and 
> fourth character's utf-8 code is right,
> but if I export "Ò»¸ö¸ö" to pdf,the first character's code if error,but 
> second and third code is right.
> If my data is "¸öÒ»Ò»",when I copy result from pdf, the first 
> character's code if error,but second and third code is right.
> It is so magic!
>  Many thanks for any info, suggestions, etc!
> Fenglunkuo

Can you provide a simple C test case and the PDF output you get. Or open 
a bug and attach the code and PDF to it.

> 
> 
> 
> ------------------------------------------------------------------------
> ÍøÒ×È«ÐÂÍƳöÆóÒµÓÊÏä <http://qiye.163.com/?ft=2>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo



More information about the cairo mailing list