aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2002-02-18 09:01:50 +0000
committerKeiron Liddle <keiron@apache.org>2002-02-18 09:01:50 +0000
commitafdf6b93096f0610bdd6742b8c17e789f152d88e (patch)
tree0ad3dbef4da9b1168e4d1b982e0ba3d980d4625c /docs
parent59afca16dc4b44838f33265301fa5a5fcb0b7d5d (diff)
downloadxmlgraphics-fop-afdf6b93096f0610bdd6742b8c17e789f152d88e.tar.gz
xmlgraphics-fop-afdf6b93096f0610bdd6742b8c17e789f152d88e.zip
some more font embedding info
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194648 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs')
-rw-r--r--docs/xml-docs/fop/fonts.xml21
1 files changed, 15 insertions, 6 deletions
diff --git a/docs/xml-docs/fop/fonts.xml b/docs/xml-docs/fop/fonts.xml
index 53f6c92d5..2702e3bb8 100644
--- a/docs/xml-docs/fop/fonts.xml
+++ b/docs/xml-docs/fop/fonts.xml
@@ -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">
@@ -45,12 +44,22 @@
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">