-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarify glyph name ranges (2.g.i) #1221
Conversation
The current description of glyph name ranges is unclear in a few critical points.
The new examples added imply that glyph ranges can be given without spaces (such as The reason for this change was a font editor’s decision to allow glyph names such as |
No examples were added. |
Those are not (intended as) examples of usage or syntax specification but rather are simply describing the characters that are significant for this mechanism. The syntax is stated after this paragraph, and is clear about requiring spaces. |
Revising the proposed change to description of ranges to avoid potential confusion between the prose description of the mechanism and the syntax required for the mechanism.
Revised the change to avoid potential confusion as suggested by @frankrolf . |
Thanks! |
|
I tested my statement with a feature file that has
and received the complaint “font does not contain a glyph named EDIT: just tried again:
|
What I said is described in https://adobe-type-tools.github.io/afdko/OpenTypeFeatureFileSpecification.html#2fi-glyph-name:
If |
Ah, yes. There is no ambiguity here as a range can’t possibly work. The range needs to be in a glyph class: sub [A-Z] by [A.sc-Z.sc]; |
Thanks for the clarification! I agree allowing both notation formats creates ambiguity. |
Just noting: the issue you're discussing is orthogonal to the one my PR addresses. |
That’s correct, however I think the change you made is good (thanks again!). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Thank you!
The current description of glyph name ranges is unclear in a few critical points.
Fixes #1222
Description
This is a proposed enhancement to the feature file spec documentation. The current
wording in section 2.g.i regarding ranges is unclear. At several points, a reader can be
left scratching their heads wondering what was meant. This is intended to provide
greater clarity in that section.
Checklist: