From: Jan Szejko Date: Thu, 7 Jul 2016 13:47:01 +0000 (+0200) Subject: fix custom pdf without wl font X-Git-Tag: 1.7~68 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/a7228ee631d0902dd1d280ce4963954942621e60 fix custom pdf without wl font --- diff --git a/librarian/pdf/wl.cls b/librarian/pdf/wl.cls index 3e048da..989ace8 100644 --- a/librarian/pdf/wl.cls +++ b/librarian/pdf/wl.cls @@ -82,6 +82,13 @@ \usepackage{scalefnt} \usepackage[colorlinks=true,linkcolor=black,setpagesize=false,urlcolor=black,xetex]{hyperref} +\newfontfamily\alien[ +SmallCapsFeatures = {Letters={SmallCaps,UppercaseSmallCaps}}, +Numbers=OldStyle, +Scale=0.85, +LetterSpace=-1.0 +] {DejaVu Serif} + \ifenablewlfont \setmainfont [ %ExternalLocation, @@ -96,14 +103,6 @@ Scale=1.04, LetterSpace=-1.0 ] {JunicodeWL} -\newfontfamily\alien[ -SmallCapsFeatures = {Letters={SmallCaps,UppercaseSmallCaps}}, -Numbers=OldStyle, -Scale=0.85, -LetterSpace=-1.0 -] {DejaVu Serif} - - \defaultfontfeatures{ SizeFeatures={ {Size={-10.5}, FakeStretch=1.02, LetterSpace=2.0 },