Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

comment on

( [id://3333]=superdoc: 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


In reply to YASB: Yet Another SVG Browser by hackmare

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-24 03:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found