Support for PDF files with CJKV (Asian) fonts on Linux.

Q: Does PDFNet SDK for LINUX support CJKV (Asian) fonts with vertical
encodings when rasterizing PDF pages to bitmaps?

encoding: 90msp-RKSJ-V
ActualFont: @MSUIGothic
ActualFontType: TrueType
A: PDFNet SDK supports vertical encodings and Asian fonts on Linux. If
the font is embedded everything will work fine. If the font is not
embedded, you will need to need to initialize a font substitution map
(e.f. as shown in PDFDraw sample project). For example

PDFNet::AddFontSubst("StoneSans-Semibold", "C:/WINDOWS/Fonts/
comic.ttf"); PDFNet::AddFontSubst("StoneSans", "comic.ttf"); //
search for 'comic.ttf' in myresources folder.
PDFNet::AddFontSubst(PDFNet::e_Identity, "C:/WINDOWS/Fonts/
arialuni.ttf"); PDFNet::AddFontSubst(PDFNet::e_Japan1, "C:/Program
Files/Adobe/Acrobat 7.0/Resource/CIDFont/KozMinProVI-Regular.otf");
PDFNet::AddFontSubst(PDFNet::e_Japan2, "c:/myfonts/KozMinProVI-
PDFNet::AddFontSubst(PDFNet::e_Korea1, "AdobeMyungjoStd-Medium.otf");
PDFNet::AddFontSubst(PDFNet::e_CNS1, "AdobeSongStd-Light.otf");
PDFNet::AddFontSubst(PDFNet::e_GB1, "AdobeMingStd-Light.otf");

Q: This is very helpful.

Just one question:
If there is a non-embedded vertical font and there is no substitution
mapping for it, should PDFTron use some kind of default setting?

The reason I ask is that there are many non-embedded CID Type 0 fonts
in our test document. These seem to cause no issue (I assume that
PDFTron handles these by using a default setting
if there is no font substitution setup). However, I assume that it
cannot use a default for the two vertical fonts.
On Windows systems PDFNet is searching all installed systems fonts. If
a matching font is used it is used as a substitute. Please keep in
mind that even on Windows this process is error prone because it is
not guaranteed that all clients systems will have a required font

Unfortunately PDFNet only include basic font substitutes (i.e. 14
standard PDF fonts) which do not cover the full Unicode range. You
could include additional substitute fonts as part of your application.
Alternatively it there is need, your users could download free Adobe
CJKV fonts (
or some other font with good Unicode coverage (such as Arial Unicode
MS which is standard part of MS Office - see

In case of Adobe CJKV fonts for Windows, after downloading and
installing the font pack you can copy all '.otf' fonts from 'C:
\Program Files\Adobe\Acrobat 7.0\Resource\CIDFont' to 'C:\WINDOWS
\Fonts'. Alternatively you can copy all fonts (from Acrobat folder) to
PDFNet resource folder.