It is a test for trying out the Serif Affinity Publisher program.
I have thus far made one post in the following thread.
https://forum.affinity.serif.com/index. ... apability/
What I am trying to do now is to modify a copy of the attached font (to become ligatst3.otf) so as to add two alternates for the letter e. Each has a swash ending, the second with a larger swash than the first. This is just a test so as to find out how Affinity Publisher handles it and what happens if one tries to copy and paste from out of a PDF document produced from Affinity Publisher.
I cannot remember whether I ever got alternates working before. I have a vague recollection of there being aalt, calt and salt.
Anyway to get started I searched this forum and found a thread which has in one post a code sample kindly supplied by Bhikkhu Pesala.
I adapted that to my needs and thus ended up with the following OpenType code, using FontCreator 8.
Code: Select all
script latn {
# Latin
feature StandardLigatures1;
}
feature StandardLigatures1 liga {
# Standard Ligatures
lookup Ligature1;
}
lookup Ligature1 {
# Referenced by feature "StandardLigatures1"
sub c t -> c_t;
sub e t -> e_t;
sub s t -> s_t;
}
feature StylisticAlternates salt {
lookup StylisticAlternates;
}
lookup StylisticAlternates {
sub e -> [e e.alt1 e.alt2];
}
[Hint] (18,9) : Feature StylisticAlternates declared but never used.
[Hint] (22,8) : Lookup StylisticAlternates declared but never used.
Can anyone advise what is wrong please?
William Overington
Thursday 27 December 2018