[poppler] Poppler in android via JNI

Arthur Peters amp at singingwizard.org
Fri Nov 13 10:50:52 PST 2009


On Fri, Nov 13, 2009 at 1:46 PM, Albert Astals Cid <aacid at kde.org> wrote:

> A Divendres, 13 de novembre de 2009, Arthur Peters va escriure:
> > >
> > > > Or should I try to use the android native drawing functions to draw
> the
> > > > lines and glyphs and stuff? (or even use GLES from C)
> > >
> > > Doing a Java/AndroidOutputDev is probably better but much more
> difficult
> > > than
> > > just using the output of SplashOutputDev or CairoOutputDev (provided
> you
> > > have
> > > the dependencies for those in Android)
> >
> > OK. I could in theory build Cairo for Android, but I'd rather not. It
> >  looked to me like ImageOutputDev from the utils directory could create
> >  bitmaps without many dependencies. Am I missing something?
>
> Yes, ImageOutputDev obtains "images" inside the PDF, not a image of the
> PDF,
> for that you either need SplashOutputDev or CairoOutputDev. SplashOutputDev
> needs freetype and fontconfig, CairoOutputDev adds Cairo on top of that.
>
>
Thanks. I didn't realized that. I'll dig in as time permits and hopefully
I'll be able to start doing some real work (prototype probably) in the next
couple of weeks. We'll see though I'm pretty busy.

-Arthur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/poppler/attachments/20091113/840b6e9d/attachment-0001.htm 


More information about the poppler mailing list