mirror of
https://github.com/kiliman/operator-mono-lig.git
synced 2026-08-12 02:10:52 +02:00
🎨 Prettier formatting
This commit is contained in:
@@ -266,12 +266,10 @@ const patchGsub = (dom, ligatures) => {
|
|||||||
// don't patch if no ligatures other than LIG
|
// don't patch if no ligatures other than LIG
|
||||||
if (ligatures.length <= 1) return;
|
if (ligatures.length <= 1) return;
|
||||||
|
|
||||||
ligatures
|
ligatures.forEach(ligature => {
|
||||||
//.filter(ligature => /_/.test(ligature.glyph))
|
// build gsub tables
|
||||||
.forEach(ligature => {
|
gsub.buildGsubTables(dom, ligature);
|
||||||
// build gsub tables
|
});
|
||||||
gsub.buildGsubTables(dom, ligature);
|
|
||||||
});
|
|
||||||
gsub.finalizeGsubTables();
|
gsub.finalizeGsubTables();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user