Project for a PDF reader for NDS

Lametta

Well-Known Member
OP
Member
Joined
Jul 21, 2008
Messages
172
Trophies
1
Location
Roma
Website
Visit site
XP
148
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,180
Trophies
2
Age
36
Location
Orlando, Florida
XP
3,624
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
7,016
Trophies
2
XP
6,302
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
1
XP
19
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,180
Trophies
2
Age
36
Location
Orlando, Florida
XP
3,624
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
1
XP
19
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.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Sicklyboy @ Sicklyboy:
    I do but the optometrist I got my glasses at last year was expensive as fuck even WITH my insurance, so I'm gonna order on Zenni and see if my insurance will reimburse it. And if they won't, then, oh well, still will be cheaper anyway
  • Sicklyboy @ Sicklyboy:
    $90 for the safety glasses on Zenni, vs my daily wear glasses were >$200 after insurance
  • K3Nv3 @ K3Nv3:
    Haven't been to the eye doc in like 3 years but was pretty surprised they cut the glass in office had the in like an hour ready
  • Sicklyboy @ Sicklyboy:
    That's pretty sweet, I had to wait like a week or so for mine to be ready
  • Sicklyboy @ Sicklyboy:
    Lookin at buying another pair of regular glasses too. And maybe prescription sunglasses
  • K3Nv3 @ K3Nv3:
    Yeah most just ship off to a lab could always call around to see if new ones have in office glass cutters
  • Sicklyboy @ Sicklyboy:
    too much effort + im shy and social anxiety :( lmao
  • K3Nv3 @ K3Nv3:
    I just wear them when I drive cause I'd like to actually read signs
  • K3Nv3 @ K3Nv3:
    Think they said I'm far sighted or some bs
  • Sicklyboy @ Sicklyboy:
    My eyes aren't that bad, I need mine for driving but ever since I got my latest pair I wear them all the time when I'm home now, I never used to before
  • Sicklyboy @ Sicklyboy:
    I'm near sighted though
  • K3Nv3 @ K3Nv3:
    I feel like docs just say you're this and that for the insurance claims half the time
    +1
  • Sicklyboy @ Sicklyboy:
    But even my computer monitors, that are like 3ft away when I'm leaning back in my chair, so much easier to see now with my glasses than without
  • Sicklyboy @ Sicklyboy:
    Doc was cool though, he measured my old glasses and I wanted to try different contacts than I had had previously and he's like "hmmm I bet you're this strength and that strength" and damn dude was dead on the money
  • Sicklyboy @ Sicklyboy:
    lmao that clip
  • K3Nv3 @ K3Nv3:
    Know a guy who did laser surgery for like 2g but argued you'd never need glasses again
  • Sicklyboy @ Sicklyboy:
    laser eye surgery scares me
  • Sicklyboy @ Sicklyboy:
    The thought of any kind of surgery shit being done on my eyes gives me unbelievable amounts of dread and anxiety, and with the potential risks or side effects that laser eye surgery has, I don't think my eyes are bad enough to warrant it. I can see without my glasses - not great, but not bad either.
  • K3Nv3 @ K3Nv3:
    Yeah I feel that if it gets to the point where all I see is blurry then I might consider if
  • Skelletonike @ Skelletonike:
    Just do it like in Minority Report. Won't feel a thing.
  • Skelletonike @ Skelletonike:
    Is it the full van? If so t's suspiciously cheap.
  • Skelletonike @ Skelletonike:
    Ah, the 2000€ is only the deposit
    Skelletonike @ Skelletonike: Ah, the 2000€ is only the deposit