From a7228ee631d0902dd1d280ce4963954942621e60 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Thu, 7 Jul 2016 15:47:01 +0200 Subject: [PATCH] fix custom pdf without wl font --- librarian/pdf/wl.cls | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) 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 }, -- 2.20.1