From 7abcb3538747f78361e4857078f63b7076bcf027 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Fri, 20 Apr 2007 19:05:04 +0200 Subject: [PATCH] (get_subpath_i): Don't use `round' but `floor' since the former is a no-op in metapost. --- mf/parmesan-macros.mf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mf/parmesan-macros.mf b/mf/parmesan-macros.mf index b9bbb5ebf2..6fd040c531 100644 --- a/mf/parmesan-macros.mf +++ b/mf/parmesan-macros.mf @@ -106,9 +106,9 @@ def get_subpath_i (expr curve, dir_in, dir_out, offset) = t_out := t_out + length curve; fi; - (subpath (round t_in, round t_out) of curve) shifted offset + (subpath (floor (t_in + 0.5), floor (t_out + 0.5)) of curve) + shifted offset endgroup enddef; - % EOF -- 2.39.2