- Home
- Forum
- ASP.NET MVC - EJ 2
- Problem with PDF/X-1A compliance
Problem with PDF/X-1A compliance
Hello,
I've used FileFormats PDF to create PDF/X1-A files.
However, when checked against Adobe Acrobat Preflight, it complains about transparency issues :
However, when checked against Adobe Acrobat Preflight, it complains about transparency issues :
Transparency groups (and any string or line drawn within those groups DrawString or PDFTable)
Do you have any idea to generate really PDF/X1-A files with complianceLevel within PDF FileFormats ??
Thank's for investigating.
Attachment: Sans_titre_b0446235.zip
SIGN IN To post a reply.
5 Replies
SL
Sowmiya Loganathan
Syncfusion Team
March 27, 2020 12:09 PM UTC
Hi Waxalica,
Thank you for contacting Synfusion support.
We have tried to reproduce the reported issue by creating the PDF/X1-A2001 document using the code snippet in the below UG documentation,
We suspect that the issue may occur due to using of a trial version (this will include a watermark in the generated PDF document). While using the licensed assemblies for creating the PDF/X1-A2001 document, there are no issues in Adobe Acrobat preflight. Please refer the below screenshot for more details,
So please try with the licensed assemblies and let us know the result.
Regards,
Sowmiya Loganathan
WK
Waxalica Koba
March 27, 2020 01:10 PM UTC
Hello,
I investigated further and problem appears as soon as I add a grid with Transparent borders.
How can I draw those lines without any color (making them white draws over the other black lines, so it is not an option)
Or even prevent from drawing them ?
I attached a sample program to reproduce the issue.
I tried replacing Transparent with White borders.
I also tried drawing with PdfPen black with o width, with no success.
Attachment: Program_a597ee3a.zip
SL
Sowmiya Loganathan
Syncfusion Team
March 30, 2020 09:15 AM UTC
Hi Waxalica,
Thank you for the code snippet.
We were able to reproduce the reported behavior and currently we are validating on this. We will update the further details on 1st April, 2020.
Regards,
Sowmiya Loganathan
SL
Sowmiya Loganathan
Syncfusion Team
April 1, 2020 01:17 PM UTC
Hi Waxalica,
On our further analysis ,the transparency does not support PDF/X1-A conformance. So we can’t use transparency to add grid with Transparent borders.
We can handle this issue to set border width is zero for create grid with Transparent borders. So we have confirmed that the issue is a defect. The fix for this issue is estimated to be available on April 8, 2020.
Regards,
Sowmiya Loganathan
RB
Ravikumar Baladhandapani
Syncfusion Team
April 8, 2020 02:55 PM UTC
Hi Waxalica,
The reported issue “Setting transparency table cell border fails the PDF conformance (PDF/X-1A)" has been fixed and the patch for this fix can be downloaded from the following location.
We can create grid with transparent border to create PdfPen with zero width. Please refer the below code snippet,
|
private static readonly PdfPen BlackPen = new PdfPen(new PdfColor(0, 0, 0), 1f);
private static readonly PdfPen BlackPenHalf = new PdfPen(new PdfColor(0, 0, 0), 0.2f);
private static readonly PdfPen TranseparentBorder = new PdfPen(new PdfColor(0, 0, 0), 0);
private static readonly PdfGridCellStyle GridCommandesCellStyleB = new PdfGridCellStyle
{
Borders =
{
Left = BlackPen,
Right = BlackPen,
Top = TranseparentBorder,
Bottom = TranseparentBorder
},
Font = Arial7B,
CellPadding = new PdfPaddings(5, 10, 1, 1)
}; |
Recommended approach - exe will perform automatic configuration
Please find the patch setup from below location:
Advanced approach – use only if you have specific needs and can directly replace existing assemblies for your build environment
Please find the patch assemblies alone from below location:
NuGet packages: http://syncfusion.com/Installs/support/patch/18.1.0.42/603029/F152770/SyncfusionNuget_18.1.0.42_603029_4082020075323502_F152770.zip
Assembly Version: 18.1.0.42
Installation Directions :
This patch should replace the files “Syncfusion.Pdf.Base.dll” under the following folder.
$system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\4.5.1
Eg : $system drive:\Program Files\Syncfusion\Essential Studio\18.1.0.42 \precompiledassemblies\18.1.0.42 \4.5.1
To automatically run the Assembly Manager, please check the Run assembly manager checkbox option while installing the patch. If this option is unchecked, the patch will replace the assemblies in precompiled assemblies’ folder only. Then, you will have to manually copy and paste them to the preferred location or you will have to run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies.
Disclaimer :
Please note that we have created this patch for version 18.1.0.42 specifically to resolve the following issue(s) reported in this/the forum 152770
If you have received other patches for the same version for other products, please apply all patches in the order received.
This fix will be included in our 2020 Volume 1 SP1 release which will be available by end of May 2020 tentatively.
Regards,
Ravikumar.
SIGN IN To post a reply.
- 5 Replies
- 3 Participants
-
WK Waxalica Koba
- Mar 25, 2020 11:00 PM UTC
- Apr 8, 2020 02:55 PM UTC