You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Subtables
Use % subtable or subtable end end to mark a subtable boundary. Use lookup end (not subtable end) to terminate the final subtable of a lookup (or lookups with only one subtable).
I suggest following changes:
Remove the "% subtable" format, since that's a comment. In my parser for example, I remove comments in the tokenizer, so the parser does not even see it,
Since there's no "subtable begin", I suggest changing "subtable end" to just "subtable". Or was the end added to remove ambiguity with a possible glyph name of "subtable"? Incidentally, that's exactly what Adobe uses:
As it happens the original specification, compiler and decompiler was written by a person (me) not interested in making lookups with subtables (other than the "kernset" lookup). So a comment was sufficient in order to view decompiled tables. Currently we have a tool that supports sub-tables. So "subtable end" is the formal divider of lookup subtables and the comment is a comment indeed.
I've implemented both. If "% subtable" is to be removed from the spec, then gsubreversechanined.txt needs to be updated as it relies on "% subtable" starting a new subtable.
Activity
JelleBosmaMT commentedon Dec 9, 2015
As it happens the original specification, compiler and decompiler was written by a person (me) not interested in making lookups with subtables (other than the "kernset" lookup). So a comment was sufficient in order to view decompiled tables. Currently we have a tool that supports sub-tables. So "subtable end" is the formal divider of lookup subtables and the comment is a comment indeed.
behdad commentedon Dec 9, 2015
I've implemented both. If "% subtable" is to be removed from the spec, then gsubreversechanined.txt needs to be updated as it relies on "% subtable" starting a new subtable.