qt.qpa.fonts configuration should become improved
Currently on the very first start of msui it needs long to get the UI on screen. Once the fonts are available it starts fast.
The 135ms sound very small but the whole process took on my M4 five seconds.
qt.qpa.fonts: Populating font family aliases took 135 ms. Replace uses of missing font family "Sans Serif" with one that exists to avoid this cos
Hi, Can you explain the issue in detail
That's all what I have by now. Someone who wants to solve this needs to read some documentations or debugs the issue and provide a solution which works on all supported OS.
You recognize it when you do an installation as described in the README and stop the time for the first start.
Hi @ReimarBauer I believe this issue is caused by the "Sans Serif" font mapping in Qt5. On macOS M4, the delay might be due to Qt5's fontconfig not correctly mapping the generic "Sans Serif" font family to a native Core Text font.
@ReimarBauer can we set a common know font style like Arial , times new roman in the QApp instead of relying on Sans serif. I think on mac os , the fontconfig doesn't map to Core Text nicely hence Qt5 takes longer time to resolve it.