--- Comment #7 from Jeremias Maerki <> 2010-02-19 15:48:02 
UTC ---
Ah, I see, they added many more kerning pairs from version 1.05 to 1.06 of
Nimbus Sans L.

The code that builds the kerning map from the AFM file is
AFMFile.createXKerningMapEncoded(). So, as mentioned before, the problem is
that this method is only aware of the primary single-byte encoding. I can't
deal with the supplemental encodings in which characters like "Æ" will be
found. You can see how the character codes are derived from the multiple
encodings in SingleByteFont.mapChar()/mapUnencodedChar(). Maybe it makes sense
to just keep the kerning pairs with their glyph names (rather than building the
map based on character codes) and store the whole map in SingleByteFont. But
that may also be a bit slower. HTH

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to