Re: AW: AW: Setting configuration of fonts in java code?

2006-09-01 Thread Andreas L Delmelle
On Sep 1, 2006, at 11:27, Peter Neu wrote: Hm, is this possible? When fop reads the userconfig.xml, where is the base directory? The application runs in tomcat so I don't know where to put the base dir. I think so. Unfortunately, I'm not all to familiar with getting this info in a servle

AW: AW: Setting configuration of fonts in java code?

2006-09-01 Thread Peter Neu
g.xml |--- verdana.ttf |--- ttfcm.xml > -Ursprüngliche Nachricht- > Von: Andreas L Delmelle [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 1. September 2006 10:57 > An: fop-users@xmlgraphics.apache.org > Betreff: Re: AW: Setting configuration of fonts in java code? >

Re: AW: Setting configuration of fonts in java code?

2006-09-01 Thread Andreas L Delmelle
On Sep 1, 2006, at 10:49, Peter Neu wrote: Hi, I'm working my way through the src code of FOP in order to find a way to configure the font setup in the java code. But this seems rather difficult. The org.apache.fop.configuration.FontInfo object gives me the possibility to insert the font nam

AW: Setting configuration of fonts in java code?

2006-09-01 Thread Peter Neu
Hello, I'm working my way through the src code of FOP in order to find a way to configure the font setup in the java code. But this seems rather difficult. The org.apache.fop.configuration.FontInfo object gives me the possibility to insert the font names and stuff but I cannot insert the metric fi

AW: Setting configuration of fonts in java code?

2006-08-31 Thread Peter Neu
; An: fop-users@xmlgraphics.apache.org > Betreff: AW: Setting configuration of fonts in java code? > > >Is there a way to avoid this by doing it the execution code with an os > >test? > > Peter, look at the FontInfo class in the package > org.apache.fop.configuration: there you get the

AW: Setting configuration of fonts in java code?

2006-08-30 Thread Jens-Christian . Pohl
>Is there a way to avoid this by doing it the execution code with an os >test? Peter, look at the FontInfo class in the package org.apache.fop.configuration: there you get the fontMetrics file by using a java.net.URL object. So you could use different choices, if you check the OS with the System