On 11.03.2013 21:41, jp charras wrote:
Le 11/03/2013 15:17, Sergey A. Borshch a écrit :
This patch makes scale option "fit to page" do the same as in all
other programs worldwide - produce biggest image that still fits to
page.
Pcbnew generates 1:1-scaled centered image instead.
Sorry, your patch does not work:
- scale is evaluated as int, not double.
- page margins are not taken in account.
- crashes with void boards.
Yes, you're right, my fault.
reworked patch attached.
Thanks for quick response and commiting other my patches.
Sergey