Am Tue, 1 Apr 2003 14:14:14 +0200
Denis Oliver Kropp <[EMAIL PROTECTED]> schrieb:

> Quoting Andreas Volz ([EMAIL PROTECTED]):
> > Hi,
> > 
> > is there an pdf-viewer for DirectFB? I don't want to install
> > XDirectFB for only pdf viewing.
> > 
> > If not is there yet a project with this target?
> > 
> > And if there is no other way, how much space needs XDirectFB? Could
> > I save space if I delete some unused files (documentation,...)?
> 
> There's no PDF viewer. But I would appreciate such a project.

Here is a very simple script how to do it. It's not really usable at the
moment, but I think using ghostscript as an library call in c and
writing a viewer that fits better will improve it much. Pager order is
also wrong and there seems to be no way to zoom pages in dfbsee bigger
than the screen.

--------------------
#!/bin/sh
 
mkdir .dfbpdfview
gs -sDEVICE=jpeg -sOutputFile=.dfbpdfview/dfbpdfview%d.jpeg -dNOPAUSE
-dBATCH $1
dfbsee -f  -z .dfbpdfview/*.jpeg
rm -r .dfbpdfview
--------------------

But I think you got the idea how it could be done. As I asked on
gs-devel are also other ways to get pdf to directfb.

1. implement a output device for directfb (much work!)
2. writeing a ijs (www.linuxprinting.org/ijs/) driver.
3. using gs as a library and work with the image data


I prefer the third, because it seems to be the easiest. Perhaps I'll do
some work for this in future...

What do you think?

regards
Andreas


-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to