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

Vincent Lefevre vincent at vinc17.net
Mon Nov 1 13:37:17 CET 2021


On 2021-10-30 01:06:54 +0200, Ulrike Fischer wrote:
> But if the core problem is that you are assigning more than one code
> point to the ligature
> 
>  \pdfglyphtounicode{ffi}{0066 0066 0069}
> 
> and that ghostscript can't handle this correctly 
> then imho an empty glyphtounicode.tex  is only a workaround.

FYI, I've been using the following

\pdfglyphtounicode{ff}{0066 0066}
\pdfglyphtounicode{ffi}{0066 0066 0069}
\pdfglyphtounicode{ffl}{0066 0066 006C}
\pdfglyphtounicode{fi}{0066 0069}
\pdfglyphtounicode{fl}{0066 006C}
\pdfgentounicode=1

for one year and haven't noticed any issue. It seems that only
some mappings yield issues with Ghostscript.

-- 
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.