If you could provide any details on what you're trying to do perhaps we could help you find a workaround. What is this tool? "#" should indicate that your data contains references to glyphs which are not in the font. If you need to use TrueType fonts and PS doesn't support it, the obvious answer is don't use PS, but no one can tell you how to do that if we don't know why you're using PS in the first place.
________________________________ From: heiko.emm...@continental-corporation.com [mailto:heiko.emm...@continental-corporation.com] Sent: Friday, December 03, 2010 8:29 AM To: fop-users@xmlgraphics.apache.org Subject: Antwort: RE: Antwort: RE: Antwort: Re: EPSTranscoder & Fonts I have some svg-file which I need to convert to eps for further proceeding with a tool which does not support svg. Therefore I tried to make a converter using EPSTranscoder to output the eps-file. But whatever I've tried, I did not get all fonts, which are used in my svg-files, visible in the eps. Instead there are always "#" and/or other font-types. Von: "Eric Douglas" <edoug...@blockhouse.com> An: <fop-users@xmlgraphics.apache.org> Datum: 03.12.2010 14:16 Betreff: RE: Antwort: RE: Antwort: Re: EPSTranscoder & Fonts ________________________________ Again, what are you doing which requires PostScript? Are you running it from a command line? Are you using embedded code? I am using embedded code and I am using SVG and I am printing to a dot matrix printer and I am using TrueType fonts and I am not using PostScript. For sending output directly to the printer I just give Fop a ByteArrayOutputStream to receive the data then pass it into a PDFBox object and use the print methods that come with Java. ________________________________ From: heiko.emm...@continental-corporation.com [mailto:heiko.emm...@continental-corporation.com <mailto:heiko.emm...@continental-corporation.com> ] Sent: Friday, December 03, 2010 8:01 AM To: fop-users@xmlgraphics.apache.org Subject: Antwort: RE: Antwort: Re: EPSTranscoder & Fonts OK... sorry... wrong wording... "... till FOP's EPSTranscoder is supporting TrueType fonts" So what I need is simply a transformation from svg to eps. Von: "Eric Douglas" <edoug...@blockhouse.com> An: <fop-users@xmlgraphics.apache.org> Datum: 03.12.2010 13:51 Betreff: RE: Antwort: Re: EPSTranscoder & Fonts ________________________________ FOP supports TrueType fonts just fine, apparently just not in PostScript. What could you possibly require PostScript for? ________________________________ From: heiko.emm...@continental-corporation.com [mailto:heiko.emm...@continental-corporation.com <mailto:heiko.emm...@continental-corporation.com> ] Sent: Friday, December 03, 2010 5:31 AM To: fop-users@xmlgraphics.apache.org Subject: Antwort: Re: EPSTranscoder & Fonts 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