Quoting Andreas Volz ([EMAIL PROTECTED]):
> 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
> --------------------

I would use PNG because JPEG is bad for text.

> 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...

If implementing an output device doesn't provide any advantage except
performance I would choose the third for now, too.

Let us know if you started working on it. Maybe there are others to join
your efforts.

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

                            Convergence GmbH


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

Reply via email to