Thread: PRS-500 Compiling for the Reader
View Single Post
Old 07-13-2007, 08:10 PM   #28
arivero
Guru
arivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it isarivero knows what time it is
 
arivero's Avatar
 
Posts: 607
Karma: 2157
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
while you are at it, you could try the processing of djvu from the tools in
http://dftuz.unizar.es/~rivero/lbdjvu.tgz

Also, attached you can see xclock running in the librie using the xvfb trick. It relies on xwdtopnm, included in the above tgz.

It was running over a 600x800x4 screen using a loop
./xwdtopnm /tmp/Xvfb_screen0 | ./pnmdepth 255 | tail +4 > /tmp/rawscreen
./pgm4biARM /tmp/rawscreen | ./putpic.arm

the depth depends on the framebuffer driver most probably it is different in the Reader.

Of course in a separate process, I run
Xvfb :1 -screen 0 600x800x8 -fbdir /tmp

and still in other
export DISPLAY=":1"
xclock

I am sorry I can not find Xvfb. It was compiled from the xorg sources for a X11R6 version.
Attached Thumbnails
Click image for larger version

Name:	ffa6big.jpg
Views:	553
Size:	42.9 KB
ID:	4448  

Last edited by arivero; 07-13-2007 at 08:34 PM.
arivero is offline   Reply With Quote