DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.
Summary: FOP Custom Font Embedding problem
OS/Version: Windows XP
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
I have been trying to get Japanese fonts to display in a PDF generated with FOP
0.93 for almost 24 hours straight. I have followed the instructions to the
letter, and I had a working version previously in FOP 0.20.5 a couple years ago,
I can't find my old code now.
After trying every possible iteration I could possibly come up with, I have
determined it must be a problem in FOP 0.93.
I built the metrics file with the included TTFReader using the exact command on
the FOP Fonts website, for TTFReader -ttcname "MS Mincho" msmincho.ttc
msmincho.xml The file is created fine.
I tried to add the <font> tags in the fop.xconf file, and I tried to add it
,separately to a userconfig.xml file. Neither way worked.
I ran FOP from the command line using... java org.apache.fop.cli.Main -d -c
userconfig.xml temp.xml out.pdf the PDF is created, the English text is fine,
but the Japanese text, which is in <block> elements with font-family="MSMincho"
set... only show as pound signs, #.
I have tried, as I said, every iteration I could think of to tweak the situation
but FOP just complains, it can't find the font "MSMincho, normal, 400" and
replaces it with "any, normal, 400"
If this is user error, I apologize.
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.