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 DPDF_Font class:
- Japanese
- DPDF_Font_HeiseiKakuGothicW5
- DPDF_Font_HeiseiMinchoW3
- Korean
- DPDF_Font_HanyangSystemsGothicMedium
- DPDF_Font_HanyangSystemsShinMyeongJoMedium
- Simplified Chinese
- DPDF_Font_SinoTypeSongLight
- Traditional Chinese
- DPDF_Font_MonotypeHeiMedium
- DPDF_Font_MonotypeSungLight
A CJK font can be used as follows:
[ASP - VBScript]
<!-- METADATA TYPE="typelib" UUID="{DF9225FE-94A4-490D-8CAD-E8366CE621D3}" -->
<%
' Use a CJK font in a text area Page Element.
Dim MyDocument
Dim MyPage
Set MyDocument = Server.CreateObject( "DynamicPDF.Document" )
Set MyPage = MyDocument.AddPage()
MyPage.AddTextArea "CJK Text", 0, 0, 200, 12, , DPDF_Font_HeiseiKakuGothicW5, 16
MyDocument.DrawToWeb
Set MyPage = Nothing
Set MyDocument = Nothing
%>
| See Also |

