Mailing list archives : pcb-rnd

ID:4788
From:rn...@igor2.repo.hu
Date:Wed, 31 Mar 2021 19:28:04 +0200 (CEST)
Subject:Re: [pcb-rnd] the svg viewer problem - and a solution
in-reply-to:4786 from ka...@aspodata.se
 
 
On Wed, 31 Mar 2021, karl@aspodata.se wrote:
 
>Igor2:
>...
>> Meanwhile, in route-rnd my code emits svg debug images, because I need to 
>> draw with lines and arcs with round cap stroke at different widths and 
>> color. 
>> 
>> TL;DR: new svg viewer: http://repo.hu/projects/rsvg-zoompan/
>...
>
>Wouldn't it be easier to just emit som postscript code and view it in 
>gv, which has an autoupdate feature ("watch file"). Zooming is via menu
>(or by select a rect by middle button and how much zoom, and panning
>is with the left button of the mouse.
 
Thanks, but I have very bad experience with gv, I'd avoid it at any cost:
 
- it doesn't work properly on my system (the mouse cursor stays in 
progress loop after loading the file)
 
- I don't see any easy scroll/pan; menu for zooming is not acceptable, the 
zoom box doesn't work here and pops up something I don't need
 
- if a ps file breaks, gv does not ever give an error message that is 
remotely useful - typically I can't figure which line in the file causes 
the problem
 
- I find svg more readable and easier to debug
 
- I find gv's GUI real annoying - please look at rsvg-show, it has no 
widgets, just the drawing; no windows popping up in my face, no buttons
 
Besides gv is not my thing, as I wrote, I already have the tool that does 
almost exactly what I need. Which means "easier" is really hard to define. 
I mean switching from a tool that does almost exactly what I want to 
anything else wouldn't really be easier in any way, sounds more like 
leaveing the local optimum.
 
So the purpose of my email was not to find a solution, but to promote one 
that worked well for me. In case someone else has to view svgs for 
whatever reason, and they can't or don't want to convert the files to 
something else, they my find that tool useful.
 
Best regards,
 
Igor2
 

Reply subtree:
4788 Re: [pcb-rnd] the svg viewer problem - and a solution from rn...@igor2.repo.hu