Open An-png opened 4 years ago
I also noticed that, but only for some pdfs, and it doesn't seem to be limited on titles, I sometimes observed it at longer breaks between text. I guess it has can be fixed with some more tweaking of the pdf.js textlayer. But no idea what exactly is causing it. Will keep an eye on it.
Hi. I have a Mac and I'm also struggling selecting texts in the pdf. The hotkeys don't seem to be working.
Hi, could you describe a bit more in detail, what shortcuts are not working exactly?
I guess it has can be fixed with some more tweaking of the pdf.js textlayer. But no idea what exactly is causing it. Will keep an eye on it.
Doesn't seem like it. Every PDF selecting related issue I get doesn't happen in pdf.js in Firefox. I opened the same wikipedia PDF that I was having problems with in this addon in Firefox. Then opening inspect element, I copied all the code from viewer.css
into textlayer.css
for this addon.
That didn't work. Then I tried only copied the copy which contained .textlayer
, that didn't fix the problem. So it is something about how the addon handles PDF text, but it doesn't seem to be related to the textlayer, as Firefox's textlayer works fine in Firefox, but it doesn't fix the problem in the addon.
RTL I have same problem copy/paste text rtl words is nice but it is select also text up or down of wanted text (inaccurate) another proplem after paste it . it is black words with black background ! so you cant read anything only after change background color
@An-png to be fair, you'd have to compare with pdf.js in Chrome and not with firefox.
@ehsanq1999 Is the selection always inaccurate or only sometimes? For the pasting, have you enabled Paste without Shift key strips formatting
in Anki's settings?
When there are titles, this addon struggles with trying to select text.
Here is an attached video:
incremental_reading_selcting_problems.mp4.zip
NOTE: while not demonstrated in the video, this problem doesn't occur with firefox's pdf.js either.