Description of problem: Japanese text in the <emphasis> and <citetitle> tags doesn't render in PDF. If the title of a section or chapter contains Japanese text, the title does not appear when presented in xrefs. Version-Release number of selected component (if applicable): 2.1 How reproducible: 100% Steps to Reproduce: 1. Include a string that includes <emphasis> and <citetitle> in a Japanese text 2. run publican build -f pdf -l ja-JP Actual results: The text is invisible in some PDF viewers or appears as a row of empty boxes in others. Expected results: Japanese text is rendered. Additional info: Sample text for testing: You <emphasis>must</emphasis> refer to the <citetitle>Configuration Guide</citetitle>. <citetitle>設定ガイド</citetitle>を参照<emphasis>しなければなりません</emphasis>。
Created attachment 442088 [details] Sample FO file
Hi, This also happens in Traditional Chinese. I use RHEL5/publican 2.1-0.el5. Change Severity to High, since the meaning of the contents can be totally different, such as "This is <emphasis>not</emphasis> recommended." will be rendered as "This is recommended." Regards, Chester
Hi, I've tested a fix for this but the fix is very invasive :( Basically the problem is that FOP seems to think the localised fonts are not providing italic characters, and they might to be, so it is falling back to fonts that do provide italic characters. Unfortunately the fall back fonts don't provide Japanese characters, so the missing/garbled text gets displayed. The work around is to remove the non localised fonts from the font list, so FOP falls back to the normal type face, but this requires not only removing the Liberation fonts, but the Symbol and ZapfDingbats fonts as well. Please QA the following PDF [1] which was built from a recent check out of the RHEL6 IG [2] [1] http://file.bne.redhat.com/~jfearn/Red_Hat_Enterprise_Linux-6-Installation_Guide-ja-JP.pdf [2] https://svn.devel.redhat.com/repos/ecs/Red_Hat_Enterprise_Linux/6.0/FINAL/Installation_Guide
(In reply to comment #3) > characters, and they might to be, so it is falling back to fonts that do might NOT be ... d'oh!
This is due to the fonts not containing bold or italic glyphs, I reverted to the old behaviour of specifying font metric files for ja-JP, zh-CN, zh-TW and ko-KR fonts, this way we can force FOP to use the same font for all weights and styles. Fixed in Build: 2.1-0%{?dist}.t119
publican-2.2-0.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/publican-2.2-0.fc13
publican-2.2-0.fc12 has been submitted as an update for Fedora 12. https://admin.fedoraproject.org/updates/publican-2.2-0.fc12
publican-2.2-0.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/publican-2.2-0.fc14
publican-2.2-0.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
This problem has been reported with Bug 784132 again. RHEV Admin GD and RHEV REST API GD are also affected.
trying to reopen this bug as the problem is still present in Japanese (see Comment 10)
*** Bug 784132 has been marked as a duplicate of this bug. ***
*** Bug 810769 has been marked as a duplicate of this bug. ***
Ping, can you pls give some update? RHEV REST API Guide's pdf on docs.rh.com still does not render correctly. 1. download pdf from http://docs.redhat.com/docs/ja-JP/Red_Hat_Enterprise_Virtualization/3.0/html/REST_API_Guide/ 2. check the page 7 of 180 3. Japanese translations inside the tags <citetitle> do not render correctly. 4. build pdf locally with publican-2.8-2.el6eng.x86_64 5. it does render correctly
Just to update the current state upon Manuel's request: Rudi still had some issues with rebuilding. Publican itself has been fixed, but rebuild has not been completed due to some problems. In terms of Yuki's request for RHEL 6 documentation listed at https://access.redhat.com/knowledge/docs/Red_Hat_Enterprise_Linux/?locale=ja-JP, RHEL 6.2 Release Notes is the only one left unsolved. When Rudi tried to rebuild it using the existing codes from the last package, it failed, so he tried to re-brew, but it contained untranslated English string (because Czech writers updated the en-US files in the repository after published) Ticket for this mass build effort is: https://engineering.redhat.com/rt/Ticket/Display.html?id=145666
Is this still an issue?
*** Bug 745370 has been marked as a duplicate of this bug. ***