SVG conversions?
Pages: 1 2
jim lesurf (2082) 1438 posts |
Slight progress. I realised from reading Raik’s comments and then checking that I was still using NetSurf 3.8. So I’ve updated to 3.9. This does produce some changes. But no cigar. With js on I can now see the SVGs. But with the graphs covered with the text. However I don’t get the ‘dropdown menus’. So can’t navigate using the browser. Instead I have to look at the page code, find the individual URLs, type them in, and then get the results page for a given set of headphones. With all the graphs overlaid with text making them unreadable. :-/ If I do a whole page save as an ‘application’ I can find the SVG files. But these also have the text obscuring the graphs. The text in the examples I have seen is always in the form of individual characters NOT strings. So a PITA to try and remove, even if I save out as a drawfile. So the result remains almost useless. :-/ |
Raik (463) 2061 posts |
Have a small lunch break… Have used Phoenix with activ AcornSSL (the one from Collins FTPc 1.55b) and open https://headphonetestlab.co.uk/home-welcome … Browse was not working for me. |
jim lesurf (2082) 1438 posts |
Sorry, but I’m a numpty so don’t really know what you did or where you got the software you used. ‘Phoenix’ don’t mean anything to me. Can you please give a step-by-step with URLs for items I’d need to get? |
Raik (463) 2061 posts |
Pff, not easy for me. I hope I sort this right. |
Chris Gransden (337) 1207 posts |
There’s an updated version of ImageView 0.02 alpha available here. The only changes are it’s built with VFP and a more recent version of ImageMagick. It fixes the problem of not displaying certain SVG files. Also available here is a port of rsvg-convert command line utility. It can be used to convert SVG to PDF which can then be loaded into !PDF and exported as a Draw file. |
jim lesurf (2082) 1438 posts |
Thanks, Chris. Alas, that’s closer, but still not right somehow! I can get images, but with the TEXT AWOL. Instead I get a rectangle where each char might be, or no sign of text! Varies with the route by which I get the SVGs, but remains problematic. Maybe I am doing something wrong. e.g. If I ‘view’ a page with !NetSurf it doesn’t show the graphics. But I can do a ‘full save’ that puts all the data fetched to build it into a runnable directory. I can then see SVG files there. If I then use rsvg-convert I get: (rsvg-convert:134802877): Pango-[1;33mWARNING[0m **: failed to choose a font, expect ugly output. engine-type=‘PangoRenderFc’, script=‘latin’ (rsvg-convert:134802877): Pango-[1;33mWARNING[0m **: failed to choose a font, expect ugly output. engine-type=‘PangoRenderFc’, script=‘common’ I do get a PDF. It has the lines of the graph, etc. But no text. Similarly, ImageView shows the lines, but not the text. I guess my problem is the missing ‘config file’ but I don’t know what this is, or where. BTW I’ve now had a chance to try Phoenix and that gives me similar problems as well as some navigation ones that differ from the ones with !NetSurf. |
Chris Gransden (337) 1207 posts |
The blank text is due to not having Fontconfig installed so no fonts are found. There’s a zip file here containing !UnixFC and !UnixFont. They both just need to be ‘seen’ before running ImageView and rsvg-convert. |
jim lesurf (2082) 1438 posts |
Yes!! Excellent! :-) Many thanks, Chris. I can now get decent pdf vector file – and then also DrawFiles – from the SVGs that adorn the HTL pages. Shame that it needs to be such a ‘round the houses’ route rather than it being a standard feature of a common RO browser, but a coconut nevertheless. :-) One thing I noticed is that the PDF shows a shaded ‘backtext’ that is presumably to ‘watermark’ the results. But the DrawFile loses the transparencies so I get full-shade text which covers the view more. Presumably this is because when I used !Vector it and DrawFiles don’t ‘do’ transparency? However !ArtWorks does show the transparencies if I drop the pdf onto it. Looks excellent complete with anti-aliasing, etc. :-)) |
Raik (463) 2061 posts |
Have try the latest Otter update from here. Try to use “Sennheiser”… First click to an diagram gives a “half sized” image… Adjust click and open frame in a new window gives the correct view. |
Pages: 1 2