kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #09838
Proof-of-concept for better contrasting netnames in pcbnew
The idea is to have more legible net names on pads and tracks when using
light colours (it can happen using the net highlighting, as shown).
It works this way: if the pad/track is dark it uses white text bordered
black, otherwise it's black text with a white border.
The border effect is simply done using a smaller pen width. Of course
sufficiently small text can't use the border (look the net name in the
0603 pads);
Issues:
- It draws the text twice (no performance problem even with a lowly
atom, but who knows)
- Fringing at some zoom levels (no idea on how to fix it, but it isn't
too bad); look at the big coil pad.
- The 'black' is not always opaque since the board is not drawn in
layers but by entity (it's nitpicking...)
Any idea/comment?
--
Lorenzo Marcantonio
Logos Srl
Attachment:
dynamic_contrast.png
Description: PNG image
Follow ups