aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2006-01-03 16:40:21 +0000
committerJeremias Maerki <jeremias@apache.org>2006-01-03 16:40:21 +0000
commita285ce821368fef79e044fa99f64dc5b163d56b3 (patch)
treeab78dcce5d1fe2134faba10aec28833653db8b17
parent3cade68b1f487fb9e823cab7017646b2e20f1321 (diff)
downloadxmlgraphics-fop-a285ce821368fef79e044fa99f64dc5b163d56b3.tar.gz
xmlgraphics-fop-a285ce821368fef79e044fa99f64dc5b163d56b3.zip
Added an example for the Symbol font embedding tip.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@365677 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/documentation/content/xdocs/trunk/fonts.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/documentation/content/xdocs/trunk/fonts.xml b/src/documentation/content/xdocs/trunk/fonts.xml
index d17e2203e..13478a5c1 100644
--- a/src/documentation/content/xdocs/trunk/fonts.xml
+++ b/src/documentation/content/xdocs/trunk/fonts.xml
@@ -281,6 +281,16 @@ See <a href="#ttf-encoding">Table of TTF Encoding Options</a> for more details.<
and "ZapfDingbats" you have to manually change the XML font metrics file and specify "SymbolEncoding"
or "ZapfdingbatsEncoding" encoding respectively as the value for the "encoding" element.
</p>
+ <p>Example:</p>
+ <source><![CDATA[
+<?xml version="1.0" encoding="UTF-8"?>
+<font-metrics type="TYPE1">
+ <font-name>Symbol</font-name>
+ <embed/>
+ <encoding>SymbolEncoding</encoding>
+ <cap-height>673</cap-height>
+ <x-height>766</x-height>
+ [..]]]></source>
<note>
FOP does not currently comply with or support the PDF/A standard.
</note>