OpenFontFormat icon indicating copy to clipboard operation
OpenFontFormat copied to clipboard

Better specification for how nested lookups (GSUB type 5) are to be processed

Open davelab6 opened this issue 5 years ago • 2 comments

In https://github.com/MPEGGroup/OpenFontFormat/issues/1#issuecomment-698113180 @peterconstable wrote,

[OFF has an] incomplete specification (multiple details) for how nested lookups (e.g., GSUB type 5) are to be processed—all details that the spec should make clear in order to ensure interoperability.

I believe this is discussed in https://github.com/MicrosoftDocs/typography-issues/issues/407

I hope this issue can track not only this being fixed in OFF spec text, but examples of un-interoperable nested lookups (GSUB type 5) already implemented being identified and fixed.

davelab6 avatar Sep 27 '20 04:09 davelab6

There's two aspects to nested lookups that need clarification:

  1. The LookupFlags used. Is clear now. There was a MicrosoftDocs issue about it. The nested-lookup's lookup flags shall prevail,
  2. The range of the buffer area available to the nested-to lookups. I don't believe any limitation should be encoded. There's one or two MicrosoftDocs issues about this already.

behdad avatar Sep 28 '20 03:09 behdad

For reference, Behdad’s first point’s issue was MicrosoftDocs/typography-issues#407 and the second’s are MicrosoftDocs/typography-issues#105 and MicrosoftDocs/typography-issues#184.

dscorbett avatar Sep 28 '20 14:09 dscorbett