MantisBT - NetSurf
View Issue Details
0002449NetSurfAmiga-specificpublic2016-04-28 00:322021-02-18 15:21
ReporterChris Young 
Assigned ToChris Young 
PrioritynormalSeverityminorReproducibilityalways
StatusconfirmedResolutionopen 
PlatformAmigaOSAmigaOSOS Version4.1
Product Version3.6 
Target VersionFixed in Version 
Fixed in CI build #
Reported in CI build #
URL of problem pagehttp://fooplot.com/
Summary0002449: IFF DR2D export creates invalid file
DescriptionIFF DR2D export creates invalid file from SVG created with http://fooplot.com/
TagsNo tags attached.
Attached Files? SpglGrfC.svg (40,183) 2016-04-28 00:32
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=429&type=bug
? SpglGrfC.iff (21,706) 2016-04-28 00:32
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=430&type=bug
jpg metaview.jpg (48,776) 2016-04-28 00:33
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=431&type=bug
jpg

png oply_chunk.png (62,054) 2016-05-02 15:51
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=433&type=bug
png

Notes
(0001373)
Chris Young   
2016-04-28 00:34   
Appears that the grid lines are being treated errorneously as bezier curves.
(0001375)
Chris Young   
2016-05-02 15:51   
When I load this file into IFFMaster I can see the gridlines OPLY chunk (screenshot attached). It is a sequence of INDICATOR/0x00000002 (IND_MOVETO) followed by the co-ordinates, eg. 0.0,500.0,500.0,500.0.
There's not anything obviously wrong with the contents of that chunk, and neither can I see any bezier curves at all in the entire file (the graph is made up of very short straight lines).
The file is however failing to open in anything other than MetaView due to IFF parsing errors.
(0002321)
Chris Young   
2021-02-18 15:21   
After a bugfix in my datatype, this file displays ok in Multiview (except the gridlines don't display at all). In MetaView I see weird bezier curves that shouldn't be there (and an error), and in ProVector the grid displays but the lines do not (however I'm not confident the display is working correctly here, it's an old program).

Issue History
2016-04-28 00:32Chris YoungNew Issue
2016-04-28 00:32Chris YoungStatusnew => assigned
2016-04-28 00:32Chris YoungAssigned To => Chris Young
2016-04-28 00:32Chris YoungFile Added: SpglGrfC.svg
2016-04-28 00:32Chris YoungFile Added: SpglGrfC.iff
2016-04-28 00:33Chris YoungFile Added: metaview.jpg
2016-04-28 00:34Chris YoungNote Added: 0001373
2016-04-28 00:34Chris YoungStatusassigned => confirmed
2016-05-02 15:51Chris YoungNote Added: 0001375
2016-05-02 15:51Chris YoungFile Added: oply_chunk.png
2021-02-18 15:21Chris YoungNote Added: 0002321