Script tag for 'locl' feature generates automatically, how to customize?

Hi
i have an arabic font(without Latin section) with very low space width, this affects the space width of the fallback Latin font, so i wrote a locl feature like this:

lookup locl_0 {
    sub space by space.Latin;
} locl_0;

 script latn;
 lookup locl_0;

but Glyphs include the arab script in final font:

feature locl {
script DFLT;
language dflt;
lookup SUB_2 {
	sub space by uniE00B;
} SUB_2;
script arab;
language dflt;
lookup SUB_2;
script latn;
language dflt;
lookup SUB_2;
} locl;

Why not add the script latin to the lookup?

Defining a lookup without any script/language is registering it with all scripts.

lookup locl_0 {
    script latn;
    sub space by space.Latin;
} locl_0;
1 Like

yes! this is it. thank you :slight_smile: