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:
Seth Hillbrand 2020-01-09 20:10:30 -08:00
parent 8fed9df1d0
commit a35db35029
1 changed files with 2 additions and 2 deletions

View File

@ -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
} }