[tex-live] ligatures cannot be copied and pasted (pdftex, TL2008)

Thanh Han The hanthethanh at gmail.com
Fri Feb 13 22:30:24 CET 2009


On Thu, Feb 12, 2009 at 11:27:07PM +0800, Yue Wang wrote:
> Hi, Karl:
>
> In TL 2008, the map file for pdftex miss the encoding entry for CM fonts:
> cmr10 CMR10 <cmr10.pfb
> And this will lead to a serious problem: One cannot copy and paste
> words like ff, ffi, fi from the generated pdf file (I use the latest
> version of acrobat reader).
> After slightly modifing the lines (adding the related encoding file),
> the problems seems to be solved.
>
> Is this bug or feature?

a feature (of pdf browsers). Adding the encoding file will
not make eg xpdf happy.

one can increase the chance ligature can be copied/pasted by
saying:

,--------
| \input glyphtounicode.tex
| \input glyphtounicode-cmr.tex
| \pdfgentounicode=1
`--------

Thanh


More information about the tex-live mailing list