fix custom pdf without wl font
authorJan Szejko <jan.szejko@gmail.com>
Thu, 7 Jul 2016 13:47:01 +0000 (15:47 +0200)
committerJan Szejko <jan.szejko@gmail.com>
Thu, 7 Jul 2016 13:47:01 +0000 (15:47 +0200)
librarian/pdf/wl.cls

index 3e048da..989ace8 100644 (file)
 \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 },