I am creating a PDF using pdfTeX. Alas, the publisher's requirement is that all glyphs therein are mapped to one or more Unicode code points. I got this working for most, but not all glyphs:
\input glyphtounicode.tex
\pdfgentounicode=1
For two glyphs, namely \nexists
(U+2204) and \leftarrowtail
(U+21A2) from amssymb
, it looks like an need to manually add a \pdfglyphtounicode
. But I can't find out what to pass as its first parameter, i.e., for the glyph name. Any pointers?
glyphtounicode.tex
that is distributed with lcdf typetools lcdf.org/type