Date: Mon, 15 Jul 2013 08:29:04 +0000 (UTC) From: Gabor Kovesdan <gabor@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-projects@freebsd.org Subject: svn commit: r42283 - projects/db5/ja_JP.eucJP/share/xsl Message-ID: <201307150829.r6F8T4XK006605@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gabor Date: Mon Jul 15 08:29:04 2013 New Revision: 42283 URL: http://svnweb.freebsd.org/changeset/doc/42283 Log: - Add Japanese customization 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 Sun Jul 14 20:59:45 2013 (r42282) +++ projects/db5/ja_JP.eucJP/share/xsl/freebsd-fo.xsl Mon Jul 15 08:29:04 2013 (r42283) @@ -12,4 +12,33 @@ <!-- Language-specific general customizations --> <xsl:import href="freebsd-common.xsl"/> + + <!-- + JAPANESE-SPECIFIC PARAMETERS + --> + + <!-- 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> + + <!-- Slightly reduce header font-size to make headers fit --> + <xsl:attribute-set name="header.content.properties"> + <xsl:attribute name="font-size">8pt</xsl:attribute> + <xsl:attribute name="font-family"> + <xsl:value-of select="$body.fontset"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="margin-left"> + <xsl:value-of select="$title.margin.left"></xsl:value-of> + </xsl:attribute> + </xsl:attribute-set> + + <!-- Increase inline monospace fonts to better fit the Japanese font-size --> + <xsl:attribute-set name="monospace.properties"> + <xsl:attribute name="font-family"> + <xsl:value-of select="$monospace.font.family"></xsl:value-of> + </xsl:attribute> + <xsl:attribute name="font-size">10pt</xsl:attribute> + </xsl:attribute-set> + </xsl:stylesheet>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307150829.r6F8T4XK006605>