From: Jan Szejko Date: Fri, 21 Dec 2018 16:09:20 +0000 (+0100) Subject: disable sans font X-Git-Tag: 1.7~2 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/245ee64cc85bfc2c1a27c30139d9e7c1268168d9?hp=780580aeaeb3a8745744eb918100fee78a6e16b8 disable sans font --- diff --git a/librarian/pdf/wl.cls b/librarian/pdf/wl.cls index 2d3b309..88bef12 100644 --- a/librarian/pdf/wl.cls +++ b/librarian/pdf/wl.cls @@ -120,8 +120,8 @@ \newif\ifshowtoc \showtoctrue \DeclareOption{notoc}{\showtocfalse} -\newif\ifsansfont \sansfontfalse -\DeclareOption{sansfont}{\sansfonttrue} +%\newif\ifsansfont \sansfontfalse +%\DeclareOption{sansfont}{\sansfonttrue} \newif\ifmargins \marginstrue \DeclareOption{nomargins}{\marginsfalse} @@ -149,9 +149,9 @@ \usepackage{scalefnt} \usepackage[colorlinks=true,linkcolor=black,setpagesize=false,urlcolor=black,xetex]{hyperref} -\ifsansfont -\renewcommand{\familydefault}{\sfdefault} -\fi +%\ifsansfont +%\renewcommand{\familydefault}{\sfdefault} +%\fi \newfontfamily\alien[ SmallCapsFeatures = {Letters={SmallCaps,UppercaseSmallCaps}}, @@ -185,16 +185,16 @@ LetterSpace=-1.0 %LetterSpace=-1.0 %] {NotoSerif} -\setsansfont [ -UprightFont = NotoSansDisplay-Regular, -ItalicFont = NotoSansDisplay-Italic, -BoldFont = NotoSansDisplay-Regular, -BoldItalicFont = NotoSansDisplay-Italic, -SmallCapsFont = NotoSansDisplay-Regular, -SmallCapsFeatures = {Letters={SmallCaps,UppercaseSmallCaps}}, -Scale=1.04, -LetterSpace=-1.0 -] {NotoSansDisplay} +%\setsansfont [ +%UprightFont = NotoSansDisplay-Regular, +%ItalicFont = NotoSansDisplay-Italic, +%BoldFont = NotoSansDisplay-Regular, +%BoldItalicFont = NotoSansDisplay-Italic, +%SmallCapsFont = NotoSansDisplay-Regular, +%SmallCapsFeatures = {Letters={SmallCaps,UppercaseSmallCaps}}, +%Scale=1.04, +%LetterSpace=-1.0 +%] {NotoSansDisplay} \defaultfontfeatures{ SizeFeatures={