From 73a3167d99bff96aa9db220f8974bb2008de5c65 Mon Sep 17 00:00:00 2001 From: Letu Ren Date: Wed, 12 Oct 2022 16:47:16 +0800 Subject: [PATCH] fix: replace wrong attribute in XCharter fontspec --- chicv.cls | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/chicv.cls b/chicv.cls index 779dc64..0bd8d3a 100644 --- a/chicv.cls +++ b/chicv.cls @@ -71,12 +71,13 @@ \setmainfont{XCharter}[ % in case XCharter is not installed Path = ./fonts/, Extension = .otf, + UprightFont = XCharter-Roman, BoldFont = XCharter-Bold, ItalicFont = XCharter-Italic, BoldItalicFont = XCharter-BoldItalic, - BoldSlantedFont = XCharter-BoldSlanted, SlantedFont = XCharter-Slanted, - RomanFont = XCharter-Roman, + BoldSlantedFont = XCharter-BoldSlanted, + SmallCapsFeatures = {Letters=SmallCaps} ] }