summaryrefslogtreecommitdiff
path: root/fonts/xcharter/tex/OT1XCharterTH-tlf.fd
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/xcharter/tex/OT1XCharterTH-tlf.fd')
-rw-r--r--fonts/xcharter/tex/OT1XCharterTH-tlf.fd5
1 files changed, 3 insertions, 2 deletions
diff --git a/fonts/xcharter/tex/OT1XCharterTH-tlf.fd b/fonts/xcharter/tex/OT1XCharterTH-tlf.fd
index c1a07153c3..5279a55a55 100644
--- a/fonts/xcharter/tex/OT1XCharterTH-tlf.fd
+++ b/fonts/xcharter/tex/OT1XCharterTH-tlf.fd
@@ -1,11 +1,12 @@
\ProvidesFile{OT1XCharterTH-tlf.fd}[2021/05/28 v1.0 font definition file for OT1/XCharterTH/tlf]
\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
+
\DeclareFontFamily{OT1}{XCharterTH-tlf}{}
\DeclareFontShape{OT1}{XCharterTH-tlf}{m}{it}{<-> \XCharter@@scale XCharter1TH-Italic-tlf-ot1}{}
\DeclareFontShape{OT1}{XCharterTH-tlf}{b}{it}{<-> \XCharter@@scale XCharter1TH-BoldItalic-tlf-ot1}{}