From 2c13aa8076391d471ae3d434d0410b9c573c986a Mon Sep 17 00:00:00 2001 From: kali Date: Mon, 4 Oct 2021 12:59:01 +0200 Subject: [ui] workarounds for font in osx --- gui/main.qml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'gui/main.qml') diff --git a/gui/main.qml b/gui/main.qml index c063739..7469620 100644 --- a/gui/main.qml +++ b/gui/main.qml @@ -68,7 +68,18 @@ ApplicationWindow { source: "qrc:/monserrat-bold.ttf" } - font.family: lightFont.name + FontLoader { + id: robotoFont + source: "qrc:/roboto.ttf" + } + + FontLoader { + id: robotoBoldFont + source: "qrc:/roboto-bold.ttf" + } + + font.family: robotoFont.name + font.weight: Font.Light Loader { id: loader -- cgit v1.2.3