microsoft / cascadia-code

This is a fun, new monospaced font that includes programming ligatures and is designed to enhance the modern look and feel of the Windows Terminal.
Other
25.11k stars 796 forks source link

locl feature fails for Romanian (ROM) language tag #641

Open moyogo opened 1 year ago

moyogo commented 1 year ago

Cascadia family version

2111.01

Cascadia family variant(s)

Cascadia Code (the version with ligatures), Cascadia Mono (the version without ligatures)

Font file format(s)

Windows Terminal included version (TTF (variable)), .ttf (variable), .ttf (static), .otf (static), .woff2 (variable), .woff2 (static)

Platform

all

Other Software

No response

What happened?

https://github.com/microsoft/cascadia-code/blob/main/sources/features/locl.fea#L5-L6

    language ROM;
    language MOL;

These two lines don’t work properly, the language ROM; is ignored if directly followed by language MOL;. The lookup needs to be defined and used in both language systems.

See with the ro language tag: img

and with the mo language tag: img-mo