I am converting a PDF file to PDF/A file with PDF/A-2b specification with help of ghost script 9.52.
gswin64 -dPDFA=2 -dBATCH -dNOPAUSE -dFastWebView -sColorConversionStrategy=UseDeviceIndependentColor -sProcessColorModel=DeviceRGB -sDEVICE=pdfwrite -dPDFACompatibilityPolicy=1 -sOutputFile=pdf_output_1.pdf PDFA_def2.ps input.pdf -dPDFSETTINGS=/prepress pdfmarks.txt
After converting , when I check the pdf/a file with Adobe Preflight, I am getting a warning as follows.
"a font with same name is embedded multiple times. This can lead to wrong if the PDF viewer cannot differentiate these fonts"
When I see the Fonts option from the properties, I am able to see , same CIDFonts are added multiple times as follows.
I am able to fix this issue via preflight option with clicking Fix in Adobe Pro. With that fix, font names are suffixed with auto incrementer values and getting unique in name.
But my requirement is for doing this via GS itself via script.
Any help appreciated !!
