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