# 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?

example:
MS-UIGothic
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::Initialize();
PDFNet::SetResourcesPath("c:/myresources");
search for 'comic.ttf' in myresources folder.
Regular.otf");

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.
-----
A:
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
installed.

Unfortunately PDFNet only include basic font substitutes (i.e. 14
standard PDF fonts) which do not cover the full Unicode range. You