Text copied from PDF is sometimes incorrect
See original GitHub issueDescribe the bug
When text in PDF contains string fi
the resulting document is bit broken - when text is copied, it is not matching text visible in PDF. I suspect this is because fi
is ligature? It happens with different fonts, but not with those which are built-in.
Expected behavior Copied text matches PDF document
Issue Analytics
- State:
- Created 3 years ago
- Reactions:8
- Comments:7
Top Results From Across the Web
Solved: Copying and pasting text turns to gibberish - 10194796
Hi quintonv,. As mentioned, you are getting gibberish text when copying and pasting text from pdf, it seems the issue seems to be...
Read more >PDF has garbled text when copy pasting - adobe reader
A bad program used to create the PDF, or the wrong settings, might also cause the text part to become completely garbled, as...
Read more >Error! The text copied from the PDF could not be pasted correctly
The text copied from the PDF could not be pasted correctly. Imagine a scenario where you have copy-pasted some text from your PDF...
Read more >What explains the wacky order of text that sometimes ... - Quora
You can easily copy the text from the PDF file but if the text is highlighted and copying from the PDF file is...
Read more >Can't Copy Text from a PDF File (Solved) - YouTube
Tutorial How to solve problem Can't Copy Text from a PDF File.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If someone else is using google fonts I also managed to fix the fonts using fontforge with the following command
In my case suspect is font file.
After downloading font from another source and import in OpenSource BirdFont free software and export and use in my website.
It’s working as expected. Hope it helps someone 😃