Yes, Arial (used in Word template) is configured to be mapped to
NimbusSanL-Regu. I have both PFM and PFB in a Type 1 fonts folder. There is
no AFM though.

Here is the section from fop.xconf:
    <renderer mime="application/postscript">
      <fonts>
        <font metrics-url="psfonts/n019003l.xml" kerning="yes"> 
                            <font-triplet name="Helvetica" style="normal"
weight="normal"/>
                            <font-triplet name="Arial" style="normal"
weight="normal"/>
        </font>
        <font metrics-url="psfonts/n019004l.xml" kerning="yes"> 
                            <font-triplet name="Helvetica" style="normal"
weight="bold"/>
                            <font-triplet name="Arial" style="normal"
weight="bold"/>
        </font>
        <font metrics-url="psfonts/n019023l.xml" kerning="yes"> 
                            <font-triplet name="Helvetica" style="oblique"
weight="normal"/>
                            <font-triplet name="Arial" style="oblique"
weight="normal"/>
        </font>
        <font metrics-url="psfonts/n019024l.xml" kerning="yes"> 
                            <font-triplet name="Helvetica" style="oblique"
weight="bold"/>
                            <font-triplet name="Arial" style="oblique"
weight="bold"/>
        </font>
      </fonts>
    </renderer>

> -----Ursprüngliche Nachricht-----
> Von: Jeremias Maerki [mailto:[email protected]] 
> Gesendet: Montag, 9. Februar 2009 15:13
> An: [email protected]
> Betreff: Re: AW: [Postscript] German umlauts are not shown 
> for Postscript output of Trunk
> 
> I've never seen Arial as a Type 1 font, yet, so I assume 
> you're trying to use a TrueType font with PostScript output. 
> That is currently not supported (not even 0.95). Your earlier 
> PostScript files used "Times-Roman" (Base 14) and 
> "NimbusSanL-Regu". Maybe you did something strange in your 
> font configuration. Have you, by chance, configured "Arial" 
> to be mapped to "NimbusSanL-Regu"? That would explain it. If 
> yes, is the AFM file in the same directory where you placed 
> the PFB file for the font? Or just the PFM?
> 
> On 09.02.2009 14:36:11 Ingo Maas wrote:
> > Hi Jeremias,
> > 
> > I enabled the suggested PS renderer option and checked both 
> FOP trunk 
> > versions with and without your latest changes. The umlaut 
> problem is 
> > fixed only halfway. My document uses two fonts, 'Times New Roman' 
> > (resolved as 'any' font) and 'Arial' (refered to using metrics 
> > declarations in fop.xconf). For 'Times New Roman' turning on the 
> > optimization option has fixed the problem in both versions. For 
> > 'Arial' the problem still remains in Trunk.
> > I'll recover back to FOP 0.95 for now.
> > 
> > Regards, Ingo
> > 
> > > -----Ursprüngliche Nachricht-----
> > > Von: Jeremias Maerki [mailto:[email protected]]
> > > Gesendet: Montag, 9. Februar 2009 10:25
> > > An: [email protected]
> > > Betreff: Re: [Postscript] German umlauts are not shown for 
> > > Postscript output of Trunk
> > > 
> > > Fixed in FOP Trunk: 
> http://svn.apache.org/viewvc?rev=742346&view=rev
> > > Should now also work without resource optimization, 
> though turning 
> > > on resource optimization is recommended if you want smaller 
> > > PostScript files containing only what you really need.
> > > 
> > > On 09.02.2009 09:44:02 Jeremias Maerki wrote:
> > > > I think I know now what the problem is. You're using PS
> > > output with no
> > > > "resource optimization" [1] (the default). In that mode,
> > > the fonts are
> > > > set up before we know what characters are used. I seem to have 
> > > > forgotten to test the PS output in that mode after my
> > > changes to make
> > > > all available glyphs in a Type 1 font usable in PostScript. The 
> > > > short-term work-around is to enable "resource optimization":
> > > > <optimize-resources>true</optimize-resources> in the 
> configuration.
> > > > 
> > > > I'll see to it that this gets fixed.
> > > > 
> > > > [1]
> > > > 
> http://xmlgraphics.apache.org/fop/trunk/output.html#ps-configurati
> > > > on
> > > > 
> > > > On 06.02.2009 17:01:39 Ingo Maas wrote:
> > > > > Hi,
> > > > >  
> > > > > Recently, I upgraded to current Trunk. I noticed that
> > > German umlauts
> > > > > are not shown for Postscript output anymore. Using 
> release 0.95, 
> > > > > German umlauts look fine.
> > > > > I have made a diff of both output documents, and 
> there are some 
> > > > > subtle differences, see attached files. Both documents do 
> > > > > contain the octal entities for the umlauts.
> > > > > I'm using font metrics definitions for Type 1 fonts for
> > > Postscript
> > > > > renderer in configuration file 'fop.xconf'.
> > > > >  
> > > > > Can someone have a look at it to confirm that something
> > > is broken in
> > > > > Postscript renderer output in Trunk, please?
> > > > >  
> > > > > Regards, Ingo
> > > 
> > > 
> > > Jeremias Maerki
> > > 
> 
> 
> 
> Jeremias Maerki
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to