[Neue] Ligatures & composer (#5427)

* Disable contextual ligatures

* Ensure new type styles are applied to the composer

* Clean up using real devices

* Feedback
This commit is contained in:
Eric Bailey
2024-09-19 14:41:31 -05:00
committed by GitHub
parent 1523160467
commit 8a7fc9ad3f
5 changed files with 66 additions and 25 deletions
+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']
}