summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2009-09-25 23:52:00 +0200
committerHans Hagen <pragma@wxs.nl>2009-09-25 23:52:00 +0200
commitd83bd4e8a89d96bd9dfabf4427d02efb9623e5a2 (patch)
treec46ca0538a22b89af545e545fa627f1cb6418dd2 /metapost
parent43986f8edd2afd919afbb9988cb6778fc3c02077 (diff)
downloadcontext-d83bd4e8a89d96bd9dfabf4427d02efb9623e5a2.tar.gz
beta 2009.09.25 23:52
Diffstat (limited to 'metapost')
-rw-r--r--metapost/context/base/mp-text.mp3
1 files changed, 3 insertions, 0 deletions
diff --git a/metapost/context/base/mp-text.mp b/metapost/context/base/mp-text.mp
index efba39d7d..60e16c09b 100644
--- a/metapost/context/base/mp-text.mp
+++ b/metapost/context/base/mp-text.mp
@@ -107,6 +107,9 @@ enddef ;
pair laboff.origin ; laboff.origin = (0,0) ; % (infinity,infinity) ;
pair laboff.raw ; laboff.raw = (0,0) ; % (infinity,infinity) ;
+laboff.origin = (0,0) ; labxf.origin := 0 ; labyf.origin := 0 ;
+laboff.raw = (0,0) ; labxf.raw := 0 ; labyf.raw := 0 ;
+
vardef thelabel@#(expr s, z) =
save p ; picture p ;
p = s if not picture s : infont defaultfont scaled defaultscale fi ;