Browse Source

Stroke, don't fill fonts in preview

Fixed new vector-style font display to avoid the non-closed polyline
fills that make it hard to read the proper text

Fixes https://gitlab.com/kicad/code/kicad/issues/11781
7.0
Seth Hillbrand 3 years ago
parent
commit
bed38d2fc8
  1. 2
      common/preview_items/preview_utils.cpp

2
common/preview_items/preview_utils.cpp

@ -157,6 +157,8 @@ void KIGFX::PREVIEW::DrawTextNextToCursor( KIGFX::VIEW* aView, const VECTOR2D& a
textAttrs.m_Mirrored = viewFlipped; // Prevent text flipping when view is flipped
textAttrs.m_Size = textDims.GlyphSize;
textAttrs.m_StrokeWidth = textDims.StrokeWidth;
gal->SetIsFill( false );
gal->SetIsStroke( true );
if( aDrawingDropShadows )
{

Loading…
Cancel
Save