-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Have you considered Variation Selectors might be a solution to this? Currently subscript/superscript can be done in OpenType GSUB look up table (in a non-mathematical setting, I am not talking about the OpenType math table, which is an entirely different thing than GSUB) - this has a disadvantage that the editor/wordprocessors must support OpenType and there is no unicode code point allocated to the subscripts. But the slashed zero might be an example of how stylistic variants can be compatible with both GSUB and Unicode...
If we look up the Wikipedia page of slashed zero, we can see that U+FE00 followed by zero should give us the slashed zero. So there are (at least) two ways to type the slashed zero: either using the OpenType stylistic alternate feature ('ss01', or 'zero'), which requires the application to directly support enabling/disabling these features, or simply having a ligature on 'U+FE00 U+0030' (using 'liga'). The letter approach is more widely compatible because 'liga' feature is enabled by many font rendering engines, so the IDE/GUI developers doesn't need to take care of that, and it will 'just work'.
Now going back to superscripts/subscripts, I can imagine having 'U+FExx U+0065' mapped to 'e subscript', and this solution only requires two additional code points, namely the 'superscript variational selector' and 'subscript variational selector'... What do you think about this?