Sublime Forum

ST4 Support for open, slashed & dotted zeros

#1

Posts as recent as 2019 and discussions on GitHub say that Sublime Text supports a font’s default zero, but not alternates.

My attempts today to get VS Code to support alternate zeros were successful, but attempts with Sublime Text were not. Does that accurately reflect the situation in February, 2022?

Thanks

0 Likes

#2

I have a similar question. I tried MonoLisa with its “OpenType Features”.

For those ss01, ss02, ... features, it works as font_options in ST. But things like zero, sups, subs, ... don’t work.

1 Like

#3

@jfcherng,

It may interest you to know that while David Ross’s Input Mono doesn’t have ligatures yet, it can be downloaded with a dotted, slashed or open zero as the default. I expect that ST4 would use the download choice.

This is the link to the download customisation form: https://input.djr.com/download/?customize

0 Likes

#4

IIRC, ST uses flags in the option word to specify the set of enabled font features. So the number of bits is limited to whatever size the font options word has been defined. Maybe 16, 32 or 64, I don’t know.

Hence only ss01 to ss10 are assigned as this was the available amount of unused flags. Supporting more of the font or even character sets would therefore require some refactorings in ST’s text rendering engine.

see: https://github.com/sublimehq/sublime_text/issues/2302

2 Likes

#5

@deathaxe,

Yes, that’s what @wbond says in his January 21, 2020 post in the GitHub thread that you’ve linked.

I just wanted to know whether I’m right that nothing has changed since his post.

0 Likes

#6

Noting was stated in any changelog about it. So nothing has changed, I guess.

0 Likes