browsh-org / browsh

A fully-modern text-based browser, rendering to TTY and browsers
https://www.brow.sh
GNU Lesser General Public License v2.1
16.74k stars 411 forks source link

add support for mozilla web pdf viewer #327

Open brudolp opened 4 years ago

brudolp commented 4 years ago

just tried to view a pdf file with https://github.com/mozilla/pdf.js#online-demo using browsh, sadly most text is unreadable.

andrewcrook commented 3 years ago

Interesting, thinking about it.

Yeah its pixelated graphics. I think it would be best to download and use a proper GUI viewer.

However, a potential solution I think has to have the actual text stored in the PDF I.e searchable. Then open using less, as long pdftotext is installed less can handle it.

less file.pdf

Some issues with this method.