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
GSUB section 2.1 Multiple Subsitution says the following:
The use of multiple substitution for deletion of an input glyph is prohibited. The glyphCount value must always be greater than 0.
(The previous version of the OpenType specification says this too, it isn't new)
But a 0-length replacement sequence is exactly how the AFDKO Feature File compilation tool makeotf implements the rule to remove a glyph from the input: sub X by NULL compiles a Multiple Substition lookup with a 0-length replacement sequence (and i assume it always has done).
I therefore suggest that years of standing practice bless this implementation detail, and that the OpenType specification is changed. To something like:
Multiple substitution can be used to implement the deletion of an input glyph. When the glyphCount is 0 the input glyph is replaced with an empty sequence, effectively deleting it.
GSUB section 2.1 Multiple Subsitution says the following:
(The previous version of the OpenType specification says this too, it isn't new)
But a 0-length replacement sequence is exactly how the AFDKO Feature File compilation tool
makeotf
implements the rule to remove a glyph from the input:sub X by NULL
compiles a Multiple Substition lookup with a 0-length replacement sequence (and i assume it always has done).I therefore suggest that years of standing practice bless this implementation detail, and that the OpenType specification is changed. To something like:
I have raised this point in the AFDKO repo too adobe-type-tools/afdko#1438
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: