about summary refs log tree commit diff
path: root/src/alf/fonts.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/alf/fonts.ts')
-rw-r--r--src/alf/fonts.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/alf/fonts.ts b/src/alf/fonts.ts
index ce658fa05..264e51fa8 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']
 }