Skip to main content
Question

PDF2D writer: invalid map key

  • February 27, 2020
  • 1 reply
  • 52 views

deanhowell
Influencer
Forum|alt.badge.img+23

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.

 

1 reply

deanhowell
Influencer
Forum|alt.badge.img+23
  • 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?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings