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

Print out of scale with 0.24.6 #137

Closed lucalcin closed 7 years ago

lucalcin commented 7 years ago

Hi,

With the version 0.24.6 was introduced the layer selection for printing. Unfortunately with the same version the scale of the printed PCB is uncorrect, and the image is shrinked more or less by a 10% making the print unusable. The same circuit printed with the version 0.24.3 is correct. I noticed this bug with OSX Sierra, printing on HP Laserjet. (The sample image shows two different versions of the same board, but the overall dimension is identical) img_3051

DarwinNE commented 7 years ago

Hi @lucalcin thanks for the info. Someone described something similar on Sourceforge (in Italian):

https://sourceforge.net/p/fidocadj/discussion/997486/thread/3e9a9343/?limit=25#5a62

I think @Max2433BO did some research. In any case, is the problem manifesting itself in the same way with version 0.24.5?

https://github.com/DarwinNE/FidoCadJ/releases/tag/v0.24.5

changes about the printing code appeared between 0.24.5 and 0.24.6, but the size calculation is supposed to remain the same.

Cheers, D.

DarwinNE commented 7 years ago

I tried to print this:

[FIDOCAD]
RV 0 0 1000 1000 0

It should be a 12.7 cm x 12.7 cm square and indeed the output size is wrong. This is a major bug which must be corrected as soon as possible!

Cheers, D.

lucalcin commented 7 years ago

Hi again,

anyway even in all previous version I’ve seen that the print was a little bit smaller. With small boards the difference is minimal, but can be a problem with huge board.

Luca

Il giorno 26 apr 2017, alle ore 19:09, Davide Bucci notifications@github.com ha scritto:

I tried to print this:

[FIDOCAD] RV 0 0 1000 1000 0 It should be a 12.7 cm x 12.7 cm square and indeed the output size is wrong. This is a major bug which must be corrected as soon as possible!

Cheers, D.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DarwinNE/FidoCadJ/issues/137#issuecomment-297478526, or mute the thread https://github.com/notifications/unsubscribe-auth/Aav2GGFhjZ1EBXE-BHhvTqnMe8JT1xFxks5rz3o7gaJpZM4NIo7P.

DarwinNE commented 7 years ago

There was indeed a (quite embarrassing) error in the code I wrote.

Sorry! It should be OK now.