eeschema: Fix bitmap scaling when printing
Bitmaps scale internally to 100nm instead of 1mil. There is a better way to do this but I think we'll be adjusting it again when Cairo printing in finished.
This commit is contained in:
parent
8fed9df1d0
commit
a35db35029
|
@ -48,8 +48,8 @@ BITMAP_BASE::BITMAP_BASE( const wxPoint& pos )
|
||||||
m_bitmap = NULL;
|
m_bitmap = NULL;
|
||||||
m_image = NULL;
|
m_image = NULL;
|
||||||
m_ppi = 300; // the bitmap definition. the default is 300PPI
|
m_ppi = 300; // the bitmap definition. the default is 300PPI
|
||||||
m_pixelScaleFactor = 1000.0 / m_ppi; // a value OK for bitmaps using 300 PPI
|
m_pixelScaleFactor = 254000.0 / m_ppi; // a value OK for bitmaps using 300 PPI
|
||||||
// for Eeschema which uses currently 1000PPI
|
// for Eeschema which uses currently 254000PPI
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue