Export SVG wrong color of designator text

Bug #1774171 reported by Piotr Gałka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Medium
Jeff Young

Bug Description

Application: kicad
Version: (5.0.0-rc2-45-gc5f56ef57), release build
Libraries:
    wxWidgets 3.0.3
    libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.11 libssh2/1.8.0 nghttp2/1.23.1 librtmp/2.3
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.60.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.54.1
    Compiler: GCC 7.1.0 with C++ ABI 1011

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

I'm writeing here first time.
I've changed colors:
F.Cu and Pads Front to be gray.
F.Silks and Edge.Cuts to be black.
In my footprints I have designators (D1, D2,...) at F.Silks.
File|Export|SVG.. (layers F.Cu + F.Silks + Print board edges) gives me svg where everything is OK except designators are not black. I don't know from where they take their color.

Tags: export pcbnew svg
tags: added: export pcbnew svg
Revision history for this message
Jeff Young (jeyjey) wrote :

Using Plot (instead of Export) to SVG appears to work correctly.

Changed in kicad:
status: New → Confirmed
assignee: nobody → Jeff Young (jeyjey)
importance: Undecided → Medium
Revision history for this message
Jeff Young (jeyjey) wrote :

When using the Export path, the references (but not other silk items) get filled with #848484.

Revision history for this message
Jeff Young (jeyjey) wrote :

It's just an out-and-out bug. We use a single local variable to store the colour of both reference and value and the value colour overwrites the reference one before it gets used.

Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

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

Changed in kicad:
status: Confirmed → Fix Committed
Changed in kicad:
status: Fix Committed → Fix Released
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.