aboutsummaryrefslogtreecommitdiffstats
path: root/src/documentation
diff options
context:
space:
mode:
authorWilliam Victor Mote <vmote@apache.org>2003-04-15 17:30:58 +0000
committerWilliam Victor Mote <vmote@apache.org>2003-04-15 17:30:58 +0000
commit1f9826c9c9735bc43ba03be9f48665e01ac4e460 (patch)
tree83dde857d531a85ef49d6d718286241ef177db00 /src/documentation
parent41979b16e8556868ad09af812ba509413db461b8 (diff)
downloadxmlgraphics-fop-1f9826c9c9735bc43ba03be9f48665e01ac4e460.tar.gz
xmlgraphics-fop-1f9826c9c9735bc43ba03be9f48665e01ac4e460.zip
Add section ids.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196270 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation')
-rw-r--r--src/documentation/content/xdocs/fonts.xml20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/documentation/content/xdocs/fonts.xml b/src/documentation/content/xdocs/fonts.xml
index 938a88582..c8b364189 100644
--- a/src/documentation/content/xdocs/fonts.xml
+++ b/src/documentation/content/xdocs/fonts.xml
@@ -11,7 +11,7 @@
</authors>
</header>
<body>
- <section>
+ <section id="intro">
<title>Important</title>
<p>The information on this page applies primarily to the PDF renderer. The PostScript renderer
also supports custom fonts but doesn't support font embedding, yet. This page does
@@ -20,7 +20,7 @@
driver of your operating system that decides if a font is embedded when using the AWT
renderer.</p>
</section>
- <section>
+ <section id="status">
<title>Status</title>
<p>FOP (building PDF files) normally supports only the base 14 font package defined in the Adobe PDF specification.
That includes the following fonts: Helvetica, Times, Courier, Symbol and ZapfDingbats.
@@ -36,12 +36,12 @@
The font is simply embedded into the PDF file, it is not converted.
</note>
</section>
- <section>
+ <section id="type1">
<title>Adding Type 1 fonts</title>
<p>As mentioned above you need an XML file containing font metrics to be able to use an additional font. FOP
contains a tool that can generate such a font metrics file from a PFM file, which normally comes with the font file.
</p>
- <section>
+ <section id="type1-metrics">
<title>Generating a font metrics file</title>
<p> Run the class org.apache.fop.fonts.apps.PFMReader to generate the XML file.
</p>
@@ -70,7 +70,7 @@ java -cp build/fop.jar:lib/avalon-framework.jar:lib/xml-apis.jar:
appear to have no visible influence.
</note>
</section>
- <section>
+ <section id="type1-register">
<title>Register the fonts within FOP</title>
<p>
Edit conf/userconfig.xml and add entries for the font
@@ -101,13 +101,13 @@ java -cp build/fop.jar:lib/avalon-framework.jar:lib/xml-apis.jar:
</note>
</section>
</section>
- <section>
+ <section id="truetype">
<title>Adding TrueType Fonts</title>
<p>Adding TrueType fonts is almost identical to the process of
adding Type 1 fonts. The main difference is in the first
step.</p>
- <section>
+ <section id="truetype-metrics">
<title>Generating a font metrics file</title>
<p>As mentioned above you need an XML file containing font
metrics to be able to use an additional font. FOP contains
@@ -125,7 +125,7 @@ java -cp build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar;
C:\myfonts\cmr10.ttf C:\myfonts\cmr10.ttf ttfcm.xml
</source>
</section>
- <section>
+ <section id="truetype-collections">
<title>TrueType collections</title>
<p>
TrueType collections (.ttc files) contains more than one
@@ -150,7 +150,7 @@ java -cp build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar;
</source>
</section>
- <section>
+ <section id="truetype-register">
<title>Register the fonts within FOP</title>
<p>
Similiar to Type 1 fonts.
@@ -162,7 +162,7 @@ java -cp build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar;
</section>
</section>
- <section>
+ <section id="embedding">
<title>Embedding fonts</title>
<p>
Font embedding is enabled in the userconfig.xml file and controlled by the embed-file attribute.