Adjust bottom- and centre-aligned linespacing to better match 6.0.
Fixes https://gitlab.com/kicad/code/kicad/issues/11269
This commit is contained in:
parent
66ebd68060
commit
6a3c5b6e0e
|
@ -118,7 +118,7 @@ void FONT::getLinePositions( const wxString& aText, const VECTOR2I& aPosition,
|
|||
aExtents.push_back( bBox );
|
||||
|
||||
if( i == 0 )
|
||||
height += aAttrs.m_Size.y;
|
||||
height += ( aAttrs.m_Size.y * 1.21 ); // 1.21 is a fudge to match 6.0 positioning
|
||||
else
|
||||
height += interline;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue