DarwinNE / FidoCadJ

FidoCadJ is a free user-friendly vector graphic editor for MacOSX, Linux, Windows and Android with a library of electronic symbols.
http://darwinne.github.io/FidoCadJ/
GNU General Public License v3.0
111 stars 40 forks source link

Incorrect export of dashed lines #142

Closed Max2433BO closed 6 years ago

Max2433BO commented 6 years ago

Hi @DarwinNE , I report a little bug (... I hope ;) ):

if I export a dotted line in .png or .jpg format, I get a continuous line (or a very dense dotted line), but if I export in .pdf format the dotted line are right.

For example, with this file:

[FIDOCAD] FJC C 3.0 FJC A 0.8 FJC B 0.8 LI 30 20 120 20 0 LI 30 25 120 25 0 FCJ 0 0 3 2 1 0 LI 30 30 120 30 0 FCJ 0 0 3 2 2 0 LI 30 35 120 35 0 FCJ 0 0 3 2 3 0 LI 30 40 120 40 0 FCJ 0 0 3 2 4 0

you get these images

prova_tratteggio .jpg image export

prova_tratteggio .png image export

Prova_tratteggio.pdf

I work with FidoCadj 0.24.7 on Ubuntu 16.04 64 bit, with openjdk version 1.8.0_151

That's all!!

Max

DarwinNE commented 6 years ago

Indeed, there was a bug. Should be fixed now.