Description of problem: publican contains font metric files for some Japanese fonts (kochi-{gothic,mincho}-subst). However, we (Japanese) don't use those fonts any more. Kochi-subst fonts are now replaced with Sazanami fonts. As far as I confirmed, both RHEL5+ and Fedora ships sazanami fonts instead of kochi-subst fonts. So, required font metric files are for Sazanami, not Kochi-subst. Could you please regenerate and include font metric files for sazanami-{gothic,mincho}.ttf, with Fop's TTFReader? If you cannot please let me know and I will post these metrics files here. Version-Release number of selected component (if applicable): publican-0.33-0.fc9.noarch How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: /usr/share/publican/fop/font-metrics*/kochi-{gothic,mincho}-subst.xml Expected results: /usr/share/publican/fop/font-metrics*/sazanami-{gothic,mincho}-subst.xml Additional info: It might be better to post as another bug reports for the following issues but note here just for the record. * This version of publican does not look supporting current fop (0.95-0.2) in rawhide. I guess that it perhaps might be neat if there is a version-independent fop.xconf for fallback. fop-0.20.x is old and has many issues. you may drop the support for it, I guess. * Japanese truetype fonts should be embedded to keep portability.
I maybe understand the reason for current fop configuration. RHEL5 have a package named fonts-japanese _looks_ having "kochi-subst*.ttf". But, you can see these are symlinks to sazanami-*.ttf actually just by looking at its RPM SPEC. (The snippet below is from fonts-japanese.spec in fonts-japanese-0.20061016-4.el5.src.rpm) -----------------------------------:X----------------------------------- %post { ... # make symlinks for java referring to old path and fonts ln -sf ../../japanese/TrueType/sazanami-gothic.ttf %{_datadir}/fonts/ja/TrueType/kochi-gothic-subst.ttf || : ln -sf ../../japanese/TrueType/sazanami-mincho.ttf %{_datadir}/fonts/ja/TrueType/kochi-mincho-subst.ttf || : ... } -----------------------------------:X----------------------------------- It looks just a quick hack to keep backward compatibility as a temporal solution. Add to this, current JDK (OpenJDK-1.6.0) is correctly configured to refer to sazanami fonts instead of kochi-subst fonts. So symlinks are not needed any more. It's summarized as follows. - rhel5 needs configuration for sazanami fonts even if there are symlinks. - fedora needs configuration for sazanami; symlinks to kochi-subst are gone. P.S. Unfortunately the paths for these fonts are different between rhel5 and fedora. So the fop configuration file might needed to be generated in accordance with target during build process.
Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Switched to sazanami fonts.