Well, try to reference fonts file with full url, e.g. with
http://localhost/..

I got the same problems with SVG graphics files. Fop under Cocoon have
problem with work dir..there are some post about it.

> -----Ursprüngliche Nachricht-----
> Von: Anil_Kandula [mailto:[EMAIL PROTECTED]]
> Gesendet am: Donnerstag, 14. Februar 2002 10:46
> An: [EMAIL PROTECTED]
> Betreff: problem with fonts.
> 
> Hi,
>  i'm embedding fonts just fine running FOP via the command 
> line, but i'm
> trying to set the same thing with cocoon 2. so far i've added to the
> sitemap: <map:serializer name="fo2pdf"
> src="org.apache.cocoon.serialization.FOPSerializer"
> mime-type="application/pdf"> <user-config 
> src="d:/fop/conf/userconfig.xml"/>
> </map:serializer> to my userconfig.xml
>  i've got: <configuration>
>  <fonts>
>  <font metrics-file="ocrb.ttf.xml" kerning="yes" 
> embed-file="ocrb.ttf">
> <font-triplet name="ocrb" style="normal" weight="normal"/> 
> </font> 
> </fonts>
>  </configuration> 
>  i think the problem is just my file referencing because it 
> all works just
> with FOP, cocoon2 is building the pdf properly but ignoring 
> my font. i've
> tried a million different configurations, read the archives, 
> and i'm still
> stuck, so thanks for any help. 
> Anil.K 
> 
> **************************************************************
> ************ 
> This email (including any attachments) is intended for the 
> sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others 
> or copying or
> distribution or forwarding of any or all of the contents in 
> this message is
> STRICTLY PROHIBITED. If you are not the intended recipient, 
> please contact
> the sender by email and delete all copies; your cooperation 
> in this regard
> is appreciated.
> **************************************************************
> ************
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to