This example uses Microsoft YaHei for headings and body text and SimHei for Code Examples (these fonts should be available with a Windows 7 install). You may also download the complete xep.xml file.
<font-group xml:base="file:/C:/Windows/Fonts/" label="Windows TrueType" embed="true" subset="true"> <font-family name="YaHei"> <font><font-data ttf="msyh.ttf"/></font> <font style="oblique"><font-data ttf="msyh.ttf"/></font> <font weight="bold"><font-data ttf="msyhbd.ttf"/></font> <font weight="bold" style="oblique"><font-data ttf="msyhbd.ttf"/></font> </font-family> <font-family name="SimHei"> <font><font-data ttf="simhei.ttf"/></font> <font style="oblique"><font-data ttf="simhei.ttf"/></font> <font weight="bold"><font-data ttf="simhei.ttf"/></font> <font weight="bold" style="oblique"><font-data ttf="simhei.ttf"/></font> </font-family> </font-group>
<font-alias name="monospace" value="SimHei"/> <font-alias name="sans-serif" value="YaHei"/> <font-alias name="serif" value="YaHei"/> <font-alias name="cursive" value="YaHei"/> <font-alias name="fantasy" value="YaHei"/>

Add Comment