I’m trying to replace a colon that follows a number with an alternate colon.ss01 character, but something is obviously wrong in my code, because it’s not working.
@num = zero one two three four five six seven eight nine sub @num colon' @num by colon.ss01;
Not sure where I’ve gone wrong. Everything compiles and the OTF files successfully export without error, just no replacement in any working versions of the typeface.
@num was defined as a stand-alone Class in the Features panel. I also tried it without using a Class, without success.
sub [zero one two three four five six seven eight nine ] colon' [zero one two three four five six seven eight nine ] by colon.ss01;
I’ve been testing on a specimen file in InDesign. As for the location of the OTF files being used in-app, I run FontExplorer X Pro, which currently places activated fonts in a “FontExplorer X” folding in my User folder. Would the location of the OTF file affect things?
The feature code seems OK to me. In which feature did you place the code?
Do NOT install your font until it is finished, also not with FontExplorer. Rather, use the Adobe Fonts folder. This time, please rename your font beforehand in order to exclude cache problems.
Wouldn’t I be able to see the replacement happening in Glyphs in a tab along side other characters? It’s not happening right now either, like the Advanced Alternatives tutorial suggests.