An approach@swiecki is not suitable for PDF
My suggestion is to use CoreText and add an overlay on top of the PDF view. But it will be a long and tedious process, since you need to analyze the PDF to find the coordinates of each letter.
source
share