|
From: Mojca M. <moj...@gm...> - 2010-03-29 23:23:58
|
2010/3/30 Hans-Bernhard Bröker wrote: > >> (PS: one could definitely optimize the output with zillions of lines like >> 2 0 V >> 2 0 V > > Not really one couldn't, because a straight line is a very special case of a > parametric curve. The short moves are strictly necessary to make curves > that actually curve out of straight segments. One could optimize "if two consecutive line segments are straight and point to the same direction, remove point in the middle", but this would not remove the bug. Mojca PS: if it's only about the round-off error - why not putting some "lineto" statements every now and then instead of rlineto? I guess rlineto result in smaller files, but one doesn't need to "stroke" the line in the middle of curve. |