Question

PDF2D writer: invalid map key

  • 27 February 2020
  • 1 reply
  • 22 views

Badge +9

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

Badge +9

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