Arc does not line up with lines when printing (to pdf) (GTK specific)

Bug #1845229 reported by Philipp Legrum
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Committed
Undecided
jean-pierre charras

Bug Description

Printing a board with rounded edge cuts (arcs) yields a pdf where the arcs' endpoint do not line up with the adjacent lines. In the attached example, it is all edge cuts.
Gerber files for the attached board is ok.

I tried Debians pdf printer, windows 10, FreePDF. All the same.

All four corners have the same problem to various extents.

Application: KiCad
Version: (5.99.0-135-ga1fe8cfa5-dirty), release build
Libraries:
    wxWidgets 3.0.2
    libcurl/7.52.1 OpenSSL/1.0.2s zlib/1.2.8 libidn2/0.16 libpsl/0.17.0 (+libidn2/0.16) libssh2/1.7.0 nghttp2/1.18.1 librtmp/2.3
Platform: Linux 4.9.0-3-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.62.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.52.1
    Compiler: GCC 6.3.0 with C++ ABI 1010
Build settings:
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
    KICAD_STDLIB_DEBUG=OFF
    KICAD_STDLIB_LIGHT_DEBUG=OFF
    KICAD_SANITIZE=OFF

Tags: gtk printing
Revision history for this message
Philipp Legrum (philulm) wrote :
Revision history for this message
Philipp Legrum (philulm) wrote :

To illustrate what I mean...

Changed in kicad:
milestone: none → 6.0.0-rc1
summary: - Arc does not line up with lines when printing (to pdf)
+ Arc does not line up with lines when printing (to pdf) (GTK specific)
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision 281d77f6b3f3391a00cf18a085e65c53cb65ef77
https://git.launchpad.net/kicad/patch/?id=281d77f6b3f3391a00cf18a085e65c53cb65ef77

Changed in kicad:
status: New → Fix Committed
assignee: nobody → jean-pierre charras (jp-charras)
tags: added: gtk printing
Revision history for this message
Philipp Legrum (philulm) wrote :

Printed PDFs still expose the same problem. The print preview is spot on now.

Revision history for this message
Seth Hillbrand (sethh) wrote :

I do not observe this anymore. Please attach the PDF that appears invalid.

Application: Pcbnew
Version: (5.99.0-164-ge57c13c2b), debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.64.0 OpenSSL/1.1.1c zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
Platform: Linux 4.19.0-6-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
    Boost: 1.67.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.64.0
    Compiler: GCC 8.3.0 with C++ ABI 1013

Build settings:
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON
    KICAD_STDLIB_DEBUG=OFF
    KICAD_STDLIB_LIGHT_DEBUG=OFF
    KICAD_SANITIZE=OFF

Revision history for this message
Philipp Legrum (philulm) wrote :

My PDFs are good now, too.
My bad, I experienced a little version mess-up.

Thanks a lot for fixing.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.