PDF plotter: fix a incorrect item in the header.

Fixes #5593
https://gitlab.com/kicad/code/kicad/issues/5593
This commit is contained in:
jean-pierre charras 2021-04-06 11:28:56 +02:00
parent b2f788adc1
commit fc04ece458
1 changed files with 1 additions and 3 deletions

View File

@ -752,7 +752,6 @@ bool PDF_PLOTTER::EndPlot()
">>\n", (long) pageHandles.size() ); ">>\n", (long) pageHandles.size() );
closePdfObject(); closePdfObject();
// The info dictionary // The info dictionary
int infoDictHandle = startPdfObject(); int infoDictHandle = startPdfObject();
char date_buf[250]; char date_buf[250];
@ -772,8 +771,7 @@ bool PDF_PLOTTER::EndPlot()
"/Producer (KiCad PDF)\n" "/Producer (KiCad PDF)\n"
"/CreationDate (%s)\n" "/CreationDate (%s)\n"
"/Creator %s\n" "/Creator %s\n"
"/Title %s\n" "/Title %s\n",
"/Trapped False\n",
date_buf, date_buf,
encodeStringForPlotter( m_creator ).c_str(), encodeStringForPlotter( m_creator ).c_str(),
encodeStringForPlotter( m_title ).c_str() ); encodeStringForPlotter( m_title ).c_str() );