Hi

http://dev.plutext.org/trac/docx4j/browser/trunk/docx4j/src/main/resources/fop-fonts.patch
adds support for *.ttc to the auto-detection mechanism.  Click one of
the links at the bottom of the page for the patch file itself.

Demand for this capability may increase as usage of Microsoft's
proprietary ClearType Collection fonts increases, since Cambria is the
default font for Word 2007 headings, and its delivered in a .ttc

The font cache is modified to accommodate TTC files.

You'll see there's a bit of extra stuff in the patch, which is not
strictly relevant - especially Panose.java.  That file comes from the
foray project, and may need to be deleted.  The TTC autodetection
doesn't need it.

Finally, I'm using the fonts package by itself - principally for its
autodetection capabilities.   So I don't use PrintRendererConfigurator
- that will need to be altered further to properly use the patch.

cheers

Jason

Reply via email to