spintus-mail...@web.de wrote: > 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>
That sitemap does not seem to be correct. First define the serializer in a "map:serializers ... map:serializer" and that is where the configuration file is declared. Then later at various locations in your sitemaps, use that serializer via a "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? Perhaps that is an old style of configuration. I only know how to use the configuratian via Apache Forrest, which uses Cocoon-2.1 and hence currently FOP-1.0: http://forrest.apache.org/docs/plugins/org.apache.forrest.plugin.output.pdf/ should provide some hints that might work for you in Cocoon proper. Our docs point to FOP for more info: http://xmlgraphics.apache.org/fop/1.0/configuration.html -David --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org