From 6c0b78c378badf5e4e183be2ef79f49f9a0f7cd6 Mon Sep 17 00:00:00 2001
From: Epicalert <epicalert@protonmail.com>
Date: Sun, 15 Sep 2024 03:15:18 +0800
Subject: [PATCH] Use native text rendering

---
 main.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/main.cpp b/main.cpp
index de5d5c4..427911f 100644
--- a/main.cpp
+++ b/main.cpp
@@ -1,8 +1,11 @@
 #include <QGuiApplication>
 #include <QQmlApplicationEngine>
+#include <QtGlobal>
 
 int main(int argc, char *argv[])
 {
+    qputenv("QML_DISABLE_DISTANCEFIELD", "1");
+
     QGuiApplication app(argc, argv);
 
     QQmlApplicationEngine engine;