PDA

View Full Version : Ands-pdf -- The first and only PDF viewer for the DS!



wraggster
February 24th, 2009, 01:01
News/release from albinofrenchy (http://forum.gbadev.org/viewtopic.php?t=16468&sid=59f09fa92ab866c20f12692c91004c89)


First, on the PDF compatibility side, I've managed to solve the issue of non-embedded fonts not displaying. The program now uses a set of built-in fonts; so it might not always display exactly how the author wanted it to if the font is something obscure. Or dingbats, which I stripped out because it was simply too big to include.


Please please be sure to message me if PDF's don't work now, I have no test pdf's that break that don't have large images at this point.


On the features side, I've added a 'preview' button that displays a 'mini' view of the document. The button is the only filled in icon on the small status bar at the bottom; it looks like a bulls-eye. I'll change the icon later to something that makes sense.


If you just tap the mini-image, it will pan to put the point you clicked in the upper-left corner.


If you draw a line with the stylus, it will adjust the zoom on the document to fill the screens with the size of the line you drew. Hopefully this is more intuitive in practice than it is in description. For instance, if you draw a line from the left to right of the document, it will zoom to fit the width of the document to the screen. If you draw a line from the top to the bottom of the document, it will zoom out to fit the height of the document to the screen.


I'd really like comments on the GUI functionality. Does it do what you expect? Especially if it doesn't, tell me why and what you expect it to do. Ideally I'd have it so the user can not read any instructions and be up and running with this.


I've also provided the ability to change files. This hasn't been extensively tested, and there may be memory leaks in it, so beware of that. If you hit 'start', it should pop up with the file browser.


Another new tool is the console, which you can layer over the screen with the 'Select' button. This should make the 'debug' builds not necessary so I will not release anymore of those.


Lastly, rendering should be signifigantly quicker now. Still could be better, but for now it seems usable.

Download and Give Feedback Via Comments

crookedmouth
February 24th, 2009, 02:28
Wow, sounds awesome. Gotta check this out asap.

alfaalex101
February 24th, 2009, 03:32
A lot of my PDF's are giving me blanks with this rom :(
One showed a page in good quality but gave me a blue screen later on...

It locks up a lot and is slow..but hey this is a work in progress right!

My PDFs are usually 100 - 400 pages long..is that too much?

Steely
February 26th, 2009, 03:12
This is great since I've wanted a PDF viewer on DS for a while now.
Unfortunately it doesn't work well enough to act as more than just a test and proof of concept.

I've tested some sheet music with it.

crookedmouth
February 26th, 2009, 05:41
This is great since I've wanted a PDF viewer on DS for a while now.
Unfortunately it doesn't work well enough to act as more than just a test and proof of concept.

I've tested some sheet music with it.

I get memory errors. Does it need to be under 4MB or something that you noticed?

I would love to see this working because while converting PDFs to images then converting those to ComicBookDS using PictoDS works well, it is a hassle.

Though I do love the GUI for ComicBookDS. Perfect for reading magazines and books as well as comics.

Maturion
February 26th, 2009, 11:47
Wow, this is really great.

But I assume I can only open small-sized PDFs... the DS RAM may just be not enough to display bigger files.

williew705
February 26th, 2009, 12:22
It might help if it was designed like Comic Book DS, where you have to convert your files to fit the smaller device. That could be a serious pain to code. I don't know anything about that stuff, but regardless this a great thing, and bravo to the developers.

krazedkat1
February 27th, 2009, 00:06
This will do great for my guides :D...

rogerthat
February 27th, 2009, 07:50
pdf files dont work for me. ive tried two, both were ap biology files containing a few pictures here and there. they were study guides. didnt work.
warning: someone forgot to empty the store before freeing xref!
loading file: /PDF?Chapter 29.pdf
Meta info loaded
Outline loaded
loading page 1 out of 12
warning: dropped unhandled ioerror
warning: cannot malloc 1174656 bytes
root 220
error: cannot load page resources in mudpf/pdf_page. C: 242
error: cannot load xobject resource in mudpf/pdf resources. c: 434
Error: cannot load image resources (13 0 R) in mudpf/pdf_resources. c: 168
error: outofmem: buffer memory in stream/stm_buffer. c: 19

rogerthat
February 27th, 2009, 07:51
but very interesting

zauberer
February 28th, 2009, 21:05
I checked the HP-50g datasheet, but didn't load; also when I tried a linksys manual.

I hope you can improve this a lot.