inter icon indicating copy to clipboard operation
inter copied to clipboard

polytonic Greek acute and grave accents

Open ousia opened this issue 3 years ago • 2 comments

@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):

abde-1 abde-2 abde-3 abde-4

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.

ousia avatar Sep 15 '22 19:09 ousia

Thanks! Very interesting

rsms avatar Sep 18 '22 23:09 rsms

This is related to the discussion in #490.

ousia avatar Sep 19 '22 14:09 ousia

@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.

ousia avatar Oct 02 '22 17:10 ousia

Done in the past few days

greek-az-reg

greek-az-extralight

greek-az-extrabold

rsms avatar Jun 07 '23 18:06 rsms