Quantcast
Channel: Adobe Community : Popular Discussions - PDF Language and Specifications
Viewing all articles
Browse latest Browse all 46145

Preflight errors for PDF/A-1a

$
0
0
We are encountering problems with preflight when we testing documents that use CID fonts with our conversion product . We get the following error messages:

CIDSystemInfo and CMap dict not compatible

Invalid WMode

Having examined the output carefully, there does not appear to be a problem in out output. The CIDSystemInfo for both the CIDFont object and the CMap object are exactly the same. Additionally, we are not writing a WMode into our fonts, since it is an optional entry, and we do not handle vertical writing mode anyway. Adding a WMode parameter in the appropriate places does not fix the error anyway.

What I suspect is happening is that Preflight is not happy with the Registry and Ordering that we are using in the CIDSystemInfo. We set the Registry to "CompanyName" and the Ordering to "Custom1". I have seen other tools complain when faced with unexpected values for the registry and Ordering, and have a feeling that is what is going on here, but our customers aren't going to be happy hearing that.

Here is some background on how our documents are created. We create our text stream using the character code from the original document. We then add each unique character code to a set of character codes. When document processing is complete, we subset the font to only the used characters. We can then create a CMap that maps the input character code to the glyph index in the subsetted font. The glyph index becomes the CID in our encoding. The CIDToGIDMap is "Identity". We also then create a ToUnicode map with the original character code mapped to Unicode.

Documents created by our product view just fine, and text is able to be extracted correctly. Our problem lies in the error messages reported by Preflight.

Any help with diagnosing this error would be greatly appreciated. I would be willing to send s sample document to anyone willing to help.

Thanks,
Michael Ryan

Viewing all articles
Browse latest Browse all 46145

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>