roelj / inklingreader

A GNU/Linux-friendly version of the Wacom Inkling SketchManager.
GNU General Public License v3.0
50 stars 16 forks source link

Not all Lines are displayed, but the WPI parser seems to have them. #43

Open Lukey3332 opened 8 years ago

Lukey3332 commented 8 years ago

Hello Everyone, I compiled inklingreader on an ARM platform(The OpenPandora to be precise) in an Ubunto chroot . But the majority of the Lines are not Displayed and Exported: inkling1 however, when i modify src/parser/wpi.c to print all the x and y coordinates (by adding "printf("%i %i\n",(int)coordinate->y,(int)coordinate->x);" to line 141) and display them in gnuplot all the Lines are there: inkling3 but it looks like there's some warping: inkling2

I also have the Same issue on my PC(debian 8.3 amd64), but its not that bad: inkling5

I hope you can Fix these issues.

roelj commented 8 years ago

Thank you for your elaborate report. Can you share the WPI file so I could debug this more easily?

Lukey3332 commented 8 years ago

Here: sketch.zip

roelj commented 8 years ago

Thank you. I am going to try to reproduce this on a Raspberry Pi (ARM also), and look into the cause of this problem.

Unfortunately, I am a bit short on free time, so this could take a few weeks when it's difficult.

roelj commented 8 years ago

An update: I've been able to reproduce this issue. It seems that all data is there, however, it is displaced to the right. Try exporting it as SVG and open it in Inkscape, zoom out to about 30% and you'll find your drawing on the right.

I'm not sure what's causing this, so I still have to investigate that.