Hello,

Working with Cocoon 2.1.11 and fop-0.94.jar, I'm trying to use a Truetype font 
I need for some Unicode characters.

I've built the font metric files, and added a line in the main sitemap.xmap, 
but it's obvious Cocoon doesn't take this line into account.

I've tried both of the following syntax:
<map:serializer logger="sitemap.serializer.fo2pdf" mime-type="application/pdf" 
name="fo2pdf" src="org.apache.cocoon.serialization.FOPSerializer">
    <user-config>WEB-INF/lib/fop-fonts/font-config.xml</user-config>
</map:serializer>

and:

<map:serializer logger="sitemap.serializer.fo2pdf" mime-type="application/pdf" 
name="fo2pdf" src="org.apache.cocoon.serialization.FOPSerializer">
    <user-config src="WEB-INF/lib/fop-fonts/font-config.xml"/>
map:serializer>

with relative path to the sitemap-xmap file and absolute path (<user-
config>/srv/tomcat6/webapps/cocoon/WEB-INF/lib/fop-fonts/font-config.xml</user-
config> or <user-config src="/srv/tomcat6/webapps/cocoon/WEB-INF/lib/fop-
fonts/font-config.xml"/>), but none of the these solutions work.

I just get the same PDF output as if I didn't modify anything. As I have no 
error and no mention of the FOP process in the log files, I have no idea if the 
error is the sitemap.xmap, in the font-config.xml or in the metric files.

Could someone help me? I didn't find anything I understand enough in the 
documentation.

Philippe Faehndrich

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to