polytonic Greek acute and grave accents
@rsms,
I got the fonts for https://github.com/rsms/inter/releases/download/v3.19/Inter-3.19.zip and used OTF versions (Inter Desktop).
Here you have single acute and grave accents for Greek (odd lines contain oxia and grave, the even lines contain tonos and grave):

For some strange reason, there are fonts that distinguish tonos and oxia. Well, tonos is accent and oxia is acute. The monotonic Greek accent (by law) is acute.
But since OpenType defines polytonic Greek as a language, if you want to keep different glyphs for tonos and oxia, there is a way to get automatic oxia with tonos using substitutions:
feature locl {
@tonosuppercase = [Alphatonos Epsilontonos Etatonos Iotatonos
Omicrontonos Omegatonos Upsilontonos];
@tonoslowercase = [alphatonos epsilontonos etatonos iotatonos
iotadieresistonos omicrontonos omegatonos
upsilontonos upsilondieresistonos];
@oxiauppercase = [uni1FBB uni1FC9 uni1FCB uni1FDB uni1FF9
uni1FFB uni1FEB];
@oxialowercase = [uni1F71 uni1F73 uni1F75 uni1F77 uni1FD3
uni1F79 uni1F7D uni1F7B uni1FE3];
script grek;
language PGR exclude_dflt;
lookup TonosOxia {
sub @tonosuppercase by @oxiauppercase;
sub @tonoslowercase by @oxialowercase;
} TonosOxia;
} locl;
Acute and grave accents aren’t placed at the same vowel height and there are too different from each other.
I think that varia (the grave accent) should be redone. I wonder whether which is best: from tonos or from oxia.
Many thanks for your excellent work.
Thanks! Very interesting
This is related to the discussion in #490.
@rsms, I’m afraid I cannot contribute myself, since I don’t have any font editor that handles variable fonts.
BTW, the code for the feature file needs no extra editing, only to be added in the right file.
Done in the past few days