Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message "CIDToGID mapping has more items than specified in dict" #1486

Open
pbroissiat opened this issue Oct 18, 2024 · 4 comments
Open

Message "CIDToGID mapping has more items than specified in dict" #1486

pbroissiat opened this issue Oct 18, 2024 · 4 comments

Comments

@pbroissiat
Copy link

I try to undesrtand this message. It's true we have a mapping (not Identity) .

We produce PDF A3-B. We are trying to reduce embedded font size : only gliphs really used are presents,

Mapping start to character 0 until the last cid present in the document. And some cid not presents in the document are mapped to glyph 0.

I don't understand what I could change.

@MaximPlusov
Copy link
Contributor

Could you please provide pdf file or more context about how you got this message?

@pbroissiat
Copy link
Author

test.pdf
This is a small pdf that we produce. We have a few messages that we are trying to resolve.

@pbroissiat
Copy link
Author

 <logs logsCount="5">
    <logMessage occurrences="1" level="FINE">True type font doesn't contain cmap table.</logMessage>
    <logMessage occurrences="1" level="FINE">CIDToGID mapping has more items than specified in dict</logMessage>
    <logMessage occurrences="3" level="FINE">Invalid object type. Expected COSIndirect got class org.verapdf.cos.COSDictionary.</logMessage>
  </logs>

@MaximPlusov
Copy link
Contributor

CIDToGID mapping has more items than specified in dict is wrong log message and already removed in the latest dev version 1.27.87.

Message Invalid object type. Expected COSIndirect got class org.verapdf.cos.COSDictionary. also removed in latest dev version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants