From fc04ece458871cf8c030915d7f48fd8a9ddad36e Mon Sep 17 00:00:00 2001
From: jean-pierre charras <jp.charras@wanadoo.fr>
Date: Tue, 6 Apr 2021 11:28:56 +0200
Subject: [PATCH] PDF plotter: fix a incorrect item in the header. Fixes #5593
 https://gitlab.com/kicad/code/kicad/issues/5593

---
 common/plotters/PDF_plotter.cpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/common/plotters/PDF_plotter.cpp b/common/plotters/PDF_plotter.cpp
index 3a2d905219..252c8766a0 100644
--- a/common/plotters/PDF_plotter.cpp
+++ b/common/plotters/PDF_plotter.cpp
@@ -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() );