[poppler] Drawing styledForm Widgets
Albert Astals Cid
aacid at kde.org
Tue Oct 11 07:13:38 PDT 2011
A Dimarts, 11 d'octubre de 2011, vàreu escriure:
> Hi,
>
> On Tue, Oct 11, 2011 at 9:20 AM, Carlos Garcia Campos
>
> <carlosgc at gnome.org> wrote:
> > Excerpts from Albert Astals Cid's message of mar oct 11 14:07:07 +0200
> > 2011:
> >
> > No, I think he means drawing current forms with the same style as the
> > widgets, using the current theme, but using real widgets for the
> > interactivity with the user.
>
> yeah, the idea is to use real widgets, but to get the rendering or the
> style from poppler so the widgets
> can render the text exactly as poppler would do. In Gtk3, one way of
> doing this is to get the constructed AP stream and then use that to
> construct a CSS style that would be apply to the GtkEntry
> corresponding to that form field
Ok, so you are basically suggesting a PDF AP to Gtk3 css/rendering parser?
Seems like a lot of job but I can see it makes sense :D
Albert
P.S: If you start with CSS better so we can use it for QWidgets too ;-)
More information about the poppler
mailing list