Code: Select all
\pdfglyphtounicode{fl}{0066 006C}
This command doesn't work with XeLaTeX though and often times leaves ligatures unsearchable and not working with the 'read aloud' feature of acrobat.
Is there a similar command to allow the text layer of the PDF file to have the correct letters for ligatures in XeLaTeX?