Superscript/subscript numbers not working

Graphirus's picture

I have every digit designed both in sub/sup form, but for some reason Illustrator/InDesign is not using the designed forms but the "faked" ones instead. Is this problem related to OpenType? If so, what should I do?


octopi's picture

You've coded the features for sub/sup haven't you?

octopi's picture

Ooops, double post. Apologies

Graphirus's picture

I guess I haven't coded those features... any recommended tutorial for an absolute newbie in OpenType coding?

Nick Shinn's picture

You can copy the code from fonts which have it.
It’s not copyrighted.

gargoyle's picture

Whether or not any particular code is copyrighted, without the source file you're gonna be looking at decompiled code, which can be tricky to decipher. Even the FreeFontPro VFB source file provided with FontLab has a dizzying array of class substitutions.

Here's what a basic, bare-bones sups feature might look like in FL.

OpenType panel screenshot

Note that the classes here are defined in the OpenType panel for clarity (with some extra line breaks), but they could just as well be made in the Classes panel.

any recommended tutorial for an absolute newbie in OpenType coding?

This article on OpenType substitution features at I Love Typography covers quite a bit while managing to stay newbie-friendly.

Graphirus's picture

Thanks a lot Nick and gargoyle!

Syndicate content Syndicate content