From b13261618a89b134997bb25068593ba2080cb3bc Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 19 Sep 2024 12:20:38 -0500 Subject: [PATCH] Disable contextual ligatures --- src/alf/fonts.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/alf/fonts.ts b/src/alf/fonts.ts index ce658fa05b..264e51fa87 100644 --- a/src/alf/fonts.ts +++ b/src/alf/fonts.ts @@ -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'] }