Disable contextual ligatures

This commit is contained in:
Eric Bailey
2024-09-19 12:20:38 -05:00
parent 8fde02fabc
commit b13261618a
+6
View File
@@ -108,4 +108,10 @@ export function applyFonts(
style.fontFamily = style.fontFamily || FAMILIES
}
}
/**
* Disable contextual ligatures
* {@link https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant}
*/
style.fontVariant = ['no-contextual']
}