alerque / libertinus

The Libertinus font family
Other
928 stars 57 forks source link

How to do GPOS Contextual Chaining Position #494

Open cornelisbb opened 2 years ago

cornelisbb commented 2 years ago

Describe the bug Working on improving Hebrew nikkuqs I need to formulate two contextual chaining positions. I can do that in FontForge, but when I run fontship these rules are ignored and removed. I do not see any other way to deal with this. The features folder only deals with GSUB, as far as I can see. I do not know if this is intentional,

I can find my way in Fontforge and know how to write features, but I do not know much about programming and fontship. So I am stuk.

Steps to reproduce I have added a Contextual Chaining Position to the GPOS table in Fontforge

Expected vs. actual behavior Either my rules in the GPOS table are preserved and maintained in the resulting font, or there is another way to deal with this. Regarding this I cannot find any documentation.

Screenshots / logs If applicable, add screenshots or logs to help explain your problem.

Additional context the file is LibertinusSerif-Regular.sfd and can be found at my fork: cornelisbb/libertinus

cornelisbb commented 2 years ago

I can work around this. Not something I have seen in other Hebrew fonts, but it works.