Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

YASB: Yet Another SVG Browser

by hackmare (Pilgrim)
on Aug 05, 2002 at 02:25 UTC ( #187578=perlmeditation: print w/replies, xml ) Need Help??

I've gone and wasted two days to see what it would take to put out a lousy, low-tech SVG browser in Perl based on tkweb.

So....

Another SVG browser. and it's less good than all the others out there.

It's really, really primitive but it is getting closer to usable. Given a bit of time and coding it should support most of the mobile SVG dtds and should not fail on any valid SVG.

screenshots and source here

The application uses the Perl/Tk GUI, LWP, SVG::Parser, and the source code is less than 300 lines long (130 statements, of which 20-30 are GUI housekeeping. The intended userbase for this application is bored people with too much time on their hands.

Main flaws:
-Colour/linetypes broken (still).
-still no zooming/panning
-still full of bugs.
-javascript support highly unlikely.
-Currently does not support external refs.
-Currently pretty much useless except as a proof of capability.
-No SVG font support yet (ever?)
-Essentially have to restart the application for each new page until I implement screen refreshing.

If anyone bothers to download it and give it a try, they will need to make sure they have the required underlying modules including SVG; SVG::Parser, LWP, and TK (all on CPAN). LWP has a number of dependencies.

I would be quite interested in hearing if anyone has any success with it.

Hackmare

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://187578]
Approved by graff
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2020-02-28 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (126 votes). Check out past polls.

    Notices?