Seven of the fonts included with Adobe's Asian Font Pack can be used in a PDF document and do not need to be embedded into a PDF document when it is created. All that is required is that the Asian Font Pack be installed on the system. The 7 CJK PDF fonts are accessed through static properties on the Font class:
- Japanese
- Font.getHeiseiKakuGothicW5()
- Font.getHeiseiMinchoW3()
- Korean
- Font.getHanyangSystemsGothicMedium()
- Font.getHanyangSystemsShinMyeongJoMedium()
- Simplified Chinese
- Font.getSinoTypeSongLight()
- Traditional Chinese
- Font.getMonotypeHeiMedium()
- Font.getMonotypeSungLight()
A CJK font can be used as follows:
[Java]
// Use a core font in a text area Page Element.
page1.getElements().add(new TextArea("CJK Text", 0, 0, 200, 12, Font.getHeiseiKakuGothicW5(), 16));