]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
some more font embedding info
authorKeiron Liddle <keiron@apache.org>
Mon, 18 Feb 2002 09:01:50 +0000 (09:01 +0000)
committerKeiron Liddle <keiron@apache.org>
Mon, 18 Feb 2002 09:01:50 +0000 (09:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194648 13f79535-47bb-0310-9956-ffa450edef68

docs/xml-docs/fop/fonts.xml

index 53f6c92d52b5ea2764df94fda32ef0a18e653005..2702e3bb8dea381bb80805b4df5d969ed26182b7 100644 (file)
@@ -11,7 +11,6 @@
                </p>
     <note><p>
         The Font is simply embedded into the PDF file, it is not converted.
-        If it is a Windows font then it will only be displayed properly on Windows.
     </p></note>
        </s2>
        <s2 title="Adding additional Type 1 fonts">
                 ie:
                </p>
         <p>
-               <code>
-&lt;font metrics-file="cyberbit.xml" kerning="yes" embed-file="C:\WINNT\Fonts\Cyberbit.ttf"&gt;
-  &lt;font-triplet name="Cyberbit" style="normal" weight="normal"&gt;
-&lt;/font&gt;
-</code>
+               <source><![CDATA[
+<font metrics-file="cyberbit.xml" kerning="yes" embed-file="C:\WINNT\Fonts\Cyberbit.ttf">
+  <font-triplet name="Cyberbit" style="normal" weight="normal">
+</font>]]>
+</source>
 </p>
+    <note><p>
+        If you do not want the font embedded in the PDF then remove the
+        "embed-file" attribute. The PDF will then contain text using
+        the font with the font metrics and to view it properly the
+        font will need to be installed where it is being viewed.
+    </p></note>
+    <note><p>
+        Cocoon users will need to setup the config, see FOPSerializer
+        for more information.
+    </p></note>
                </s3>
        </s2>
        <s2 title="Adding additional TrueType">