Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
diff docs/_latex/my-doc-fonts.sty @ 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 | dcbc66f851eb |
| children | c10b2092c48f |
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
