Don't default KeepUpright to true in Eagle importer.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18175
This commit is contained in:
parent
ee8b74d688
commit
ca54eb422b
|
@ -728,6 +728,7 @@ void PCB_IO_EAGLE::loadPlain( wxXmlNode* aGraphics )
|
|||
int textThickness = KiROUND( t.size.ToPcbUnits() * ratio / 100 );
|
||||
pcbtxt->SetTextThickness( textThickness );
|
||||
pcbtxt->SetTextSize( kicad_fontsize( t.size, textThickness ) );
|
||||
pcbtxt->SetKeepUpright( false );
|
||||
|
||||
// Eagle's anchor is independent of text justification; KiCad's is not.
|
||||
VECTOR2I eagleAnchor( kicad_x( t.x ), kicad_y( t.y ) );
|
||||
|
@ -2080,6 +2081,7 @@ void PCB_IO_EAGLE::packageText( FOOTPRINT* aFootprint, wxXmlNode* aTree ) const
|
|||
|
||||
textItem->SetTextThickness( textThickness );
|
||||
textItem->SetTextSize( kicad_fontsize( t.size, textThickness ) );
|
||||
textItem->SetKeepUpright( false );
|
||||
|
||||
int align = t.align ? *t.align : ETEXT::BOTTOM_LEFT; // bottom-left is eagle default
|
||||
|
||||
|
|
Loading…
Reference in New Issue