Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

virtual void wxPdfDocument::SetFontSubsetting ( bool  fontSubsetting = true ) [inline, virtual]

Sets the font embedding mode.

If other fonts than the 14 Adobe core fonts are used in a document, they are usually embedded into the PDF file, often resulting in rather large PDF files. This is especially true for Unicode fonts with thousands of glyphs. To reduce the size of the resulting PDF file fonts may be subsetted, that is, only those glyphs actually used in the document are embedded.

Currently wxPdfDocument supports font subsetting for TrueType Unicode fonts only.

Parameters:
fontSubsettingBoolean indicating whether font subsetting should be used or not.

Definition at line 917 of file pdfdoc.h.

{ m_fontSubsetting = fontSubsetting; }

Generated by  Doxygen 1.6.0   Back to index