nanogui: mupdf engine running on nano-X


Previous by date: 19 Mar 2010 17:12:35 -0000 Re: [FIX] add alpha channel into GdDrawImage software handling, Greg Haerr
Next by date: 19 Mar 2010 17:12:35 -0000 Re: mupdf engine running on nano-X, Greg Haerr
Previous in thread:
Next in thread: 19 Mar 2010 17:12:35 -0000 Re: mupdf engine running on nano-X, Greg Haerr

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


Previous by date: 19 Mar 2010 17:12:35 -0000 Re: [FIX] add alpha channel into GdDrawImage software handling, Greg Haerr
Next by date: 19 Mar 2010 17:12:35 -0000 Re: mupdf engine running on nano-X, Greg Haerr
Previous in thread:
Next in thread: 19 Mar 2010 17:12:35 -0000 Re: mupdf engine running on nano-X, Greg Haerr


Powered by ezmlm-browse 0.20.