- Add Japanese customization
This commit is contained in:
parent
3b8d2e4e7f
commit
b4269d3dac
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/projects/db5/; revision=42283
1 changed files with 29 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue