In message <
mpro.r7q0j800gp...@mw-software.com>
Tim has drawn our attention to this thread, as the original Draw file was
created by RiscOSM.
What were you using to view the SVG file? We tested it using Firefox on a
Linux laptop, so that we could compare it with the Draw file viewed on the
neighbouring Iyonix. In Firefox the SVG file looks very like the original
Draw file, with the only lines anyone could complain about being too thin
being the contour lines.
But Tim's complaint had been that the roads were too thin, not that the
contour lines were too thin. Aha! thought I, was he viewing it on RISC OS -
perhaps using Netsurf, and perhaps Netsurf is doing something different?
Sure enough, I find that Netsurf renders all the lines with the same (thin)
thickness, whether they are contours, roads, cycle paths or anything else!
Also, it draws dashed lines as solid, and doesn't manage to rotate the
rotated text or use the correct colour for the text.
Therefore Netsurf's SVG rendering is not as good as it should be, and I
would be very surprised if editing the SVG file could improve it. Netsurf
is clearly not paying attention to the stroke-width or stroke-dasharray
parameters when rendering <path> objects, and is ignoring the transform
matrix and fill parameters when rendering <text>. I'm afraid I don't
think there's anything I can do about that: that's something for the
Netsurf developers!
The other fault I've noticed is that all the bits of text seem to have a
linefeed character at their start. This could be a quirk of the Artworks
conversion, but it's only a problem because Netsurf attempts to render the
character (it was invisible on Firefox).
It must be the contour lines that Martin noticed, which are indeed 0.1 pt (to
avoid them dominating the map: they can be made thicker by editing the
RiscOSM style sheet). Everything else is at least 0.2 pt, and the roads are
considerably wider than that! Note that his remark about Draw not
anti-aliasing is assuming that you are not running SpecialFX.
The latest version of RiscOSM can export PNG or JPEG files of maps, both of
which are supported universally on web browsers on all platforms. So there
should be no need to try to include a Draw file of a map on a web page.
--
Hilary Phillips
Sine Nomine Software
Durham