4xxx.sym negativ line thickness
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Invalid
|
Undecided
|
ronnie |
Bug Description
Steps to Reproduce:
* eeschema with emtpy schematic
* add symbol, hit "A"
* Choose from 4xxx.lib symbol 4001 (but not limited to); see screenshot
* Confirm choose symbol and add to schematic
I attached a comparsion of an release 5.0.0 (right) and current master (left). It's highly likely related to new gal in eeschema, but I could figure out more details.
My clue is that arcs are affected, but I'm not sure.. I'm sure that is's the symbol body outline, checked with different colors.
Application: eeschema
Version: (6.0.0-
Libraries:
wxWidgets 3.0.2
libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
Platform: Linux 4.4.0-137-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.2 (wchar_t,wx containers,
Boost: 1.58.0
Curl: 7.47.0
Compiler: GCC 5.4.0 with C++ ABI 1009
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=OFF
summary: |
- Symbol arc render broken + 4xxx.sym negativ line thickness |
Nope... all wrong. :) This seems to be an issue with the 4xxx.lib in particular. After dissecting 4xxx.lib and understanding the symbol lib file format just a bit better, I found polygons with thickness of -1000.
Arguably that is not correct in the lib to begin with, tough, maybe a check for thickness going negative would be worth it? When reading the .lib file, or when rendering.. I'll leave the to more knowledgeable folks. ;)
Attached patch "fixes" the issue. I'll head other to the lib folks with that patch.