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

This commit is contained in:
charras 2009-06-26 14:28:09 +00:00
parent 539f041b76
commit ddd8bf4870
1 changed files with 3 additions and 3 deletions

View File

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