[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63646] Long creation times for sparseimages.m

From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #63646] Long creation times for sparseimages.m in manual due to -svgconvert option to print
Date: Sun, 15 Jan 2023 08:30:23 -0500 (EST)

Follow-up Comment #9, bug #63646 (project octave):

>> ... the result for this example is that no merges ever happen

At least for me the SVG file size is reduced from 5.7 MB with -nosvconvert to
1.8 MB with svgconvert. This is the result of merging 3 triangles forming the
original dot (hexagon) marker to a single hexagon path.

>> Is there a better way to do this job other than by an exhaustive search?

I don't know. This is the most basic approach I came to but there may be much
more efficient ones.

>> How important is it to merge the polygons?

For small makers the difference is hardly visible in SVG and PDF printouts but
for large polygons then you'll notice that unless the triangles are merged
into polygons viewers let white (background color) lines appear between

>> Could we make it optional?

octave-svgconvert has an option to enable/disable that merging step, which is
enabled by default. We could expose that option through a print option.


Reply to this item at:


Message posté via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]