cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Jones" <>
Subject cocoon 2.1 and font embedding
Date Thu, 04 Sep 2003 21:06:23 GMT

I'm using Cocoon 2.1, Tomcat 4.1.27 and sun's jdk1.4.2.  I've followed the
steps point for point here,
trying to embed the Gentium font in a pdf.  In the sitemap I have -

<map:serializer logger="sitemap.serializer.fo2pdf" name="fo2pdf"

And my config.xml is -

  <font metrics-file="GenAltR1.xml" kerning="yes" embed-file="GenAltR1.ttf">
   <font-triplet name="GenAltR1" style="normal" weight="normal"/>
  <font metrics-file="GenAltI1.xml" kerning="yes" embed-file="GenAltI1.ttf">
   <font-triplet name="GenAltI1" style="italic" weight="normal"/>

I know this question has been discussed before, and I've read the previous
archives, but there's been different pieces of advice on relative paths and
absolute paths.  I understand that with Cocoon 2.1, the <user-config>
directive can be relative to the sitemap.  I've deleted the cache-dir file
as instructed and all I get is '######' where there should be Unicode Greek.
I've grepped the logs for "FOPSerializer" and nothing is returned, so I'm
getting no help from the log files.  Any suggestions from people who have
successfully gotten this working?  Thanks in advance,


-Michael Jones

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message