Add name suffix for marks (kovidgoyal/kitty#3716)

This commit is contained in:
be5invis 2021-06-12 22:44:28 -07:00
parent 6af9c2e29e
commit 554375808c
6 changed files with 46 additions and 23 deletions

View file

@ -81,6 +81,10 @@ export : define [buildOtl para glyphStore] : begin
local GDEF : buildGDEF para glyphStore markGlyphs
local GSUB : buildGSUB para glyphStore markGlyphs
# Make all diacritics join-l (Kitty #3716)
foreach gnMark [items-of markGlyphs.all] : begin
Gr.Joining.or [glyphStore.queryByName gnMark] Gr.Joining.Classes.Left
# Build compatibility ligatures
if (para.enableLigation && para.compLig) : begin
BuildCompatLigatures para glyphStore GSUB GDEF para.compLig