Title: Message
HI EveryOne
 
I need to to use arail font in the document, which require  arial.xml in the UserConfig.xml.
 
I have tried to generate arail.xml  using PFMReader
 
 
C:\fop-0.20.5rc2>java -cp build\fop.jar;lib\Avalon-4.1.4\avalon-framework-4.1.4.jar;lib\xml-apis.jar;lib\xercesImpl.jar;lib\xalan.jar; org.apache.fop.fonts.apps.PFMReader C:\WINNT\Fonts\Arial.TTF arial.xml
 
I got the exception OutOfMemoryError
 
[INFO] PFM Reader v1.1
[INFO]
[INFO] Reading C:\WINNT\Fonts\Arial.TTF...
[INFO]
Exception in thread "main" java.lang.OutOfMemoryError
        <<no stack trace available>>
 
Can any body tell how to generte .xml file for Font
 
<fonts>
 
 <font metrics-file="arial.xml" kerning="yes" embed-file="arial.ttf">
    <font-triplet name="Arial" style="normal" weight="normal"/>
    <font-triplet name="ArialMT" style="normal" weight="normal"/>
 </font>
 <font metrics-file="arialb.xml" kerning="yes" embed-file="arialb.ttf">
    <font-triplet name="Arial" style="normal" weight="bold"/>
    <font-triplet name="ArialMT" style="normal" weight="bold"/>
 </font>
 <font metrics-file="ariali.xml" kerning="yes" embed-file="ariali.ttf">
    <font-triplet name="Arial" style="italic" weight="normal"/>
    <font-triplet name="ArialMT" style="italic" weight="normal"/>
 </font>
 <font metrics-file="arialbi.xml" kerning="yes" embed-file="arialbi.ttf">
    <font-triplet name="Arial" style="italic" weight="bold"/>
    <font-triplet name="ArialMT" style="italic" weight="bold"/>
 </font>
 
 
thanks
Raghava Reddy

Reply via email to