diff options
author | Hans Hagen <pragma@wxs.nl> | 2006-07-24 10:49:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2006-07-24 10:49:00 +0200 |
commit | 72646ab6a6f3cd139beecd0407480b03ab49ff10 (patch) | |
tree | b7e979566c0aeda535d7a2f0c8e8cfa6bf51b2df /metapost | |
parent | 4bcfa86615a3095169831cf25639faa89b34468f (diff) | |
download | context-72646ab6a6f3cd139beecd0407480b03ab49ff10.tar.gz |
stable 2006.07.24 10:49
Diffstat (limited to 'metapost')
-rw-r--r-- | metapost/context/base/mp-tool.mp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/metapost/context/base/mp-tool.mp b/metapost/context/base/mp-tool.mp index 530793145..3b52b9d5d 100644 --- a/metapost/context/base/mp-tool.mp +++ b/metapost/context/base/mp-tool.mp @@ -1175,7 +1175,10 @@ boolean autoarrows ; autoarrows := false ; numeric ahfactor ; ahfactor := 2.5 ; def set_ahlength (text t) = - ahlength := (ahfactor*pen_size(_op_ t)) ; % _op_ added +% ahlength := (ahfactor*pen_size(_op_ t)) ; % _op_ added +% problem: _op_ can contain color so a no-go, we could apply the transform +% but i need to figure out the best way (fakepicture and take components). + ahlength := (ahfactor*pen_size(t)) ; enddef ; vardef pen_size (text t) = |