Skip to content

Commit

Permalink
Merge branch 'current' of https://github.com/ra3xdh/qucs_s into current
Browse files Browse the repository at this point in the history
  • Loading branch information
ra3xdh committed Jun 18, 2023
2 parents 9d8bba5 + e91a8f5 commit bccd78c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion qucs/paintings/graphictext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ void GraphicText::paint(ViewPainter *p)
p->Painter->rotate(-Angle); // automatically enables transformation

int Size = Font.pointSize();
Font.setPointSizeF( p->FontScale * float(Size) );
#ifdef __MINGW32__
Font.setPointSizeF( (p->FontScale / p->PrintScale) * float(Size));
#else
Font.setPointSizeF( p->FontScale * float(Size));
#endif

QFont f = p->Painter->font();
p->Painter->setPen(Color);
Expand Down

0 comments on commit bccd78c

Please sign in to comment.