]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Added an example for the Symbol font embedding tip.
authorJeremias Maerki <jeremias@apache.org>
Tue, 3 Jan 2006 16:40:21 +0000 (16:40 +0000)
committerJeremias Maerki <jeremias@apache.org>
Tue, 3 Jan 2006 16:40:21 +0000 (16:40 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@365677 13f79535-47bb-0310-9956-ffa450edef68

src/documentation/content/xdocs/trunk/fonts.xml

index d17e2203e15eb36f4459d86ef686042b693aed10..13478a5c1e6b3330dfc2f38cc2bd7ac829e6b057 100644 (file)
@@ -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>