]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Made XML well formed in font config code samples.
authorJoerg Pietschmann <pietsch@apache.org>
Sat, 14 Jun 2003 17:43:09 +0000 (17:43 +0000)
committerJoerg Pietschmann <pietsch@apache.org>
Sat, 14 Jun 2003 17:43:09 +0000 (17:43 +0000)
Submitted by: Johannes Fiala

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196500 13f79535-47bb-0310-9956-ffa450edef68

src/documentation/content/xdocs/fonts.xml

index 5ef9ff8d38e8688dd83df0faa6d9411746b280df..f3b291667540db156f8b19bafd71ed23b5ec00ae 100644 (file)
@@ -79,7 +79,7 @@ java -cp build/fop.jar:lib/avalon-framework.jar:lib/xml-apis.jar:
       </p>
 <source><![CDATA[<font metrics-file="FTL_____.xml" kerning="yes"
       embed-file="C:\myfonts\FTL_____.pfb">
-  <font-triplet name="FrutigerLight" style="normal" weight="normal">
+  <font-triplet name="FrutigerLight" style="normal" weight="normal"/>
 </font>]]></source>
       <note>
         Starting from FOP version 0.20.5 you can use URLs for the paths to the font files. Relative URLs are resolved 
@@ -157,7 +157,7 @@ java -cp build\fop.jar;lib\avalon-framework.jar;lib\xml-apis.jar;
         </p>
 <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-triplet name="Cyberbit" style="normal" weight="normal"/>
 </font>]]></source>
       </section>