Skip to main content
Question

PDF2D writer: invalid map key

  • February 27, 2020
  • 1 reply
  • 68 views

deanhowell
Influencer
Forum|alt.badge.img+24

Does anyone have any idea what this means and how to fix it?

 

PDF2D writer: invalid map<K, T> key

 

It has something to do with fonts when trying to read from a local font directory. If I clear the true type font folder, I don't get the error but the output PDF is not correct.

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

deanhowell
Influencer
Forum|alt.badge.img+24
  • Author
  • Influencer
  • February 27, 2020

If I change the True TYpe Font folder to directly point to c:\\windows\\fonts I get the following:

 

PDFWriter: Unable to successfully read the font from 'C:\\Windows\\Fonts/tahoma.ttf'. This font will not available. Internal error code was '6'

PDFWriter: Unable to successfully read the font from 'C:\\Windows\\Fonts/tahomabd.ttf'. This font will not available. Internal error code was '6'

PDFWriter: Unable to successfully read the font from 'C:\\Windows\\Fonts/tahoma_0.ttf'. This font will not available. Internal error code was '6'

PDFWriter: Unable to successfully read the font from 'C:\\Windows\\Fonts/taile.ttf'. This font will not available. Internal error code was '6'

PDFWriter: Unable to successfully read the font from 'C:\\Windows\\Fonts/taileb.ttf'. This font will not available. Internal error code was '6'

 

What is internal error code 6?