Just as I thought. You're doing this: <font kerning="yes" embed-url="file:///opt/sigma_tomcat/webapps/sigma/WEB-INF/fonts/ocra.ttf"> <font-triplet name="ocra" style="normal" weight="normal"/> </font>
This bypasses the XML font metric files. Currently, it's not possible to tell FOP this way to use WinAnsi encoding. You have to create an XML font metrics file for each font as described in [1] (using "-enc ansi", just as in FOP 0.20.5 although you'll have to recreate the files). Then you'll have to do this: <font metrics-url="file:///opt/sigma_tomcat/webapps/sigma/WEB-INF/fonts/ocra.ttf.xml"> kerning="yes" embed-url="file:///opt/sigma_tomcat/webapps/sigma/WEB-INF/fonts/ocra.ttf"> <font-triplet name="ocra" style="normal" weight="normal"/> </font> HTH [2] http://xmlgraphics.apache.org/fop/trunk/fonts.html#truetype-metrics On 19.12.2008 20:20:01 egibler wrote: > > The font configuration should be attached (I used the 'Upload File...' > button, but don't know where the file goes). > > Thanks!!! > Ed > > > > That's just a font metrics file. It could still be that your > configuration file is set up so you get a CID font. Can we see the font > configuration, too? > > http://www.nabble.com/file/p21096930/configuration.xml configuration.xml > -- > View this message in context: > http://www.nabble.com/0.95---Acrobat-Performance-Problems-tp20774481p21096930.html > Sent from the FOP - Users mailing list archive at Nabble.com. > Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
