summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/librecaslon/librecaslon.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/librecaslon/librecaslon.sty')
-rw-r--r--Master/texmf-dist/tex/latex/librecaslon/librecaslon.sty12
1 files changed, 11 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/librecaslon/librecaslon.sty b/Master/texmf-dist/tex/latex/librecaslon/librecaslon.sty
index 551f1efd67d..b4424e43247 100644
--- a/Master/texmf-dist/tex/latex/librecaslon/librecaslon.sty
+++ b/Master/texmf-dist/tex/latex/librecaslon/librecaslon.sty
@@ -93,10 +93,20 @@
BoldItalicFont = *-BoldItalic ]
{LibreCaslonText}
\providecommand\useosf{%
+ \edef\librecaslon@figurestyle{OldStyle}
\defaultfontfeatures{
Ligatures = TeX ,
Extension = .otf ,
- SmallCapsFeatures={Letters=SmallCaps}
+ Scale = \LibreCaslonText@scale ,
+ }
+ \setmainfont
+ [ Numbers = {\librecaslon@figurestyle},
+ UprightFont = *-Regular ,
+ ItalicFont = *-Italic ,
+ BoldFont = *-Bold ,
+ BoldItalicFont = *-BoldItalic ]
+ {LibreCaslonText}
+ \defaultfontfeatures{}
}
\newfontfamily\librecaslon
[ Numbers = {\librecaslon@figurestyle},