Changing the Font Set to Support Asian and Eastern European Languages
For Asian or Eastern European language characters, the formatter needs to be switched to use character sets that support special glyphs.for Chinese, Korean, Japanese, Czech, Hungarian, and so on.
Four separate font families support such characters Arial, SimSun, MSMincho, and Batang.
|
Ensure that exactly one of the font families is activated.
|
To switch, uncomment the appropriate section in WEB-INF/classes/xhtml2fo.xsl (around line 65) and restart Codebeamer:
<!-- Remove this if you want to use Eastern European, Chinese, Japanese or Korean character support -->
<xsl:attribute name="font-family">Helvetica</xsl:attribute>
<!-- Uncomment this for Eastern European support (arial*.ttf) -->
<!--
<xsl:attribute name="font-family">Arial</xsl:attribute>
-->
<!-- Uncomment this for simplified Chinese serif character support (simsun.ttc) -->
<!--
<xsl:attribute name="font-family">SimSun</xsl:attribute>
-->
<!-- Uncomment this for Japanese serif character support (msmincho.ttc) -->
<!--
<xsl:attribute name="font-family">MSMincho</xsl:attribute>
-->
<!-- Uncomment this for Korean serif character support (batang.ttc) -->
<!--
<xsl:attribute name="font-family">Batang</xsl:attribute>
-->
-->