[Bug 509044] [zh] Chinese text replaced by blank characters in PDF

bugzilla at redhat.com bugzilla at redhat.com
Fri Apr 9 09:11:18 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=509044

fujiwara <tfujiwar at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tfujiwar at redhat.com

--- Comment #7 from fujiwara <tfujiwar at redhat.com> 2010-04-09 05:11:12 EDT ---
(In reply to comment #3)
> I've download the pdf, and find out the pdf is not even built correctly.
> 
> If the only problem is font, you can still copy-paste the content to gedit
> and see the proper text, however, what I got when pasting the Preface 1. (from
> demo.pdf) is:
> 
> 1. \uffff\uffff\uffff\uffff

I tried to extract the text from pdf and it seems the encoding is broken.

$ od -xc dump.txt 
0000000    7250    6665    6361    0a65    2e31    ef20    bfbf    bfef
          P   r   e   f   a   c   e  \n   1   .     357 277 277 357 277
0000020    efbf    bfbf    bfef    0abf    bfef    efbf    bfbf    bfef
        277 357 277 277 357 277 277  \n 357 277 277 357 277 277 357 277
0000040    efbf    bfbf    bfef    efbf    bfbf    bfef    efbf    bfbf
        277 357 277 277 357 277 277 357 277 277 357 277 277 357 277 277

They are 0x ef bf bf ef bf bf ef bf bf ...

Probably this is duplicated of bug 557336 ?

I think you can output the correct pdf with gedit or openoffice.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the fonts-bugs mailing list