X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/03c2258429bf8f80e88025fce45126960bfcd827..318d79c6ec02163ec898a66723055da25837346a:/librarian/pdf/wl.cls

diff --git a/librarian/pdf/wl.cls b/librarian/pdf/wl.cls
index 206d236..fb1c4e5 100644
--- a/librarian/pdf/wl.cls
+++ b/librarian/pdf/wl.cls
@@ -93,7 +93,8 @@
 }%
 }
 
-\XeTeXgenerateactualtext=1
+%  not supported on texlive version on jessie, and has weird side effects in some readers
+%% \XeTeXgenerateactualtext=1
 
 %% \DeclareOption{14pt}{\renewcommand{\normalsize}{\AtEndOfClass{\fontsize{14}{17}\selectfont}}}
 
@@ -119,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}
@@ -148,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}},
@@ -184,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={
@@ -398,8 +399,7 @@ Letters={SmallCaps,UppercaseSmallCaps}
     PrzekaÅ¼ 1\% podatku na rozwÃ³j Wolnych Lektur:
     Fundacja Nowoczesna Polska, KRS 0000070056.
 
-    PomÃ³Å¼ uwolniÄ konkretnÄ ksiÄÅ¼kÄ, wspierajÄc
-    \href{http://www.wolnelektury.pl/wesprzyj/}{zbiÃ³rkÄ na stronie wolnelektury.pl}.
+    DoÅÄcz do \href{https://wolnelektury.pl/towarzystwo/}{Towarzystwa PrzyjaciÃ³Å Wolnych Lektur} i pomÃ³Å¼ nam rozwijaÄ bibliotekÄ.
 
     PrzekaÅ¼ darowiznÄ na konto:
     \href{http://nowoczesnapolska.org.pl/pomoz-nam/wesprzyj-nas/}{szczegÃ³Åy na stronie Fundacji}.
