svn commit: r42446 - projects/db5/ja_JP.eucJP/share/xsl

Gabor Kovesdan gabor at FreeBSD.org
Fri Jul 26 13:52:07 UTC 2013


Author: gabor
Date: Fri Jul 26 13:52:07 2013
New Revision: 42446
URL: http://svnweb.freebsd.org/changeset/doc/42446

Log:
  - Change default name format to first-last since the referred names are mostly
    non-Japanese
  - Add more fonts as falback

Modified:
  projects/db5/ja_JP.eucJP/share/xsl/freebsd-fo.xsl

Modified: projects/db5/ja_JP.eucJP/share/xsl/freebsd-fo.xsl
==============================================================================
--- projects/db5/ja_JP.eucJP/share/xsl/freebsd-fo.xsl	Fri Jul 26 13:49:20 2013	(r42445)
+++ projects/db5/ja_JP.eucJP/share/xsl/freebsd-fo.xsl	Fri Jul 26 13:52:07 2013	(r42446)
@@ -17,10 +17,20 @@
 	JAPANESE-SPECIFIC PARAMETERS
   -->
 
+  <xsl:param name="local.l10n.xml" select="document('')"/>
+
+  <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
+    <l:l10n language="ja">
+      <l:context name="styles">
+	<l:template name="person-name" text="first-last"/>
+      </l:context>
+    </l:l10n>
+  </l:i18n>
+
   <!-- Base fonts -->
-  <xsl:param name="body.font.family">IPAPMincho</xsl:param>
-  <xsl:param name="sans.font.family">IPAPGothic</xsl:param>
-  <xsl:param name="title.font.family">IPAPGothic</xsl:param>
+  <xsl:param name="body.font.family">IPAPMincho, Gentium Plus</xsl:param>
+  <xsl:param name="sans.font.family">IPAPGothic, Droid Sans</xsl:param>
+  <xsl:param name="title.font.family">IPAPGothic, Droid Sans</xsl:param>
 
   <!-- Slightly reduce header font-size to make headers fit -->
   <xsl:attribute-set name="header.content.properties">


More information about the svn-doc-projects mailing list