summaryrefslogtreecommitdiff
path: root/fonts/xcharter/tex/OT1XCharter-LF.fd
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/xcharter/tex/OT1XCharter-LF.fd')
-rw-r--r--fonts/xcharter/tex/OT1XCharter-LF.fd9
1 files changed, 7 insertions, 2 deletions
diff --git a/fonts/xcharter/tex/OT1XCharter-LF.fd b/fonts/xcharter/tex/OT1XCharter-LF.fd
index 2453e1663e..5697344a0d 100644
--- a/fonts/xcharter/tex/OT1XCharter-LF.fd
+++ b/fonts/xcharter/tex/OT1XCharter-LF.fd
@@ -4,11 +4,16 @@
[2022/02/17 (autoinst and msharpe) Font definitions for OT1/XCharter-LF.]
\expandafter\ifx\csname XCharter@scale\endcsname\relax
- \let\XCharter@@scale\@empty
+ \global\let\XCharter@@scale\@empty
\else
- \edef\XCharter@@scale{s*[\csname XCharter@scale\endcsname]}%
+ \xdef\XCharter@@scale{s*[\csname XCharter@scale\endcsname]}%
\fi
+\expandafter\ifx\csname XCharter@altone\endcsname\relax
+ \global\let\XCharter@@altone\@empty
+\else
+ \xdef\XCharter@@altone{\XCharter@altone}%
+\fi
\DeclareFontFamily{OT1}{XCharter-LF}{}
\DeclareFontShape{OT1}{XCharter-LF}{b}{sc}{