You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Christofer Dutz <du...@c-ware.de> on 2003/11/27 17:21:49 UTC
Ading new fonts to cocoon runing on headles java VM
Hi,
I am working on a small Project using cocoon on a headless linux server.
I would like to add new fonts, so I can use them in the SVGs I am
generating.
How can I do this?
I am using a Jrockit VM on a RedHat 6.1 Server.
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Ading new fonts to cocoon runing on headles java VM
Posted by Christofer Dutz <du...@c-ware.de>.
Thanks for your tip. The ttf2svg tool worked fine ... the only thing I
noticed was a slower geretation of the images. I thik this is a result
of the much larger SVG-files. Is there a way to include fonts to be
"Java-accessible" ? Mabe this would make everything a lot faster.
Chris
Joerg Heinicke schrieb:
> On 27.11.2003 17:21, Christofer Dutz wrote:
>
>> Hi,
>>
>> I am working on a small Project using cocoon on a headless linux
>> server. I would like to add new fonts, so I can use them in the SVGs
>> I am generating.
>> How can I do this?
>
>
> It's some time ago, but we already did it. We converted fonts to font
> definition XML files that we included in SVGs before they were
> transformed to PNGs. I don't know which tool for converting we used,
> but I guess either http://xml.apache.org/batik/ttf2svg.html or
> http://xml.apache.org/fop/fonts.html.
>
> We didn't do it the Java way.
>
> Joerg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Ading new fonts to cocoon runing on headles java VM
Posted by Joerg Heinicke <jh...@virbus.de>.
On 27.11.2003 17:21, Christofer Dutz wrote:
> Hi,
>
> I am working on a small Project using cocoon on a headless linux server.
> I would like to add new fonts, so I can use them in the SVGs I am
> generating.
> How can I do this?
It's some time ago, but we already did it. We converted fonts to font
definition XML files that we included in SVGs before they were
transformed to PNGs. I don't know which tool for converting we used, but
I guess either http://xml.apache.org/batik/ttf2svg.html or
http://xml.apache.org/fop/fonts.html.
We didn't do it the Java way.
Joerg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org