From 72646ab6a6f3cd139beecd0407480b03ab49ff10 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Mon, 24 Jul 2006 10:49:00 +0200 Subject: stable 2006.07.24 10:49 --- metapost/context/base/mp-tool.mp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'metapost') 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) = -- cgit v1.2.3