[qet] qet/qet: [5897] Fix Static text size of element exported to dxf |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 5897
Author: scorpio810
Date: 2019-05-30 20:49:43 +0200 (Thu, 30 May 2019)
Log Message:
-----------
Fix Static text size of element exported to dxf
Modified Paths:
--------------
trunk/sources/exportdialog.cpp
Modified: trunk/sources/exportdialog.cpp
===================================================================
--- trunk/sources/exportdialog.cpp 2019-05-28 19:22:36 UTC (rev 5896)
+++ trunk/sources/exportdialog.cpp 2019-05-30 18:49:43 UTC (rev 5897)
@@ -504,9 +504,9 @@
for(QGraphicsSimpleTextItem *text : primitives.m_texts)
{
qreal fontSize = text->font().pointSizeF();
- if (fontSize < 0) {
+ if (fontSize < 0)
fontSize = text->font().pixelSize();
- }
+
fontSize *= Createdxf::yScale;
qreal x = elem_pos_x + text->pos().x();
qreal y = elem_pos_y + text->pos().y();