diff --git a/interface/resources/qml/TextOverlayElement.qml b/interface/resources/qml/TextOverlayElement.qml index 492a38ee0b..56309e5391 100644 --- a/interface/resources/qml/TextOverlayElement.qml +++ b/interface/resources/qml/TextOverlayElement.qml @@ -15,7 +15,7 @@ TextOverlayElement { text: root.text color: root.textColor font.family: root.fontFamily - font.pointSize: root.fontSize + font.pixelSize: root.fontSize } } } diff --git a/interface/src/ui/overlays/TextOverlay.cpp b/interface/src/ui/overlays/TextOverlay.cpp index 32d94ec05b..e32b7804d9 100644 --- a/interface/src/ui/overlays/TextOverlay.cpp +++ b/interface/src/ui/overlays/TextOverlay.cpp @@ -165,7 +165,7 @@ void TextOverlay::setProperties(const QScriptValue& properties) { QScriptValue font = properties.property("font"); if (font.isObject()) { if (font.property("size").isValid()) { - setFontSize(font.property("size").toInt32() / 1.2); + setFontSize(font.property("size").toInt32()); } }