Browse Source

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
tags/fop-1_0
Jeremias Maerki 15 years ago
parent
commit
7d5beca43a
1 changed files with 5 additions and 2 deletions
  1. 5
    2
      src/documentation/content/xdocs/trunk/fonts.xml

+ 5
- 2
src/documentation/content/xdocs/trunk/fonts.xml View File

@@ -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>

Loading…
Cancel
Save