adobe-fonts / source-sans

Sans serif font family for user interface environments
https://adobe-fonts.github.io/source-sans
SIL Open Font License 1.1
3.49k stars 229 forks source link

different glyphs for tonos and oxia #214

Closed ousia closed 3 years ago

ousia commented 3 years ago

Although oxia is tonos (that is, the monotonic Greek accent is acute), all fonts that contains both accented glyphs (see below) have different inclination for both accents.

This is problematic with polytonic Greek, because both acute and grave accents are mixed,

toss-1

toss-2

toss-3

toss-4

Uppercase letters are fine, but first line in lowercase letters displays the right combination (with acute) while the second line in lowercase letters shows the problem (with accent).

Since OpenType allows a local feature that replaces tonos with oxia and polytonic Greek is defined as language, @frankrolf, how about the following feature for polytonic Greek in the Source typeface family?

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;
pauldhunt commented 3 years ago

@ousia I’m not sure why you’re calling out @frankrolf on this issue, but it seems like a good suggestion. Will try to get this in the next update.

ousia commented 3 years ago

@pauldhunt, sorry for my misunderstanding.

I thought that Frank was in charge for the Greek part of the typeface.

Congratulations for your excellent work on Source Sans.