Thanks for the changes. I understand the necessity now. I've done some
tests and after your latest fix, everything seems to be working fine.
Let's hope our users won't be too mad at us for changing the format. I
have some time in trains this and next week. Maybe I'll try to figure
out if it's a small change to bypass the metrics file entirely. :-)
Actually, finishing my DataMatrix implementation is more important but
if this were only a small step we should take it. *g* Otherwise, we'll
defer that to the FOray stuff.
On 12.10.2006 12:17:36 Bertrand Delacretaz wrote:
> 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.