Re: [poppler] Poppler - SVG Device

2011-11-04 Thread Dominic Lachowicz
Just out of curiosity, how would the proposed SVGOutputDevice differ from using (say) the existing CairoOutputDevice that was configured to write to SVG? That can already be accomplished today. Thanks, Dom On Fri, Nov 4, 2011 at 7:38 AM, Todd Hubers todd.hub...@alivate.com.au wrote: Alec, I'm

Re: [poppler] Poppler - SVG Device

2011-11-04 Thread Dominic Lachowicz
on the suitability the CairoOutputDevice to generate an SVG (remembering that SVGs are favoured for their vector ability for text, lines and filled shapes). Thanks, Todd. On 4 November 2011 22:55, Dominic Lachowicz domlachow...@gmail.com wrote: Just out of curiosity, how would the proposed

Re: [poppler] Killing ABWOutputDev.cc and pdftoabw

2011-03-22 Thread Dominic Lachowicz
their list at all given he gave the confirmation we can kill it. Albert Regards, mpsuzuki Dominic Lachowicz wrote: Feel free to axe it. AbiWord isn't using it any more. Cheers, Dom On Mon, Mar 21, 2011 at 8:29 PM, Albert Astals Cid aa...@kde.org wrote: Seems the abw

Re: [poppler] Killing ABWOutputDev.cc and pdftoabw

2011-03-21 Thread Dominic Lachowicz
Feel free to axe it. AbiWord isn't using it any more. Cheers, Dom On Mon, Mar 21, 2011 at 8:29 PM, Albert Astals Cid aa...@kde.org wrote: Seems the abw code is mostly unmaintained: * https://bugs.freedesktop.org/show_bug.cgi?id=18030 * https://bugs.freedesktop.org/show_bug.cgi?id=23074

Re: [poppler] SVGOutputDev: what is the plan

2010-02-23 Thread Dominic Lachowicz
Poppler has a CairoOutputDev, and Cairo has a SVG backend. So, if you wanted to use this for Inkscape (which already depends on Cairo), just have Poppler render to a Cairo SVG surface. On Mon, Feb 22, 2010 at 8:29 PM, the Adib thea...@googlemail.com wrote: Hello poppler devs, recently there

Re: [poppler] error: 'class PDFDoc' has no member named 'getPDFVersion'

2009-11-12 Thread Dominic Lachowicz
://gnunet.org/libextractor/doxygen/html/classPDFDoc.html#99095156274a44f39aedb9b0cdb6b300 On Thu, Nov 12, 2009 at 5:21 PM, Dominic Lachowicz domlachow...@gmail.com wrote: You're using a non-public API. Stuff like this happens when you do that. On Thu, Nov 12, 2009 at 11:15 AM, Mathieu Malaterre

Re: [poppler] error: 'class PDFDoc' has no member named 'getPDFVersion'

2009-11-12 Thread Dominic Lachowicz
On Thu, Nov 12, 2009 at 12:03 PM, Mathieu Malaterre mathieu.malate...@gmail.com wrote: On Thu, Nov 12, 2009 at 5:48 PM, Dominic Lachowicz domlachow...@gmail.com wrote: Just because a method is included in the public part of the class doesn't mean that it's part of poppler's supported, public

Re: [poppler] ABWOutputDev and doubles (good one)

2009-09-21 Thread Dominic Lachowicz
Hi Albert, It's definitely a bug. That said, AbiWord isn't currently using the ABWOutputDev. So if you have better things to do with your time, feel free to do those instead of fixing this :) Best, Dom On Mon, Sep 21, 2009 at 5:52 PM, Albert Astals Cid aa...@kde.org wrote: Hi, i've just

Re: [poppler] api list of poppler

2009-07-23 Thread Dominic Lachowicz
Use google next time... http://freedesktop.org/wiki/Software/poppler On Thu, Jul 23, 2009 at 9:13 AM, pankaj paridaparida.pan...@gmail.com wrote: Dear All, please send me the API's list for poppler, And tell me which version of pdf is supported by the poppler-0.10. where can i get the doc

Re: [poppler] API: Help getting PDF page into pixbuf

2009-04-30 Thread Dominic Lachowicz
You can render PopplerPage objects to any Cairo surface, including image surfaces. Here's some pseudo-code that should get you in the right direction: page = poppler_document_get_page(); width, height = poppler_page_get_size(page); surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, width,

Re: [poppler] Freeing a PopplerDocument object

2009-03-30 Thread Dominic Lachowicz
Most Poppler objects are GObjects, and are freed using g_object_unref(). Best, Dom On Mon, Mar 30, 2009 at 8:53 AM, ANTONI SILVESTRE PADROS ant...@tid.es wrote: Hi, I am sure I am missing something really obvious but I cannot find any way to explicitly free or close a PopplerDocument created

Re: [poppler] Segmentation fault when running poppler_document_new_from_file

2008-07-29 Thread Dominic Lachowicz
Hi Bart, (process:15205): GLib-GObject-CRITICAL **: gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior to this function You need to call g_type_init() inside of main() before you call any other code that uses GObject. Cheers, Dom On Tue, Jul 29, 2008 at 6:55 AM,

Re: [poppler] How to use poppler, to display PDF file in lesstif based application?

2007-11-01 Thread Dominic Lachowicz
Hi Manuel, Using the poppler-glib API, you can render a PopplerPage to a GdkPixbuf or to a cairo_t. A GdkPixbuf is just an RGBA image that you can blit onto an X11 Drawable. If you want to use cairo, you can create a cairo surface using the lesstif widget's X11 Drawable, and then render onto the