On 10/11/06, Jeremias Maerki <[EMAIL PROTECTED]> wrote:
...I wonder how much should be invested in versioning of those files....
Ok, so I have added a simplistic versioning system for these metrics XML files, an exception is thrown when attempting to read incompatible metrics files (http://issues.apache.org/bugzilla/show_bug.cgi?id=40739). Mapping the glyph indexes to unicode indexes when reading the XML metrics file seemed more complicated than when creating the file, so I have implemented the change in the TTFFile class, which now writes the <kerning> info based on unicode code points. A note in the FOray release notes (http://foray.sourceforge.net/app/using/release.html) says "Kerning has been fixed for subsetted fonts", makes me wonder if kerning did work before for custom CID fonts. Anyway it should work now. -Bertrand