Discussion:
Unnecessary \pdfglyphtounicode calls?
Vasile Gaburici
2008-08-21 15:23:37 UTC
Permalink
I see that MinionPro.sty contains CMap additions like:

\pdfglyphtounicode{uniF628}{2030}% perthousand.oldstyle
\pdfglyphtounicode{uniF62C}{0028}% parenleft.denominator

But they are all of the blather.alternate form. According to the Adobe
documentation[*], pdftex should automatically drop the dot and
anything after it in the name when the CMap is generated. So all those
lines in MinionPro.sty should be unnecessary. If they are necessary
however, than that's a bug in pdftex. Did you guys discuss this with
the pdftex devs? AFAICT, no other package in TeXLive 2008 makes any
calls to \pdfglyphtounicode besides the master pdftex list in
glyphtounicode.tex, of course.

[*] References:
http://www.adobe.com/devnet/opentype/archives/glyph.html
http://blogs.adobe.com/typblography/typotechnica2007/Glyph%20names.pdf
Michael Zedler
2008-08-21 15:33:58 UTC
Permalink
Post by Vasile Gaburici
\pdfglyphtounicode{uniF628}{2030}% perthousand.oldstyle
\pdfglyphtounicode{uniF62C}{0028}% parenleft.denominator
But they are all of the blather.alternate form. According to the Adobe
documentation[*], pdftex should automatically drop the dot and
anything after it in the name when the CMap is generated. So all those
lines in MinionPro.sty should be unnecessary. If they are necessary
however, than that's a bug in pdftex. Did you guys discuss this with
the pdftex devs? AFAICT, no other package in TeXLive 2008 makes any
calls to \pdfglyphtounicode besides the master pdftex list in
glyphtounicode.tex, of course.
Older versions of the fonts have glyphnames /uniF628 instead of /
perthousand.oldstyle, thus these lines are included.

Michael
Vasile Gaburici
2008-08-21 15:41:14 UTC
Permalink
*Smacks forehead*, yes, of course, the perthousand.oldstyle is a comment :)
Post by Michael Zedler
Post by Vasile Gaburici
\pdfglyphtounicode{uniF628}{2030}% perthousand.oldstyle
\pdfglyphtounicode{uniF62C}{0028}% parenleft.denominator
But they are all of the blather.alternate form. According to the Adobe
documentation[*], pdftex should automatically drop the dot and
anything after it in the name when the CMap is generated. So all those
lines in MinionPro.sty should be unnecessary. If they are necessary
however, than that's a bug in pdftex. Did you guys discuss this with
the pdftex devs? AFAICT, no other package in TeXLive 2008 makes any
calls to \pdfglyphtounicode besides the master pdftex list in
glyphtounicode.tex, of course.
Older versions of the fonts have glyphnames /uniF628 instead of
/perthousand.oldstyle, thus these lines are included.
Michael
Loading...