|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #52193] Font choices are ignored when printing to an image file |
Date: | Wed, 14 Feb 2018 01:00:10 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #22, bug #52193 (project octave): Attached is my Perl script mergepoly.pl which seems to do a fine job of reconstructing polygons. Sample code: demo area 1 print tst.svg exit And in the shell mergepoly.pl tst.svg > tst2.svg inkscape tst2.svg The original file tst.svg has hundreds of polygons and lots of hairlines; The reconstructed version tst2.svg is quite smooth. Since I only used regular expressions this could be done in Octave as well. We don't have an O(1) hash function like Perl, but using containers.Map is O(log2(N)) which should still be quick for the number of vertices involved. (file #43287) _______________________________________________________ Additional Item Attachment: File name: mergepoly.pl Size:2 KB _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?52193> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |