[poppler] About Output(s)

Albert Astals Cid aacid at kde.org
Sat Oct 29 11:36:02 PDT 2005


A Dissabte 29 Octubre 2005 22:36, daniel.campos at juntaextremadura.net va 
escriure:
> Hi:
Hi

> I'm trying to remove all glib dependencies from the gb.pdf component
> (poppler binding for Gambas), so it can be used from both QT and GTK+
> components without any dependency, except poppler itself, of course.
errrrr? We have a Qt frontend and a Glib/GTK frontend, why not use them?

> However I do not understand very well the different OutputDev classes, and
> there's few documentation available at this moment, so... two questions:
>
> 1) I would like to use the SplashOutputDev, but I'm not sure if it is
> related or not to the X server... does it render in memory or may be it
> uses the X server features to render in the Server side? I would like to
> have a gb.pdf component useable even if there's not a X-Server available, I
> mean in web servers, for example, so it is important for me. May be should
> I use the CairoOutputDev for that, is it independant from X-Windows?
AFAIK SplashOutputDev does not need an XServer and if it needs it, it should 
not be too difficult to make it independent.

> 2) I think OutputDev is just a base or "abstract" class for the real Output
> devices. Is that true?
Yes

> 3) May be I'm mistaking things and I do not need OutputDev to render in
> memory (a RGBA32 buffer)?
Use SplashOutputDev and get is SplashBitmap.

Albert

>
>
> Regards,
>
> Daniel Campos
>
>
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler

		
______________________________________________ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es


More information about the poppler mailing list