summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2012-01-05 19:27:18 +0100
committerHans Hagen <pragma@wxs.nl>2012-01-05 19:27:18 +0100
commit2bf7943cdc4d29a1441ab45d3c3c23d6ea62ce8d (patch)
tree55b6971900f29d3d92c1842113b0a86b48173392 /metapost
parent94124bc6ebef1359c1994f9ec64ac5161d2db276 (diff)
downloadcontext-2bf7943cdc4d29a1441ab45d3c3c23d6ea62ce8d.tar.gz
beta 2011.11.03 23:27
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 :