summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2011-11-04 01:20:13 +0200
committerMarius <mariausol@gmail.com>2011-11-04 01:20:13 +0200
commit59b391358db7f668f0887943cde339fa1152b081 (patch)
tree27728cd801deca7cc6ebbfbd3fc23370b5c08045 /metapost
parent90e916b32378e7977b12866e008a073b07c25378 (diff)
downloadcontext-59b391358db7f668f0887943cde339fa1152b081.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 :