Skip to content
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

Name of control characters U+0001 START OF HEADING and U+0002 START OF TEXT #3

Closed
aaaxx opened this issue Dec 21, 2017 · 3 comments
Closed
Assignees
Labels

Comments

@aaaxx
Copy link

aaaxx commented Dec 21, 2017

Out of all the ASCII control characters, these two have names that don't match the standard abbreviations (as given by Unicode name aliases list and every ASCII table out there). To make matters worse, U+0001 uses the standard abbreviation for U+0002.

Was this intentional or an error?

codepoint Unicode Adobe
0001 START OF HEADING (SOH) controlSTX
0002 START OF TEXT (STX) controlSOT
@kenlunde kenlunde self-assigned this Dec 21, 2017
@kenlunde
Copy link
Contributor

For better or worse, an extraordinarily large number of legacy fonts were produced using these apparently misnamed glyph names. Keep in mind that one purpose of AGL (aka glyphlist.txt) is to acknowledge such glyph names so that content can be properly derived and preserved. New fonts, on the other hand, are to adhere to AGLFN (aka aglfn.txt) and the AGL Specification, which results in uni0001 and uni0002 being used as the names for these particular glyphs.

@aaaxx
Copy link
Author

aaaxx commented Dec 21, 2017

OK, just to make sure I understand this:

When making new fonts, any glyphs that are not listed in aglfn.txt should be named uni#### (or u#### if outside of BMP), right?

And one more thing, which I don't think is completely clear in the spec, are suffixes meant only for variants of the base glyph, or can I use them even on the base glyph itself, to make the hex names less opaque, for example (as in uni0001.controlSOH)?

@kenlunde
Copy link
Contributor

To answer your first question: Yes.

And to answer your second question: Yes. Anything that follows the full stop is dropped when interpreting the glyph name, so you are free to use glyph names such as uni0001.controlSOH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants