Gujarati feature code uses a mix of gjr2 and gujr

The automatic feature code generated for Gujarati uses the old gujr for reph and rakar. Others use the newer gjr2 correctly. I have to turn off automatic and switch the script to gjr2, for rephs to work. Probably a minor fix.

Can you send me a file that does this?

Here’s from Noto Sans Gujarati:

#*************************************************************************
#   Feature "rphf": Reph Forms 
#   used in script: gjr2 
#   from a lookup of type GSUB_LOOKUP_TYPE_LIGATURE 
#*************************************************************************
lookup GSUB_LOOKUP_00002 
{
 lookupflag 0; # hex 0x0000
    sub \ra-gujarati \halant-gujarati by \reph-gujarati;
} GSUB_LOOKUP_00002;

I don’t understand. Did you regenerate the features after importing the Noto fonts? The feature code snipped seems to indicate that it uses gjr2?

Okay. Forget Noto Sans. Here’s how you can reproduce:

  1. Create a new font for Gujarati
  2. Add glyphs for these three characters: ra-gujarati, reph-gujarati, halant-gujarati
  3. Go to features and hit Update. You will see these in rphf
script gujr;
sub ra-gujarati halant-gujarati by reph-gujarati;
  1. It should be script gjr2 instead of gujr.

Let me know if this helps. Unfortunately I’ll not be able to share my file at this time.

Not in the latest cutting edge version. It is fixed there.