From 172cd5c4e5156470dc9b8355a2a1b316134324e6 Mon Sep 17 00:00:00 2001 From: Benjamin Mako Hill Date: Mon, 11 May 2026 16:07:36 -0700 Subject: [PATCH] templates: swap EB Garamond for Libertinus Serif EB Garamond's bold weight ships with only 127 cmapped glyphs --- no Latin Extended-A, no Vietnamese, no Greek, no Cyrillic, no fi/fl ligatures --- so any bold text containing accented characters (Polish, Czech, Vietnamese, etc., as well as bold author names in citations) renders as tofu boxes or font-fallback substitutions. Switch the default body font in paper_template, memo_template, and letter_template to Libertinus Serif. It ships in texlive-fonts-extra, has comprehensive Latin / Vietnamese / Greek / Cyrillic coverage in every weight, and includes all the standard f-ligatures explicitly. Each template also picks up a commented-out \\setmainfont{Garamond Premier Pro} block plus a short note: Adobe Garamond Premier Pro is Mako's preferred body font but is commercial and not redistributable, so the public templates default to Libertinus and CDSC members can swap in once they have the font installed (e.g., in ~/.fonts/). README updated to match. Co-Authored-By: Claude Sonnet 4.6 --- README | 4 ++-- letter_template/text.tex | 10 +++++++++- memo_template/text.tex | 10 +++++++++- paper_template/text.tex | 10 +++++++++- 4 files changed, 29 insertions(+), 5 deletions(-) diff --git a/README b/README index 3682b11..02b7666 100644 --- a/README +++ b/README @@ -47,8 +47,8 @@ On other systems, installing a full TeX Live distribution should provide everything needed. All four templates build with LuaLaTeX (via latexmk -lualatex). The text -fonts are EB Garamond (provided by texlive-fonts-extra) and TeX Gyre -Heros. +fonts are Libertinus Serif and TeX Gyre Heros, both provided by +texlive-fonts-extra. ================================ === Accessibility ============== diff --git a/letter_template/text.tex b/letter_template/text.tex index abb1b5f..f7d2e6d 100644 --- a/letter_template/text.tex +++ b/letter_template/text.tex @@ -10,7 +10,15 @@ % (-- => en-dash, --- => em-dash, `` and '' => curly quotes), so % re-enable them globally for every font loaded below. \defaultfontfeatures{Ligatures=TeX} -\setmainfont{EB Garamond} +\setmainfont{Libertinus Serif} +% Mako prefers Adobe Garamond Premier Pro +% (https://fonts.adobe.com/fonts/garamond-premier-pro). It is a +% commercial font and is not redistributable, so the templates default +% to the free Libertinus Serif above. If you have the font installed +% (e.g., dropped into ~/.fonts/), comment the line above and uncomment +% the next one. CDSC members can contact Mako (mako@atdot.cc) for the +% font files. +% \setmainfont{Garamond Premier Pro} \setsansfont{TeX Gyre Heros} \usepackage[letterpaper,left=1.3in,right=1.3in,top=0.8in,bottom=0.8in]{geometry} diff --git a/memo_template/text.tex b/memo_template/text.tex index 6ab2f72..a47ccbe 100644 --- a/memo_template/text.tex +++ b/memo_template/text.tex @@ -18,7 +18,15 @@ % (-- => en-dash, --- => em-dash, `` and '' => curly quotes), so % re-enable them globally for every font loaded below. \defaultfontfeatures{Ligatures=TeX} -\setmainfont{EB Garamond} +\setmainfont{Libertinus Serif} +% Mako prefers Adobe Garamond Premier Pro +% (https://fonts.adobe.com/fonts/garamond-premier-pro). It is a +% commercial font and is not redistributable, so the templates default +% to the free Libertinus Serif above. If you have the font installed +% (e.g., dropped into ~/.fonts/), comment the line above and uncomment +% the next one. CDSC members can contact Mako (mako@atdot.cc) for the +% font files. +% \setmainfont{Garamond Premier Pro} \setsansfont{TeX Gyre Heros} \usepackage[letterpaper,left=1.65in,right=1.65in,top=1.3in,bottom=1.2in]{geometry} diff --git a/paper_template/text.tex b/paper_template/text.tex index 26571b0..efc59dd 100644 --- a/paper_template/text.tex +++ b/paper_template/text.tex @@ -18,7 +18,15 @@ % (-- => en-dash, --- => em-dash, `` and '' => curly quotes), so % re-enable them globally for every font loaded below. \defaultfontfeatures{Ligatures=TeX} -\setmainfont{EB Garamond} +\setmainfont{Libertinus Serif} +% Mako prefers Adobe Garamond Premier Pro +% (https://fonts.adobe.com/fonts/garamond-premier-pro). It is a +% commercial font and is not redistributable, so the templates default +% to the free Libertinus Serif above. If you have the font installed +% (e.g., dropped into ~/.fonts/), comment the line above and uncomment +% the next one. CDSC members can contact Mako (mako@atdot.cc) for the +% font files. +% \setmainfont{Garamond Premier Pro} \setsansfont{TeX Gyre Heros} \usepackage{wrapfig}