PDF fonts not embedded for Asian/Arabic documents

When there is a document with mixture of English and Chinese / Japanese / Arabic / etc.. fonts, Lotus Notes exports all those fonts as plain "Arial" font.

SWING PDF Converter gets the Lotus Notes document export in raw DXL and processes paragraphs one by one. In this process PDF Converter looks for paragraph text and its font.

Paragraph text comes LMBCS (Lotus Multi Byte Character Set) encoded. LMBCS provides region code which tels PDF Converter what type of string it's working with.

If there is a mixed text in the document, PDF Converter gets (from Lotus Notes) that only "Arial" font is used in entire document. Default "Arial" font does not contain all glyphs required to show international symbols in pdf document. To overcome this issue Swing PDF Converter uses Adobe recommended fonts which are chosen by LMBCS region.

This fonts are currently not being embedded as they are 15MB+ in size.

Embedding this fonts in the pdf document would output pdf documents of 15MB+ in size which is not optimal.

Last updated