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