changeset 189:91e8fb8cf67b

FIX: Reset defaultfontfeatures because plex-otf.sty doesn't do it internally
author Franz Glasner <fzglas.hg@dom66.de>
date Wed, 13 May 2026 09:00:57 +0200
parents 8e172ca6c944
children 8825282f6900
files docs/_latex/my-doc-fonts.sty
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/docs/_latex/my-doc-fonts.sty	Wed May 13 01:12:48 2026 +0200
+++ b/docs/_latex/my-doc-fonts.sty	Wed May 13 09:00:57 2026 +0200
@@ -38,12 +38,15 @@
 \if@mdf@WithPlexMono
   \RequirePackage{newunicodechar}
   \RequirePackage[DefaultFeatures={Scale=0.92}]{plex-otf}
+  % Dont keep all default font features from plex-otf
+  \defaultfontfeatures{}
   \newfontfamily\DejaVuSansMono{DejaVu Sans Mono}[%
     UprightFont = *,
     BoldFont = * Bold,
     ItalicFont = * Oblique,
     BoldItalicFont = * Bold Oblique,
     Scale=MatchLowercase,
+    Ligatures=TeX,
   ]
   \newunicodechar{▷}{{\DejaVuSansMono ▷}}% U+25B7
   \newunicodechar{∶}{{\DejaVuSansMono ∶}}% U+2236