mmmhh, I don't really understand why. However this patch should be used with a recent commit, because it uses this patch, that has been committed : https://bugs.launchpad.net/kicad/+bug/1844982. (But it seems that you are already using it). I basically added an extra rule based on this patch.
I litteraly just git-cloned the project (e6346c7408e368e95b25e69a4ed08ad951f4a78d) and made it : via netnames are not darkened properly
I add this only line (that is already in the proposed patch), and the via netnames are darkened properly :
diff --git a/pcbnew/pcb_painter.cpp b/pcbnew/pcb_painter.cpp
index 61b27eeec..3b08751c2 100644
--- a/pcbnew/pcb_painter.cpp
+++ b/pcbnew/pcb_painter.cpp
@@ -256,6 +256,7 @@ const COLOR4D& PCB_RENDER_SETTINGS::GetColor( const VIEW_ITEM* aItem, int aLayer
// For vias, some layers depend on other layers in high contrast mode
if( m_hiContrastEnabled && item->Type() == PCB_VIA_T &&
( aLayer == LAYER_VIAS_HOLES ||
+ aLayer == LAYER_VIAS_NETNAMES || aLayer == LAYER_VIA_THROUGH || aLayer == LAYER_VIA_MICROVIA || aLayer == LAYER_VIA_BBLIND ) )
mmmhh, I don't really understand why. However this patch should be used with a recent commit, because it uses this patch, that has been committed : https:/ /bugs.launchpad .net/kicad/ +bug/1844982. (But it seems that you are already using it). I basically added an extra rule based on this patch.
I litteraly just git-cloned the project (e6346c7408e368 e95b25e69a4ed08 ad951f4a78d) and made it : via netnames are not darkened properly
I add this only line (that is already in the proposed patch), and the via netnames are darkened properly :
diff --git a/pcbnew/ pcb_painter. cpp b/pcbnew/ pcb_painter. cpp .3b08751c2 100644 pcb_painter. cpp pcb_painter. cpp SETTINGS: :GetColor( const VIEW_ITEM* aItem, int aLayer
aLayer == LAYER_VIA_THROUGH ||
aLayer == LAYER_VIA_MICROVIA ||
aLayer == LAYER_VIA_BBLIND ) )
index 61b27eeec.
--- a/pcbnew/
+++ b/pcbnew/
@@ -256,6 +256,7 @@ const COLOR4D& PCB_RENDER_
// For vias, some layers depend on other layers in high contrast mode
if( m_hiContrastEnabled && item->Type() == PCB_VIA_T &&
( aLayer == LAYER_VIAS_HOLES ||
+ aLayer == LAYER_VIAS_NETNAMES ||