TechDraw: Fix font size issues when exporting to SVG

This commit is contained in:
Tomas Pavlicek
2019-05-27 22:18:47 +02:00
committed by WandererFan
parent 5a4373a3c4
commit fad4db3300
15 changed files with 68 additions and 79 deletions

View File

@@ -84,7 +84,7 @@ void QGIHighlight::makeHighlight()
void QGIHighlight::makeReference()
{
prepareGeometryChange();
m_refFont.setPointSize(m_refSize);
m_refFont.setPointSizeF(QGIView::calculateFontPointSizeF(this, m_refSize));
m_reference->setFont(m_refFont);
m_reference->setPlainText(QString::fromUtf8(m_refText));
double fudge = Rez::guiX(1.0);