Commit ddd8bf48 authored by charras's avatar charras

pcbnew: fixed bug 2810360 (negative plots in postscript format create complete black board)

parent 539f041b
......@@ -349,7 +349,7 @@ static void PlotTextModule( TEXTE_MODULE* pt_texte, int format_plot )
break;
}
PlotGraphicText( format_plot, pos, BLACK,
PlotGraphicText( format_plot, pos, g_Plot_PS_Negative ? WHITE : BLACK,
pt_texte->m_Text,
orient, size,
pt_texte->m_HJustify, pt_texte->m_VJustify,
......@@ -631,7 +631,7 @@ void PlotTextePcb( TEXTE_PCB* pt_texte, int format_plot, int masque_layer )
for( unsigned i = 0; i<list->Count(); i++ )
{
wxString txt = list->Item( i );
PlotGraphicText( format_plot, pos, BLACK,
PlotGraphicText( format_plot, pos, g_Plot_PS_Negative ? WHITE : BLACK,
txt,
orient, size,
pt_texte->m_HJustify, pt_texte->m_VJustify,
......@@ -643,7 +643,7 @@ void PlotTextePcb( TEXTE_PCB* pt_texte, int format_plot, int masque_layer )
}
else
PlotGraphicText( format_plot, pos, BLACK,
PlotGraphicText( format_plot, pos, g_Plot_PS_Negative ? WHITE : BLACK,
pt_texte->m_Text,
orient, size,
pt_texte->m_HJustify, pt_texte->m_VJustify,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment