FirefoxReality icon indicating copy to clipboard operation
FirefoxReality copied to clipboard

PDF support

Open alfiedotwtf opened this issue 3 years ago • 2 comments

I'm used to Firefox on the desktop being able to view PDFs

I would like to read PDFs within Firefox Reality on Oculus Quest 2

Currently, the only way I've been able to read PDFs is by connecting to my PC via a virtual desktop, and reading the PDF through the virtual monitor. Sure, it works... but native PDF support within Firefox Reality would be a huge win for me

alfiedotwtf avatar Apr 26 '21 20:04 alfiedotwtf

@alfiedotwtf for what it's worth, it is possible to open PDF files in Mozilla Reality using PDF.js, which I believe is also used in desktop Firefox for viewing PDFs. I wrote up a quick tutorial explaining how to do that here (along with some other musings about using Mozilla Reality): https://jstrieb.github.io/posts/vr-programming/

In that post, you'll want to scroll down to the section titled "Viewing PDFs in Mozilla Reality."

Hopefully this helps!

jstrieb avatar Jun 20 '21 23:06 jstrieb

Wow, that was super helpful! Thank you so much for that!

alfiedotwtf avatar Jun 21 '21 00:06 alfiedotwtf