ANN: wxPdfDocument 0.8.0 released

Ulrich Telle ulrich.telle at gmx.de
Fri Dec 15 15:57:14 PST 2006


Version 0.8.0 of the wxCode component wxPdfDocument is available for 
download from http://sourceforge.net/projects/wxcode. The new version 
0.8.0 is compatible with wxWidgets version 2.6.x and 2.8.0.

Added features:

- support for external templates: pages of existing PDF documents may be 
imported and used as templates
- font subsetting for TrueType and TrueType Unicode fonts, often 
resulting in much smaller PDF file sizes
- support for using and embedding OpenType Unicode fonts
- enhanced support for password based encryption, encryption key length 
freely definable between 40 and 128 bits (Attention: Adobe Reader 
supports only keys with 40 or 128 bits.)
- support for AES encryption (additional standard encryption method in 
PDF version 1.6 and above)

As an add-on preprocessed font files for the free DejaVu fonts (version 
2.12) are provided in the file release wxPdfDocument Add-Ons.

Attention: For supporting font subsetting for ordinary non-Unicode 
TrueType fonts the format of the font definition files has been 
extended. Font definition files created with prior versions of the 
MakeFont Utility are still usable, but do not support font subsetting. 
It is recommended to regenerate own font definition files. Unfortunately 
common AFM font metric files do not contain glyph information which is 
required by the MakeFont Utility to create the character-to-glyph 
mapping. Therefore the utility ttf2ufm had to be changed. The modified 
version including a Windows executable is available in the file release 
wxPdfDocument Add-Ons.

What is wxPdfDocument?

wxPdfDocument allows wxWidgets applications to generate PDF documents. 
The code is a port of FPDF - a free PHP class for generating PDF files - 
to C++ using the wxWidgets library. Several add-on PHP scripts found on 
the FPDF web site are incorporated into wxPdfDocument. Embedding of PNG, 
JPEG, GIF and WMF images is supported. In addition to the 14 standard 
Adobe fonts it is possible to use other Type1 or TrueType fonts - with 
or without embedding them into the generated document. In Unicode build 
CJK fonts are supported, too. Graphics primitives allow the creation of 
simple drawings.





More information about the wx-users mailing list