cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kubanek, Petr" <Petr.Kuba...@Dresdner-Bank.com>
Subject AW: problem with fonts.
Date Thu, 14 Feb 2002 10:00:44 GMT
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:Anil_Kandula@hts.satyam.com]
> Gesendet am: Donnerstag, 14. Februar 2002 10:46
> An: cocoon-users@xml.apache.org
> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message