Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#179 missing thin structures in pdf export via command line

v1.0 (example)
open
nobody
None
5
2013-10-02
2013-09-28
Björn Schuster
No

Hi gerbv team,

after an upgrade on my debian machine PC1 I have problems with pdf export with gerbv form a project file via commandline. Command I have used before is "gerbv -o export.pdf -x pdf -p gerbv-project-file.gvp"
The problem is that thin structures won't be exported. In both cases I use version 2.6 from debian repository. Also with self compiled version 2.6.1 from git repository the problem exists.
When I do the same with GUI (File:Export:pdf) the problem isn't available.
On my other computer PC2 I have no problems with the same project file via command line.

With the following libraries on PC1 I get a pdf where thin lines are missing
$ dpkg --list | grep cairo
ii guile-cairo 1.4.0-3 i386 Guile bindings for Cairo
ii libcairo-gobject2:i386 1.12.14-4 i386 The Cairo 2D vector graphics library (GObject library)
ii libcairo-perl 1.090-2 i386 Perl interface to the Cairo graphics library
ii libcairo-script-interpreter2:i386 1.12.14-4 i386 The Cairo 2D vector graphics library (script interpreter)
ii libcairo2:i386 1.12.14-4 i386 The Cairo 2D vector graphics library
ii libcairo2-dev 1.12.14-4 i386 Development files for the Cairo 2D graphics library
ii libcairomm-1.0-1 1.10.0-1 i386 C++ wrappers for Cairo (shared libraries)
ii libgoocanvas3 0.15-1 i386 canvas widget for GTK+ that uses the cairo 2D library
ii libmono-cairo4.0-cil 2.10.8.1-5 all Mono Cairo library (for CLI 4.0)
ii libpangocairo-1.0-0:i386 1.32.5-5+b1 i386 Layout and rendering of internationalized text
ii libpixman-1-0:i386 0.26.0-3 i386 pixel-manipulation library for X and cairo
ii libpixman-1-dev 0.26.0-3 i386 pixel-manipulation library for X and cairo (development files)
ii python-cairo 1.8.8-1+b2 i386 Python bindings for the Cairo vector graphics library

$ dpkg --list | grep libgtk2
ii libgtk2-gladexml-perl 1.007-1+b2 i386 Perl interface to use user interfaces created with glade-2
ii libgtk2-imageview-perl 0.05-1+b2 i386 Perl bindings for the GtkImageView image viewer widget
ii libgtk2-perl 2:1.244-1 i386 Perl interface to the 2.x series of the Gimp Toolkit library
ii libgtk2-unique-perl 0.05-1+b2 i386 module for single instance applications
ii libgtk2.0-0:i386 2.24.20-1 i386 GTK+ graphical user interface library
ii libgtk2.0-bin 2.24.20-1 i386 programs for the GTK+ graphical user interface library
ii libgtk2.0-cil 2.12.10-5 i386 CLI binding for the GTK+ toolkit 2.12
ii libgtk2.0-common 2.24.10-2 all common files for the GTK+ graphical user interface library
ii libgtk2.0-dev 2.24.20-1 i386 development files for the GTK+ library

With this libraries on PC2 I have no problems with the pdf export via commandline
$ dpkg --list | grep cairo
ii cairo-5c 1.8 amd64 nickle bindings for the cairo graphics library
ii cairo-perf-utils 1.12.2-2 amd64 The Cairo 2D vector graphics library performance utilities
ii guile-cairo 1.4.0-3 amd64 Guile bindings for Cairo
ii libcairo-gobject2:amd64 1.12.2-2 amd64 The Cairo 2D vector graphics library (GObject library)
ii libcairo-perl 1.090-2 amd64 Perl interface to the Cairo graphics library
ii libcairo-script-interpreter2:amd64 1.12.2-2 amd64 The Cairo 2D vector graphics library (script interpreter)
ii libcairo2:amd64 1.12.2-2 amd64 The Cairo 2D vector graphics library
ii libcairo2-dev 1.12.2-2 amd64 Development files for the Cairo 2D graphics library
ii libcairo5c-0 1.8 amd64 library for cairo nickle bindings
ii libcairomm-1.0-1 1.10.0-1 amd64 C++ wrappers for Cairo (shared libraries)
ii libgoocanvas3 0.15-1 amd64 canvas widget for GTK+ that uses the cairo 2D library
ii libmono-cairo4.0-cil 2.10.8.1-5 all Mono Cairo library (for CLI 4.0)
ii libpangocairo-1.0-0:amd64 1.32.5-5+b1 amd64 Layout and rendering of internationalized text
ii libpixman-1-0:amd64 0.26.0-3 amd64 pixel-manipulation library for X and cairo
ii libpixman-1-dev 0.26.0-3 amd64 pixel-manipulation library for X and cairo (development files)
ii python-cairo 1.8.8-1+b2 amd64 Python bindings for the Cairo vector graphics library

$ dpkg --list | grep libgtk2
ii libgtk2-gladexml-perl 1.007-1+b2 amd64 Perl interface to use user interfaces created with glade-2
ii libgtk2-imageview-perl 0.05-1+b2 amd64 Perl bindings for the GtkImageView image viewer widget
ii libgtk2-perl 2:1.244-1 amd64 Perl interface to the 2.x series of the Gimp Toolkit library
ii libgtk2-unique-perl 0.05-1+b2 amd64 module for single instance applications
ii libgtk2.0-0:amd64 2.24.10-2 amd64 GTK+ graphical user interface library
ii libgtk2.0-bin 2.24.10-2 amd64 programs for the GTK+ graphical user interface library
ii libgtk2.0-cil 2.12.10-4 amd64 CLI binding for the GTK+ toolkit 2.12
ii libgtk2.0-common 2.24.10-2 all common files for the GTK+ graphical user interface library
ii libgtk2.0-dev 2.24.10-2 amd64 development files for the GTK+ library

1 Attachments

Discussion

  • Hi gerbv team,

    I have downgraded
    libcairo2:i386 1.12.14-4 i386
    to
    libcairo2:i386 1.12.2-3 i386.

    Now I have all structures in my pdf file viewable again after this change.

    So the reason for the lost of thin structures in pdf export via command line seems the libcairo2 library.

    Regards