slashed zero

alex scholing's picture

hi all,

in indesign there is an option called ‘slashed zero’ in the opentype menu and i thought it neat to put this option into my new font.

i’ve read all kinds of opentype documentation and googled it at least a dozen times but found no way how to implement this so far. what clue am i missing?

cheers,
alex

Bendy's picture

Create your zero.slash glyph, then your feature code should say:

feature zero { # Slashed Zero
    sub zero by zero.slash;
} zero;

If you have oldstyle or other numeral variants don't forget to include those too.

alex scholing's picture

thanks bendy!

Syndicate content Syndicate content