You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2009/02/28 09:49:58 UTC
svn commit: r748794 -
/xmlgraphics/fop/trunk/src/documentation/content/xdocs/trunk/fonts.xml
Author: jeremias
Date: Sat Feb 28 08:49:58 2009
New Revision: 748794
URL: http://svn.apache.org/viewvc?rev=748794&view=rev
Log:
Examples for "sub-font" usage with TTCs.
Modified:
xmlgraphics/fop/trunk/src/documentation/content/xdocs/trunk/fonts.xml
Modified: xmlgraphics/fop/trunk/src/documentation/content/xdocs/trunk/fonts.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/documentation/content/xdocs/trunk/fonts.xml?rev=748794&r1=748793&r2=748794&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/documentation/content/xdocs/trunk/fonts.xml (original)
+++ xmlgraphics/fop/trunk/src/documentation/content/xdocs/trunk/fonts.xml Sat Feb 28 08:49:58 2009
@@ -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>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org