[debian-edu-commits] debian-edu/ 01/01: Use serif fonts for PDF manuals. This fixes the left over issues (overlapping numbering with text; wrong glyph for backslash) for the Japanese PDF manual and provides a consistent look for all PDFs.

Wolfgang Schweer schweer-guest at moszumanska.debian.org
Thu Jul 21 18:16:38 UTC 2016


This is an automated email from the git hooks/post-receive script.

schweer-guest pushed a commit to branch master
in repository debian-edu-doc.

commit ba7b5b385b4528776c829ea628f7b61588980831
Author: Wolfgang Schweer <wschweer at arcor.de>
Date:   Thu Jul 21 20:13:03 2016 +0200

    Use serif fonts for PDF manuals. This fixes the left over issues (overlapping numbering with text; wrong glyph for backslash) for the Japanese PDF manual and provides a consistent look for all PDFs.
---
 debian/changelog                 | 2 +-
 documentation/common/dblatex.xsl | 9 +++------
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8cee9a5..5ec6dfc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,7 +11,7 @@ debian-edu-doc (1.903~20160710) UNRELEASED; urgency=medium
     - use Xetex for PDF manual generation.
     - adjust dbtimestamp for (ja) xml file to render date in HTML manual
       correctly. Thanks to Victory.
-  * dblatex.xsl: use sans serif fonts for non-japanese text.
+  * dblatex.xsl: use serif fonts for PDF manuals.
   * edu.css.xml: use sans serif fonts for HTML manuals. Thanks to Victory.
   * Add common/sed-ja.txt provided by Victory to improve date rendering for
     the Japanese HTML manual.
diff --git a/documentation/common/dblatex.xsl b/documentation/common/dblatex.xsl
index cea4a4c..6963b85 100644
--- a/documentation/common/dblatex.xsl
+++ b/documentation/common/dblatex.xsl
@@ -10,14 +10,11 @@
 	<xsl:text>\setCJKmainfont{IPAPGothic}
</xsl:text>
 	<xsl:text>\setCJKsansfont{IPAPGothic}
</xsl:text>
 	<xsl:text>\setCJKmonofont{IPAexGothic}
</xsl:text>
-	<xsl:text>\setmainfont{IPAPGothic}
</xsl:text>
-	<xsl:text>\setsansfont{IPAPGothic}
</xsl:text>
-	<xsl:text>\setmonofont{IPAexGothic}
</xsl:text>
     </xsl:when>
     <xsl:otherwise>
-        <xsl:text>\setmainfont{Latin Modern Sans}
</xsl:text>
-        <xsl:text>\setsansfont{Latin Modern Sans}
</xsl:text>
-        <xsl:text>\setmonofont{Latin Modern Mono Light}	</xsl:text>
+        <xsl:text>\setmainfont{Latin Modern Roman}
</xsl:text>
+        <xsl:text>\setsansfont{Latin Modern Roman}
</xsl:text>
+        <xsl:text>\setmonofont{Latin Modern Mono Light}
</xsl:text>
     </xsl:otherwise>
    </xsl:choose>
   </xsl:param>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-doc.git



More information about the debian-edu-commits mailing list