* Fix Bug #1348607 and a possible crash in libedit dialog component properties after moving up the first user field (which in not possible now).

* better info message in pcbnew when trying to delete a footprint in legacy library
This commit is contained in:
jean-pierre charras
2014-07-25 19:49:14 +02:00
parent 6cc3addc68
commit 37757b5283
3 changed files with 9 additions and 6 deletions
+2 -1
View File
@@ -79,6 +79,8 @@ void PDF_PLOTTER::SetViewport( const wxPoint& aOffset, double aIusPerDecimil,
// The CTM is set to 1 user unit per decimil
iuPerDeviceUnit = 1.0 / aIusPerDecimil;
SetDefaultLineWidth( 100 / iuPerDeviceUnit ); // arbitrary default
/* The paper size in this engined is handled page by page
Look in the StartPage function */
}
@@ -511,7 +513,6 @@ void PDF_PLOTTER::StartPage()
paperSize = pageInfo.GetSizeMils();
paperSize.x *= 10.0 / iuPerDeviceUnit;
paperSize.y *= 10.0 / iuPerDeviceUnit;
SetDefaultLineWidth( 100 / iuPerDeviceUnit ); // arbitrary default
// Open the content stream; the page object will go later
pageStreamHandle = startPdfStream();