Bug 509044
Summary: | [zh] Chinese text replaced by blank characters in PDF | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ruediger Landmann <rlandman+disabled> | ||||
Component: | fop | Assignee: | Lillian Angel <langel> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 11 | CC: | dchen, fonts-bugs, i18n-bugs, K9, langel, petersen, tfujiwar | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-05-20 06:31:19 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Ruediger Landmann
2009-07-01 00:53:35 UTC
Created attachment 350038 [details]
Sample PDF in zh-CN
This is because the font changed to a TTC (True Type Collection) and the FOP shipped in fedora can not automatically load TTCs. The trunk version of FOP can auto load TTCs as detailed at http://xmlgraphics.apache.org/fop/trunk/fonts.html 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 \uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff 1 \uffff PDF \uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff Liberation \uffff\uffff \uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff Liberation \uffff\uffff\uffff \uffff\uffff\uffff\uffff\uffff\uffff\uffff HTML \uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff Linux 5 \uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff\uffff Liberation \uffff\uffff\uffff\uffff\uffff Interesting though, if open this document with acroread, the bookmarks appears correctly, but not context. Presumably same for Traditional Chinese. Are there any more detailed procedures to reproduce please? Publican now avoids this issue -- see BZ#557336 To expose this bug, try building a Chinese PDF on Fedora with a version of Publican prior to 1.4 (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. This message is a reminder that Fedora 11 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 11. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '11'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 11's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 11 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping *** This bug has been marked as a duplicate of bug 557336 *** |