Native rendering breaks kerning
This commit is contained in:
parent
87122ffe77
commit
375e20462b
@ -170,10 +170,6 @@ TimelineViewManager::TimelineViewManager(CallManager *callManager, ChatPage *par
|
|||||||
view->setResizeMode(QQuickWidget::SizeRootObjectToView);
|
view->setResizeMode(QQuickWidget::SizeRootObjectToView);
|
||||||
container->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
container->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
||||||
|
|
||||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0))
|
|
||||||
view->quickWindow()->setTextRenderType(QQuickWindow::NativeTextRendering);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
connect(view, &QQuickWidget::statusChanged, this, [](QQuickWidget::Status status) {
|
connect(view, &QQuickWidget::statusChanged, this, [](QQuickWidget::Status status) {
|
||||||
nhlog::ui()->debug("Status changed to {}", status);
|
nhlog::ui()->debug("Status changed to {}", status);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user