diff --git a/otagofonts.sty b/otagofonts.sty index db29eef..978dfba 100644 --- a/otagofonts.sty +++ b/otagofonts.sty @@ -1,4 +1,4 @@ -\def\filedate{2 May 2024} +\def\filedate{23 May 2024} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Set up official Otago fonts based on what’s available. Fall back to close @@ -11,11 +11,12 @@ % v1.1 Refactored font checking mechanism. % v1.2 Fixed sans-serif scaling, added Noto Sans. % v1.3 Added new Wickliffe fonts and fallbacks. +% v1.3.1 Switched serif font to Wickliffe Light. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e}[2001/06/01] -\ProvidesPackage{otagofonts}[2024/05/02 Otago standard fonts v1.3] +\ProvidesPackage{otagofonts}[2024/05/23 Otago standard fonts v1.3.1] \RequirePackage{etoolbox} @@ -47,6 +48,9 @@ \newbool{foundprimaryfont} \PackageInfo{otagofonts}{Looking for suitable primary font} +% font-specific defaults +\defaultfontfeatures[Wickliffe Light]{BoldFont={Wickliffe}} + \renewcommand*{\do}[1]{% \PackageInfo{otagofonts}{Trying #1...} \IfFontExistsTF{#1}{% @@ -61,7 +65,7 @@ }{}% } -\docsvlist{Wickliffe,Minion Pro,Crimson Pro,Crimson Text,Georgia,Times New Roman} +\docsvlist{Wickliffe Light,Minion Pro,Crimson Pro,Crimson Text,Georgia,Times New Roman} \ifbool{foundprimaryfont}{% % Hack to prevent digits in hyperlinks from being set in the main font instead of the mono font.