Base
 
     

The base fonts are guaranteed to be available on all systems.

Using the base fonts in your PDF results in a small document which is guaranteed to render in the same way on all systems. However the base fonts do not support complex languages such as Chinese and Japanese and they do not support some characters used in Eastern Europe.

The following are the names of the base fonts.

  • Times-Roman
  • Times-Bold
  • Times-Italic
  • Times-BoldItalic
  • Helvetica
  • Helvetica-Bold
  • Helvetica-Oblique
  • Helvetica-BoldOblique
  • Courier
  • Courier-Bold
  • Courier-Oblique
  • Courier-BoldOblique
  • Symbol
  • ZapfDingbat

Use the AddFont method to reference these fonts.

 

   
Embed
 
     

Embedded Unicode fonts are generally the most efficient and reliable way of adding complex language support to your PDF documents. However you need to ensure that you have permission to embed and redistribute your chosen font.

When embedding large fonts you should generally choose to subset them. Not only does it produce smaller PDF documents but It is also generally faster to embed a subset of a large font than to embed the entire font.

Use the Doc.EmbedFont method to embed fonts.

The table below shows the valid combinations of language and horizontal and vertical writing directions.

Language   Horizontal   Vertical   Notes
"Latin"   The default and most efficient encoding for Western languages.
"Unicode" The setting you will most often want to use when embedding foreign character sets
"Korean"      
"Japanese"      
"ChineseS"     Simple Chinese
"ChineseT"     Traditional Chinese

 

   
Reference
 
     

Referenced fonts produce a smaller PDF document. However for complex languages you will need a recent version of Adobe Acrobat and you will need to install the relevant language pack. Without these you will not be able to view your documents and your viewer may report errors.

Use the Doc.AddFont method to reference fonts.

The table below shows the valid combinations of language and horizontal and vertical writing directions.

Language   Horizontal   Vertical   Notes
"Latin"   The default and most efficient encoding for Western languages.
"Unicode"      
"Korean" Requires the relevant Adobe Acrobat Language Pack
"Japanese" Requires the relevant Adobe Acrobat Language Pack
"ChineseS" Simple Chinese requires the relevant Adobe Acrobat Language Pack
"ChineseT" Traditional Chinese requires the relevant Adobe Acrobat Language Pack

 

   

 

Browser Based Help. Published by chm2web software.