[svnbook] r5990 committed - branches/1.8/zh
wuzhouhui at users.sourceforge.net
wuzhouhui at users.sourceforge.net
Sun Sep 22 04:51:03 CDT 2019
Revision: 5990
http://sourceforge.net/p/svnbook/source/5990
Author: wuzhouhui
Date: 2019-09-22 09:51:03 +0000 (Sun, 22 Sep 2019)
Log Message:
-----------
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/
Modified Paths:
--------------
branches/1.8/zh/Makefile
branches/1.8/zh/stylesheets/custom-fo-stylesheet.xsl
Added Paths:
-----------
branches/1.8/zh/DroidSansFallback.xml
branches/1.8/zh/DroidSansFallbackFull.ttf
branches/1.8/zh/fop.xconf
branches/1.8/zh/simsun.ttc
branches/1.8/zh/simsun.xml
Added: branches/1.8/zh/DroidSansFallback.xml
===================================================================
--- branches/1.8/zh/DroidSansFallback.xml (rev 0)
+++ branches/1.8/zh/DroidSansFallback.xml 2019-09-22 09:51:03 UTC (rev 5990)
@@ -0,0 +1 @@
@@ Diff output truncated at 100000 characters. @@
More information about the svnbook-dev
mailing list