From: Jeremias Maerki Date: Sat, 28 Feb 2009 08:49:58 +0000 (+0000) Subject: Examples for "sub-font" usage with TTCs. X-Git-Tag: fop-1_0~305 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7d5beca43a09ad988822dfb910f395e7d9f073f6;p=xmlgraphics-fop.git Examples for "sub-font" usage with TTCs. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@748794 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/documentation/content/xdocs/trunk/fonts.xml b/src/documentation/content/xdocs/trunk/fonts.xml index 429c86a51..261e6faf3 100644 --- a/src/documentation/content/xdocs/trunk/fonts.xml +++ b/src/documentation/content/xdocs/trunk/fonts.xml @@ -344,7 +344,7 @@
- TrueType Collections Font Metrics + TrueType Collections

TrueType collections (.ttc files) contain more than one font. To create metrics files for these fonts, you must specify which font in the collection should be generated, by using the "-ttcname" option with the TTFReader.

To get a list of the fonts in a collection, just start the TTFReader as if it were a normal TrueType file (without the -ttcname option). @@ -356,8 +356,11 @@

Alternatively, the individual sub-fonts of a TrueType Collections can be selected using the "sub-font" attribute on the "font" element. That means that generating - an XML font metrics file for TrueType collections is not necessary anymore. + an XML font metrics file for TrueType collections is not necessary anymore. Example:

+ + +]]>
Register Fonts with FOP