nanogui: Thread: mupdf engine running on nano-X


[<<] [<] Page 1 of 1 [>] [>>]
Subject: mupdf engine running on nano-X
From: "Greg Haerr" ####@####.####
Date: 19 Mar 2010 17:12:35 -0000
Message-Id: <051e01cac787$57b82a00$6564a8c0@winXP>

> 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

Subject: Re: mupdf engine running on nano-X
From: "Greg Haerr" ####@####.####
Date: 20 Mar 2010 05:18:16 -0000
Message-Id: <068a01cac7ec$b8940c80$6564a8c0@winXP>

> I could try to port mupdf and display PDF on PSP.


I have it working now.  The Bookr project uses mupdf
already, but with a C++ interface built on top of it.  
That codebase (bookr-062309.zip) doesn't have
makefiles that allow any platform other than PSP
to build.

Regards,

Greg
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.