Hello :) 

I have been trying for hours to integrate Arial in FOP. However, no success.


 

My Sitemap: 

<map:serialize logger="sitemap.serializer.fo2pdf"
mime-type="application/pdf" type="fo2pdf"
src="org.apache.cocoon.serialization.FOPSerializer"> 

<user-config>file:///C:/fop-fonts/font-config.xml </user-config> 

</map: serialize> 

 

And my font-config: 

<configuration> 

   <fonts> 

     <font metrics-file ="file:///C:/fop-fonts/arial.xml" 

           kerning = "yes" embed-file = "file:///C :/fop-fonts/arial.ttf"> 

       <font-triplet name="Arial" style="normal" weight="normal"/> 

       <font-triplet name="ArialMT" style="normal" weight="normal"/> 

     </ font> 

    </ fonts> 

</ configuration> 

 

If there is a syntax error?

Reply via email to