Since Qt 6.8, misc/fonts/dmstext.ttf has to be registered separately #814
Labels
dataView
Mapview, tableview, layercontrol
optimization
Qt
Eventlog, layout detailpage, main menu, knoppen, treeview
main_qt.cpp does:
Since 6.8.0 this seems to result in exceptions in the text rendering of the splash-screen and further not having Nono Sans Medium in the DataViews of shv.dll that uses Windows GDI CreateFont and DrawText functions.
The latter DataView issue has been mitigated by shipping misc/fonts/dmstext.ttf in the program file folder, which is a duplicate of 1.2 MB of the application font, linked into the qt executable.
Desired solution: let Qt and Windows GDI use the same font, i.e. either Windows uses the Qt resource, or, Qt uses the %exeDir%/misc/fonts/dmstext.ttf
The text was updated successfully, but these errors were encountered: