Hello Jeremias,

thanks for your answer. Unfortunatally it is still not working for me.

I guess I need to search for an other solution till fop is supporting 
TrueType fonts.

But thank you for your help.

Best regards

Heiko



Von:    Jeremias Maerki <d...@jeremias-maerki.ch>
An:     fop-users@xmlgraphics.apache.org
Datum:  01.12.2010 08:41
Betreff:        Re: EPSTranscoder & Fonts



I don't have a solution that works out of the box for you right now, 
but...

1. FOP 1.0 doesn't require the use of the "metrics-url" attribute
anymore. Just skip the TTFReader part.

2. PostScript output in FOP 1.0 doesn't support TrueType fonts. That is
currently being developed in a development branch. You'll need to use
Type 1 fonts instead, for now anway.

3. I'd remove the intermediary <fonts> element in the configuration for
the EPSTranscoder. If my recollection is right, the configurator looks
for the font elements in the root element.

HTH

On 26.11.2010 08:59:24 Heiko.Emmert wrote:
> Hello together,
> 
> hope this is the correct mail-address to ask my question.
> 
> I'm trying to convert some svg-files to eps using fop 1.0.
> 
> My Problem is, that I always get the messages about mising glyphes 
and/or 
> fonts.
> I know there are a lot of descriptions available in how to make such 
> configurations.
> But none of them helped me.
> 
> Currently my Config-File looks like this:
> <renderer mime="PSRenderer">
>         <fonts>
>                 <auto-detect/>
>                 <auto-rotate-landscape>0</auto-rotate-landscape>
>                 <font metrics-url="
> D:/develop/04_components/fop-1.0/Font_Metrics/Arial.xml" kerning="yes" 
> embed-url="D:/develop/04_components/fop-1.0/Font_Metrics/arial.ttf">
>                         <font-triplet name="ArialMT" style="normal" 
weight
> ="normal"/>
>                         <font-triplet name="ArialMT" style="normal" 
weight
> ="400"/>
>                         <font-triplet name="Arial" style="normal" 
weight="
> normal"/>
>                         <font-triplet name="Arial" style="normal" 
weight="
> 400"/>
>                 </font>
> ....
> 
> And in my code I try to attach the conifguration using this lines of 
code:
> 
> DefaultConfigurationBuilder cfgBuilder = new 
> DefaultConfigurationBuilder();
> Configuration cfg = cfgBuilder.buildFromFile(new File(
> "D:/develop/04_components/fop-1.0/conf/epsconf.xml"));
> ContainerUtil.configure(transcoder, cfg);
> 
> What I've figured out is, that if I use the PDFTranscoder the attribute 
> 'cfg' of transcoder is not empty, but is 'null'
> if I use the EPSTranscoder. But unfortunatally I need EPS!!!!
> 
> Does anybody has an idea?? 
> Why is the PDFTranscoder automatically using the correct Fonts and the 
> EPSTranscoder not??
> 
> Thank you for your help.
> 
> Heiko
> 




Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


Reply via email to