silnrsi / graphite

Graphite is a "smart font" system developed specifically to handle the complexities of lesser-known languages of the world.
http://graphite.sil.org/
Other
147 stars 44 forks source link

Kerning non-interacting glyphs faulty #15

Closed mhosken closed 6 years ago

mhosken commented 7 years ago

Consider the case of two adjacent glyphs that need to be kerned. But if one of the glyphs is entirely above the other, by how much should they kern?

Currently, in effect, the glyph is ignored and searching continues with later glyphs. This is fine if there are later glyphs, but if there are not, then no kerning happens.

The proposed solution is to have a default kerning such that the bounding boxes are moved to have the margin between them.

mhosken commented 6 years ago

Fixed in 71261ae8d02066a7fba9fd615884282606373942