wtetsu / mouse-dictionary

📘Super fast browser dictionary
https://mouse-dictionary.netlify.app
MIT License
1.02k stars 61 forks source link

PDF reader issue #46

Closed shatano-htn closed 4 years ago

shatano-htn commented 4 years ago

Hi! I downloaded mouse-dictionary and tried to use on pdf. I opened my Pdf file from mozilla.github but seems like the dictionary won't show any word even i point out words with mouse. Hope there is a way to fix it! Thanks a lot for creating this amazing tool!

スクリーンショット 2020-09-06 午後10 07 15
wtetsu commented 4 years ago

@shatano-htn

Hi, thank you for your report.

Could you share the PDF file? My Mouse Dictionart + PDF files works well.

shatano-htn commented 4 years ago

Thanks for the reply! Please find the pdf below.

https://classroom.upeace.org/elearning/pluginfile.php/14437/course/section/2151/Ramsbotham%202016%20Contemporary%20Conflict%20Resolution%20Ch%202%20pp%2038-67.pdf

wtetsu commented 4 years ago

I cannot log in.

image

And, if your Mouse Dictionart works on other PDF files but doesn't work on one the specific PDF file, it's likely to be due to the file itself.

Is your Mouse Dictionary available on other PDf files? (e.g. Oreilly's free samples https://www.oreilly.com/free/)

shatano-htn commented 4 years ago

I am sorry that I have sent you the URL which you cannot log in. Please find the attached document.

Yes I can use Mouse-dictionary for other PDF files. I am so amazed of this tool, will be so helpful to use with my studying! Ramsbotham 2016 Contemporary Conflict Resolution Ch 2 pp 38-67-圧縮済み.pdf

wtetsu commented 4 years ago

I am so amazed of this tool, will be so helpful to use with my studying!

Thank you for your feedback!

I've check the PDF file and I found it had no text data. Probably, this PDF file was created by just scanning paper, so virtually this is just an image file that has no text information.

In this case, it's impossible to use Mouse Dictionary on it. You have to find or make text data first.

shatano-htn commented 4 years ago

Thank you for checking the PDF file and responded me promptly. Ok I got it. I will probably try to convert it to text data then will use the Mouse Dictionary.

Thanks again for your support! Looking forward to seeing more updates in near future:)