Alegreya Sans and serif - missing 4 sub Serbian Italic glyphs

Hello, I am graphic designer and I am fond of good fonts. Alegreya Sans and serif are very nice Pro fonts.
We can see that in OT feature locl for Serbian, only one glyph б has sub, other four г,д,п,т Italic glyphs sub is missing, even they exists in the font.
Here is copy/paste example from locl features taken from FontLab OTF :

feature locl { # Localized Forms
script cyrl; # Cyrillic
language SRB exclude_dflt; # Serbian
sub uni0431 by uni0431.loclSRB;
language BSH exclude_dflt; # Bashkir
sub [uni0492 uni0498 uni0493 uni0499] by [uni0492.loclBSH uni0498.loclBSH uni0493.loclBSH uni0499.loclBSH];

Please, tell me how it could be fixed.
Thanks in advance,
Milos 
Tagged:

Comments

  • André G. Isaak
    André G. Isaak Posts: 633
    edited January 2018
    feature locl { # Localized Forms
    script cyrl; # Cyrillic
    language SRB exclude_dflt; # Serbian
    sub uni0431 by uni0431.loclSRB;
        sub uni0433 by uni0433.loclSRB;
        sub uni0434 by uni0434.loclSRB;
        sub uni043F by uni043F.loclSRB;
        sub uni0442 by uni0442.loclSRB;
    language BSH exclude_dflt; # Bashkir
    sub [uni0492 uni0498 uni0493 uni0499] by [uni0492.loclBSH uni0498.loclBSH uni0493.loclBSH uni0499.loclBSH];

    I only have the free version from Google which doesn't include cyrillic. Assuming the glyph naming conventions are consistent, try adding the above four lines of code in the position indicated.

    André
  • Dyana Weissman
    Dyana Weissman Posts: 331
    edited January 2018
    Tagging @Dave Crossland who may have some contact with the designer/thoughts
  • Hello André,
    I tried this:  show this:
        sub uni0431 by uni0431.loclSRB;
        sub uni0433 by uni0433.loclSRB;
        sub uni0434 by uni0434.loclSRB;
        sub uni043F by uni043F.loclSRB;
        sub uni0442 by uni0442.loclSRB;

    But FontLab 5.2.2 can't Generate OTF with sub, and FontLab VI in Output

    FEA compiler error: [F] <Font> aborting because of errors
    FEA compiler error: [F] font "Alegreya Sans" in file "features" at line 2
    Features compilation failed. Trying without the [kern] feature
    FEA compiler error: [F] <Font> aborting because of errors
    FEA compiler error: [F] font "Alegreya Sans" in file "features" at line 2
    Feature compilation fails: PREFIX:
    Hotconv compilation fatal error:
    <Font> aborting because of errors

    Then 
    I tried this and do Compile in OTF Features, and no result.

    feature locl { # Localized Forms script cyrl; # Cyrillic language SRB  exclude_dflt; # Serbian    sub [uni0431 uni0433 uni0434 uni043F] by [uni0431.loclSRB uni0433.loclSRB uni0434.loclSRB uni043F.loclSRB];    sub uni0442 by uni0442.loclSRB; language BSH  exclude_dflt; # Bashkir


    Milos


  • Sorry, I made some mistakes in copy/paste text.
  • Thanks @Dyana Weissman :) I've filed an issue at https://github.com/huertatipografica/Alegreya/issues/12 with the upstream designer

  • Milos, are you saying that your feature compile failing was due to an error on your part, which you have resolved?
  • Yes,  feature compile failed. New generated OTF stay withot new feature locl.
  • If you still have a problem, perhaps you could submit a helpdesk ticket with FontLab and include the full feature file (and the full font as VFB and/or VFC), so we can help you figure out what has gone wrong. Go to https://support.fontlab.com and log in with your social media profile, or create an account.

    I'm afraid that fragments of the code are not enough—I can't tell what an error on line 2 might mean, when either line 2 isn't there, or I don't know which line that was, due to lack of context.
  • Hi Milos and everyone!
    I released new versions fixing this:
    https://github.com/huertatipografica/Alegreya-Sans/releases/tag/v2.007
    and
    https://github.com/huertatipografica/Alegreya/releases/tag/v2.006

    Could you please confirm if now is working OK?
    Thanks!