[NTG-pdftex] Error with \pdfglyphtounicode when surrogates areinvolved.

Akira Kakuto kakuto at fuk.kindai.ac.jp
Tue May 30 12:30:58 CEST 2017


> In the original test.tex, I encountered an assertion error
> in tounicode.c.

That is assert(code >= 0);.

Probably your "long" is 64bit.  My "long" is 32bit.
I think the type of code should be changed as
int32_t instead of long.

Best,
Akira



More information about the ntg-pdftex mailing list