From 7d5beca43a09ad988822dfb910f395e7d9f073f6 Mon Sep 17 00:00:00 2001
From: Jeremias Maerki <jeremias@apache.org>
Date: Sat, 28 Feb 2009 08:49:58 +0000
Subject: 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
---
 src/documentation/content/xdocs/trunk/fonts.xml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'src/documentation/content/xdocs')

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 @@
         </warning>
       </section>
       <section id="truetype-collections-metrics">
-        <title>TrueType Collections Font Metrics</title>
+        <title>TrueType Collections</title>
         <p>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.</p>
         <p>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 @@
         <p>
           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:
         </p>
+        <source><![CDATA[<font embed-url="gulim.ttc" sub-font="GulimChe">
+  <font-triplet name="GulimChe" style="normal" weight="normal"/>
+</font>]]></source>
       </section>
       <section id="register">
         <title>Register Fonts with FOP</title>
-- 
cgit v1.2.3