fontforge/fontforge — pull request #1994 by catharanthus (2014-12-12 19:04:41+00:00)
Title: Write 'kern' subtable header correctly even if some kern pairs were dropped

My previous changeset contains a bug: if some kern pairs are omitted, *kern* subtable header contains incorrect information about its size and number of kern pairs. The issue is now fixed by building *kern* subtable header after writing kern pairs, when information about number of kern pairs is already available. It can be tested on Roboto-Regular.ttf.