[ttx] Print out glyph names when referring to Coverage indices #85

behdad opened this Issue Jan 16, 2014 · 0 comments


None yet
1 participant

behdad commented Jan 16, 2014


As very legitimately requested by Werner:

The mapping from glyph indices to coverage indices is defined in the `Coverage' tables. Later on, in all GPOS and GSUB tables, everything refers to those coverage indices.

However, for a user reading the XML output of ttx, it's very hard to trace this mapping. For example, if you have an entry like this

you have to count the lines in the associated coverage table to find out the corresponding glyph index. I thus suggest to add comments so that the above looks like this:

<!-- Agrave >


Note that implementing this with our current infrastructure is not easy. Will think about it.

patricklam added a commit to wenzhuman/fonttools that referenced this issue Nov 29, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment