eeschema: Take stroke thickness into account
Spacing text for plotters uses the thickness of text for two separate classes. This sets the thickness in the EDA_TEXT class as well to allow the multiple line positions to be correctly set Fixes: lp:1799605 * https://bugs.launchpad.net/kicad/+bug/1799605
This commit is contained in:
parent
b63cdcf225
commit
8d777dd5c3
|
@ -523,6 +523,10 @@ void SCH_TEXT::Plot( PLOTTER* aPlotter )
|
|||
COLOR4D color = GetLayerColor( GetLayer() );
|
||||
int thickness = GetPenSize();
|
||||
|
||||
// Two thicknesses are set here:
|
||||
// The first is for EDA_TEXT, which controls the interline spacing based on text thickness
|
||||
// The second is for the output that sets the actual stroke size
|
||||
SetThickness( thickness );
|
||||
aPlotter->SetCurrentLineWidth( thickness );
|
||||
|
||||
if( IsMultilineAllowed() )
|
||||
|
|
Loading…
Reference in New Issue