Pcbnew, printing in B&W: never draw the background color.
Otherwise a black background is printed. Fixes #11625 https://gitlab.com/kicad/code/kicad/issues/11625
This commit is contained in:
parent
f00de04336
commit
16667717a2
|
@ -116,6 +116,10 @@ void BOARD_PRINTOUT::DrawPage( const wxString& aLayerName, int aPageNum, int aPa
|
|||
{
|
||||
for( int i = 0; i < LAYER_ID_COUNT; ++i )
|
||||
dstSettings->SetLayerColor( i, COLOR4D::BLACK );
|
||||
|
||||
// In B&W mode, draw the background only in wxhite, because any other color
|
||||
// will be replaced by a black background
|
||||
dstSettings->SetBackgroundColor( COLOR4D::WHITE );
|
||||
}
|
||||
else // color enabled
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue