Project for a PDF reader for NDS

Lametta

Well-Known Member
OP
Member
Joined
Jul 21, 2008
Messages
172
Trophies
0
Location
Roma
Website
Visit site
XP
138
Country
Italy
Still is pretty much useless but it's a beginning. Read very very small pdf.

The author says:
It is very prototypical right now; when the ROM loads it will give you a file browser. Double-tap a folder to go into it, double tap a pdf file to choose it. Double tap non-pdf files at your own peril (You'll just get an error message.) Once inside, you can use your stylus to 'move' the page. (taken from release page)

Here the full release page with download link:

release page

I hope it will be developed and supported for a better version
smile.gif
 

granville

GBAtemp Goat
Member
Joined
Aug 24, 2007
Messages
5,075
Trophies
1
Age
33
Location
Orlando, Florida
XP
2,657
Country
United States
Maybe he can program something in to stream segments of the PDF into memory like SnemulDS does. Slow, but it could read them. Cool idea and I hope something comes of it!
 

Minox

Thanks for the fish
Former Staff
Joined
Aug 27, 2007
Messages
6,973
Trophies
2
XP
5,986
Country
Japan
UltraMagnus said:
Narin said:
The DS only has 4 Megabytes of RAM, don't expect miracles folks.

my computer only has 2gb of ram, but it can read 2.5gb PDF files. I don't think a PDF reader needs to load the entire file into RAM, just the page its on
Yeah, but there's a difference. A DS can't use virtual RAM at all while your computer is perfectly capable of that.
 

albinofrenchy

Member
Newcomer
Joined
Feb 24, 2009
Messages
10
Trophies
0
XP
9
Country
United States
Hey guys,

I'm the guy making this project right now; and I saw this thread and couldn't help but throw out that there is a new version of the viewer up with many improvements: http://ands-pdf.blogspot.com/

You can now scroll around the image, change pages, zoom in and out, yada yada.

And yes, the 4 mb ram thing does suck. It pretty much means that the thing can't render large images out of PDF files, but luckily we can render any text. I haven't stress tested how big of PDF's it can load, but the largest one I regularly load is 415kb; and 26 pages. My hope is that it will be a functional reader for 80 percent of the documents out there eventually.

Please do reply with your thoughts on it, and how it could be better.
 

granville

GBAtemp Goat
Member
Joined
Aug 24, 2007
Messages
5,075
Trophies
1
Age
33
Location
Orlando, Florida
XP
2,657
Country
United States
Nice job and good luck!
biggrin.gif


May I ask: is a paging system possible? Streaming segments into the DS memory and dumping them regularly to load other parts. As I'm aware, this is the method that many emulators on DS use to play large games.
 

albinofrenchy

Member
Newcomer
Joined
Feb 24, 2009
Messages
10
Trophies
0
XP
9
Country
United States
If I understand your question right, this is in fact how it works now to a large degree. Whenever it has to redraw, it rerenders only the 'torn' part of the page and in this way we greatly minimize the memory footprint. If it wasn't for being able to do this, it would be near impossible to render a single page.

I'm looking into doing this for images; but it is less clear if it is feasible to do it with them. I need to look closer at the PDF spec, but if those images are compressed in some way so I'd have to recompose the whole thing to grab just a little part, it won't work. What I'll probably end up doing with images is simply putting a size limit on images; and if they exceed that I won't render them. It will be wonky, but at least you can see the rest of your document that way.
 

You may also like...

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Psionic Roshambo @ Psionic Roshambo:
    She has all my weak points smart funny blonde and she lights up the room when she walks in and nothing else exists when she is there
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I would eat the corn out of her.... Lol
    +1
  • Veho @ Veho:
    Psi! You're alive!
    +1
  • Veho @ Veho:
    ...and you have yet another new
    girlfried :rolleyes:
    +1
  • Veho @ Veho:
    MAKE HER SIGH A PRENUP
    +1
  • cearp @ cearp:
    PSI <3 🌽
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Lol Veho I'm down to 3
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Dumping one soon
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    My Facebook has like 120 women now or something lol
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Each one hotter than the last...
    +1
  • K3N1 @ K3N1:
    Ordered a new SSD
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Your mom's an SSD lol
    +1
  • K3N1 @ K3N1:
    Your mom writes to me fast
    +1
  • K3N1 @ K3N1:
    I haven't placed an order with Newegg since like 2016 lol
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Amazon Is better lol
    +1
  • K3N1 @ K3N1:
    Hard to find a fast 2tb SSD for 130
    +1
  • Peretti @ Peretti:
    lately I downloaded super mario galaxy for wii, but in the first phase, right in the first cutscene of the game, the game freezes in that part, with the image appearing but completely frozen. I already had this problem with pikmin 2 but in the end I couldn't fix the problem. Has anyone had this problem, and if so, did you find a solution?
  • K3N1 @ K3N1:
    Moms spaghetti
  • Veho @ Veho:
    Why are republicans so desperate to see Hunter Biden's dick? I don't get it.
  • Maximumbeans @ Maximumbeans:
    They need to see it to prove he isn't a reptilian
  • Veho @ Veho:
    I thought they were trying to prove that he was a reptilian.
  • Maximumbeans @ Maximumbeans:
    Oh yeah :rofl2: then I have no idea!
    Veho @ Veho: