summaryrefslogtreecommitdiffstats
path: root/android-mobile
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-09-20 11:11:24 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-09-21 15:13:10 -0700
commit9a35519a2a1745ff2f4f23f3561efa8e2bb94b0b (patch)
tree14964dfcc2b8f207e41a80a54c9327f8d57effa1 /android-mobile
parentcf4dbbe5f2def7a6666e74518a5cfea668ded569 (diff)
downloadsubsurface-9a35519a2a1745ff2f4f23f3561efa8e2bb94b0b.tar.gz
Android: bundle default font for use in OnePlus devices
This is working around a Qt Bug https://bugreports.qt.io/browse/QTBUG-69494 which prevents correct rendering of the OnePlus fonts. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'android-mobile')
-rw-r--r--android-mobile/font.qrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/android-mobile/font.qrc b/android-mobile/font.qrc
new file mode 100644
index 000000000..29f75a240
--- /dev/null
+++ b/android-mobile/font.qrc
@@ -0,0 +1,7 @@
+
+<RCC>
+ <qresource prefix="/fonts">
+ <!-- we need to load our own font for OnePlus phones -->
+ <file>Roboto-Regular.ttf</file>
+ </qresource>
+</RCC>