aboutsummaryrefslogtreecommitdiff
path: root/fmt/font.h
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-07-06 17:19:57 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-07-06 18:42:06 -0400
commit3a92cd0f46c98cc8e9d80d4f7383c9fc66a281f6 (patch)
tree6e598dd8792f3c17716e8695a6b89cd31bd34a5c /fmt/font.h
parent0245930909caa958b8dcf810d85e542796a8b74d (diff)
switched from predefined vrule to \vphantom(
Diffstat (limited to 'fmt/font.h')
-rw-r--r--fmt/font.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/fmt/font.h b/fmt/font.h
index 459c452..f7d69e0 100644
--- a/fmt/font.h
+++ b/fmt/font.h
@@ -44,9 +44,6 @@
}
\gdef\xfont{
\expandafter\getfontsize\expandafter\dimen0\expandafter=\realname
- \setbox0=\hbox{\vphantom(}%
- \dimen1=\ht0\advance\dimen1 by 1.5pt%
- \expandafter\edef\orig{\realname\size\the\dimen0\setbox\strutbox=\hbox{\vrule
- depth \the\dp0\space height \the\dimen0\space width 0pt}\adjs}
+ \expandafter\edef\orig{\realname\size\the\dimen0\setbox\strutbox=\hbox{\noexpand\vphantom(}\adjs}
}
}