Created
July 17, 2020 15:50
-
-
Save ctrlcctrlv/eef0dfa13dc137396ee538fb156815c8 to your computer and use it in GitHub Desktop.
Possible IDC sequence OpenType class names
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| names = { | |
| '⿰': ("Left", "Right"), | |
| '⿱': ("Above", "Below"), | |
| '⿲': ("LeftOf3", "HMiddleOf3", "RightOf3"), | |
| '⿳': ("TopOf3", "VMiddleOf3", "BottomOf3"), | |
| '⿴': ("Surrounding", "Surrounded"), | |
| '⿵': ("SurroundingFromAbove", "SurroundedFromAbove"), | |
| '⿶': ("SurroundingFromBelow", "SurroundedFromBelow"), | |
| '⿷': ("SurroundingFromLeft", "SurroundedFromLeft"), | |
| '⿸': ("SurroundingFromUpperLeft", "SurroundedFromUpperLeft"), | |
| '⿹': ("SurroundingFromUpperRight", "SurroundedFromUpperRight"), | |
| '⿺': ("SurroundingFromLowerLeft", "SurroundedFromLowerLeft"), | |
| '⿻': ("OverlaidA", "OverlaidB") | |
| } | |
| if __name__ == "__main__": | |
| Ltypes = sum((list(v) for k, v in names.items()) , list()) | |
| Stypes = set(Ltypes) | |
| assert len(Ltypes) == len(Stypes) # There must be no same class names. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment