CMap issue in PDF file generated with recent TeX Live + Ghostscript

Vincent Lefevre vincent at vinc17.net
Sat Oct 16 21:31:25 CEST 2021


On 2021-10-16 18:59:46 +0200, Ulrike Fischer wrote:
> LaTeX now sets \pdfgentounicode=1 by default and so adds cmaps to
> the pdf. You can revert this by adding \pdfgentounicode=0 to your
> document. But imho you should report this to ghostscript. 

Thanks for the information. I had already reported the bug
to ghostscript:

  https://bugs.ghostscript.com/show_bug.cgi?id=704478

but I wanted to know whether the issue could be avoidable on the
LaTeX side (and perhaps this could be useful for debugging).

In my tests, I was wondering why \pdfgentounicode=1 no longer had
any effect, so this explains the behavior.

> Side remark: \usepackage[utf8]{inputenc} is not required anymore.
> utf8 is the default now.

Thanks again. Indeed I had noticed in some of my tests that UTF-8
characters were working without it and was wondering about this.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


More information about the tex-live mailing list.