> Bookr: A document reader for the Sony PSP with native PDF rendering. > Maybe we could get some ideas from it.
YuTao - The bookr project is based off the cool mupdf project: http://ccxvii.net/mupdf/ Bookr uses the mupdf engine with a UI rewritten in C++. The mupdf engine uses a new compositing graphics library known as fitz, which supports native PDF rendering: http://www.haskell.org/fitz/arch/arch.html I pulled down the source to mupdf, which supports an X11 port. You will be happy to know I compiled it all up, and it is now running using nano-X and NXLIB! Thus, it should be no problem to display pdf files on PSP. The bookr only cross-compiles for PSP so I haven't tried porting that. There were just a few changes to NXLIB required for the port. Just the link libraries, changing from -lX11 -lXext to -lNX11 -lnano-X was required to mupdf. The fitz library has some fast optimizations for x86, ppc and sparc. Some work may be required for the mips processor, but that is very likely already done in the bookr port. The next step if you're interested would be to port the bookr UI to the main mupdf project, thus making it cross-platform, since I now have mupdf running. (it also runs on X11 and win32). Have fun! Regards, Greg --------------------------------------------------------------------- To unsubscribe, e-mail: nanogui-unsubscr...@linuxhacker.org For additional commands, e-mail: nanogui-h...@linuxhacker.org