Ah, I get it now. You didn't know that the whole PFMReader business is no longer necessary. You could have just dropped the metrics-url attribute in the font configuration and it would all have worked. Anyway, it's probably not a bad idea to still look at your patch.
On 16.12.2009 12:21:27 Andrey V Koltunov wrote: > Cyrillic fonts working great in case of PDF output and TrueType fonts using. > > But I need to use Type1 fonts. > > First of all, PFMReader utility does not know about Cyrillic charset. When I > tried to build xml-metrics file, output look like this: > Unknown charset detected (204, 0xcc). Trying fallback to WinAnsi. > > Also I found, that FOP does not know anything about cyrillic glyph names. > > Some docs about this: > http://www.adobe.com/devnet/opentype/archives/non_latin.html > http://www.adobe.com/devnet/font/pdfs/5013.Cyrillic_Font_Spec.pdf > > > https://issues.apache.org/bugzilla/show_bug.cgi?id=48396 > > > > --- Comment #2 from Jeremias Maerki <jerem...@apache.org> 2009-12-16 > > 02:57:44 UTC --- Andrey, I'm a bit surprised about this patch. I've > > invested considerable effort some time ago to make cyrillic fonts work. > > What was your motivation to add the "AdobeStandardCyrillic" encoding? Was > > something not working as it should have? I'm not criticizing, just trying > > to understand. > > > > Thanks anyway for contributing to FOP! I hope I have time soon to look at > > the patch. Of course, other committers are allowed to process this patch > > before that if they have time. Jeremias Maerki