Menu

Commit [r5990]  Maximize  Restore  History

1.8/zh: resolve issue of messy character in Chinese pdf

To resolve this issue, I reference [1].

Font files, simsun.ttc and DroidSansFallbackFull.ttf are copied from
Windows XP (C:\WINDOWS\Fonts\simsun.ttc) and Ubuntu 14.04.6
(/usr/share/fonts/truetype/droid/DroidSansFallbackFull.ttf), respectively.
I believe these two fonts are free to use.

The pdf isn't perfect yet and need more tuning.

[1] https://blog.easwy.com/archives/render_docbook_xml_to_pdf_by_apache_fop/

wuzhouhui 2019-09-22

added /branches/1.8/zh/DroidSansFallback.xml
added /branches/1.8/zh/DroidSansFallbackFull.ttf
changed /branches/1.8/zh/Makefile
added /branches/1.8/zh/fop.xconf
added /branches/1.8/zh/simsun.ttc
added /branches/1.8/zh/simsun.xml
changed /branches/1.8/zh/stylesheets/custom-fo-stylesheet.xsl
/branches/1.8/zh/DroidSansFallback.xml Diff Switch to side-by-side view
Loading...
/branches/1.8/zh/Makefile Diff Switch to side-by-side view
Loading...
/branches/1.8/zh/fop.xconf Diff Switch to side-by-side view
Loading...
/branches/1.8/zh/simsun.ttc
Binary file was added.
/branches/1.8/zh/simsun.xml Diff Switch to side-by-side view
Loading...
/branches/1.8/zh/stylesheets/custom-fo-stylesheet.xsl Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.