summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
Diffstat (limited to 'metapost')
-rw-r--r--metapost/context/base/mp-mlib.mpiv4
1 files changed, 2 insertions, 2 deletions
diff --git a/metapost/context/base/mp-mlib.mpiv b/metapost/context/base/mp-mlib.mpiv
index eaef033a9..0d4285005 100644
--- a/metapost/context/base/mp-mlib.mpiv
+++ b/metapost/context/base/mp-mlib.mpiv
@@ -156,9 +156,9 @@ enddef ;
defaultfont := "Mono" ; % was cmr10, could be lmmono10-regular, but is fed into context anyway
-vardef fontsize expr str =
+vardef fontsize expr name =
save size ; numeric size ;
- size := bbwidth(textext("\MPfontsizehskip{" & defaultfont & "}")) ;
+ size := bbwidth(textext("\MPfontsizehskip{" & name & "}")) ;
if size = 0 :
12pt
else :