CidFontMode

Top  Previous  Next

 

This property enables the support for text written used by Character Identifiers. Here in the PDF text numbers are written which are mapped to certain glyphs in an embedded font. A special additional mapping table makes sure that the text can be extracted as unicode text. When the CID feature is used this means the fonts are embedded as subsets in a highly efficient way. PDF files become smaller this way. Since it works with character ids and not with charsets the export for say, Russian text, also works without having specified the charset explicitly.

wPDF uses as character IDs the UNICODE values of each character - it can have used any number but we wanted to preserve the most information of the source text in the PDF as possible.

 

Please note that the support for asian languages does NOT use the CID feature. Asian languages use special, perdefined fonts and mapping tables and require the charset to be known to be properly exported.

 

CidFontMode Values:

 

wpCIDOff - CID feature is not used. The property FontMode rules font embedding

wpCIDUnicode - all fonts are embedded. Unicode values will be used as character ids

wpCIDSymbolOnly - only symbol fonts will be embedded

 

The Cid-Font support requires Windows NT, 2000, XP, Vista or later

 

 

wpCIDUnicode can also be selected by setting the FontMode to: wpEmbedCIDFonts