You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2007/05/04 00:23:44 UTC
DO NOT REPLY [Bug 42330] New: - Tibetan characters not rendered correctly in PDF
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42330>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42330
Summary: Tibetan characters not rendered correctly in PDF
Product: Fop
Version: 0.93
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: pdf
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: silkensedai@online.fr
The tibetan characters are not drawn correctly in my PDf documents. Aparently
it's not the PDF reader's fault because OpenOffice can generate correct
documents that can be seen in every PDF reader i have. Moreover, even Adobe
Reader can't display correctly FOP's PDF documents.
I already filled a poppler bug I closed because it's not the poppler's fault :
https://bugs.freedesktop.org/show_bug.cgi?id=10845
I'll attach the FO document I use and screenshoot of the result. If you need the
tibetan font, it is called "TibetanMachineUni" and can be found in the tools
section of the website http://www.thdl.org/. Because it became a little harder
to download it I made it avaible on my website:
http://silkensedai.free.fr/TibetanMachineUni.ttf (licence is GPL)
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 42330] - Tibetan characters not rendered correctly in PDF
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42330>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42330
------- Additional Comments From silkensedai@online.fr 2007-05-03 15:29 -------
Created an attachment (id=20127)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20127&action=view)
Screenshoot
Attached the screenshoot showing the document generated by FOP in Acrobat
Reader and the OpenOffice generated document in xpdf.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 42330] - Tibetan characters not rendered correctly in PDF
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42330>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42330
------- Additional Comments From silkensedai@online.fr 2007-05-03 15:38 -------
Please note that the attachement 'FO source' is encoded in UTF-8. Please force
the encoding or replace the fo:block by:
<fo:block>ཧཱུྂ༔</fo:block>
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
DO NOT REPLY [Bug 42330] - Tibetan characters not rendered correctly in PDF
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42330>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42330
------- Additional Comments From silkensedai@online.fr 2007-05-03 15:35 -------
Created an attachment (id=20128)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20128&action=view)
FO source
Attached the FO source I use. Here is an extract of my fop.xconf file :
<font metrics-url="TibetanMachineUni.xml" kerning="yes"
embed-url="TibetanMachineUni.ttf">
<font-triplet name="Tibetan" style="normal" weight="normal"/>
<font-triplet name="TibetanMachineUni" style="normal"
weight="normal"/>
</font>
The TibetanMachineUni.xml file can be found here:
http://silkensedai.free.fr/TibetanMachineUni.xml
To generate this file, I used the command line:
java -cp
/opt/fop/build/fop.jar:/opt/fop/lib/avalon-framework-4.2.0.jar:/opt/fop/lib/commons-logging-1.0.4.jar:/opt/fop/lib/commons-io-1.1.jar
org.apache.fop.fonts.apps.TTFReader TibetanMachineUni.ttf TibetanMachineUni.xml
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.