[poppler] pdf import in Inkscap using poppler_glib and poppler_cairo

the Adib theadib at googlemail.com
Wed Feb 16 14:46:58 PST 2011


Hello Pino,

it looks that we go for the SvgOutputDev :-)

I got poppler via git and run cmake and autogen.sh,  both won't
support glib interface. The output looks like: (my system is a ubuntu
10.04)
adib at vega:~/Projekte/poppler/poppler$ cmake .
-- checking for module 'cairo>=1.10.0'
--   package 'cairo>=1.10.0' not found
-- Found lcms version 1.18, /usr/lib/liblcms.so
Building Poppler with support for:
  font configuration:   fontconfig
  splash output:        yes
  cairo output:         no
  abiword output:       yes
  qt4 wrapper:          no
  glib wrapper:         no
    introspection:      no
  cpp wrapper:          yes
  use gtk-doc:          not supported with this CMake build system
  use libjpeg:          yes
  use libpng:           yes
  use libtiff:          yes
  use zlib:             no
  use curl:             no
  use libopenjpeg:      yes
  use cms:              yes
  command line utils:   yes
-- Configuring done
-- Generating done
-- Build files have been written to: /home/adib/Projekte/poppler/poppler

Also I have question about how would that api look like. Especially to
set certain options: font replacement, colour profiles, image
embedding.

I see in that code the ABWOutputDev. This is also about xml. What
exacly is ABWOutputDev? And how does it integrate into poppler
library? In the glib interface I do not see a reference.
Is there more to learn about poppler internals? The wiki does not
bring me that far.

Thank you for any help and any pointers.

Regards,

Adib.


On Tue, Feb 15, 2011 at 7:56 PM, Pino Toscano <pino at kde.org> wrote:
> Hi,
>
> Alle martedì 15 febbraio 2011, the Adib ha scritto:
>> currently Inkscape uses poppler internal API to read in pdf files.
>> Those API breaks/changes from time to time.
>>
>> Now I try importing pdf via poppler cairo surface and those cairo
>> surface as svg backend. So far that works.
>>
>> But I do not have any control over the process:
>> - I can not set bitmap dpi
>> - I can not specify if text stays text or convert to path
>> etc.
>>
>> Do you have any sugestions?
>
> What I proposed more than one year ago:
> http://sourceforge.net/mailarchive/message.php?msg_id=24162410
>
> --
> Pino Toscano
>
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
>
>


More information about the poppler mailing list