Answer the question
In order to leave comments, you need to log in
How to use OpenType Fonts in Word?
There is a font I made in FontLab 7, each glyph of which has alternative glyphs. I implemented this by looking at the Circe font, as follows: for each character, I created another separate glyph and named it the same as the original with the addition of .alt01 (a → a.alt01). Also in unicode (030 → 030.alt01). Then in feauteres I wrote in aalt:
feature aalt {
# Access All Alternates
sub one from [one.alt01];
sub two from [two.alt01];
sub three from [three.alt01];
sub four from [four.alt01];
sub five from [five.alt01];
sub six from [six.alt01];
sub seven from [seven.alt01];
sub eight from [eight.alt01];
sub nine from [nine.alt01];
sub zero from [zero.alt01];
} aalt;
Answer the question
In order to leave comments, you need to log in
I found the solution myself: it was necessary to create 2 classes - default and alternative glyphs (I called ss01 and ss012). Then in features I wrote the following code:
feature ss01 {
# Stylistic Set 01–20
script latn; # Latin
lookup ss01_latn {
sub @ss01 by @ss012;
} ss01_latn;
} ss01;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question