probonopd / linuxdeployqt

Makes Linux applications self-contained by copying in the libraries and plugins that the application uses, and optionally generates an AppImage. Can be used for Qt and other applications
Other
2.22k stars 411 forks source link

Wrong Font CentOS 7 linuxdeployqt build 13 on 2022-01-28 22:37:07 UTC #599

Open 88aleksandr88 opened 10 months ago

88aleksandr88 commented 10 months ago

Hello. After I applying linuxdeployqt on my qt-application in CentOS 7 font in my application is changed. Before linuxdeployqt I saw a beautiful and smooth Cantarell font. After linuxdeployqt I see a more straight-linened non-smooth font. How to keep original font with linuxdeployqt?

probonopd commented 10 months ago

Hello @88aleksandr88. Hard to tell without seeing it. Can you run your application with strace and see where it is trying to load the fonts from? Can you share your application for analysis?

88aleksandr88 commented 9 months ago

linuxdeployqt-font linuxdeployqt-font1

88aleksandr88 commented 9 months ago

Link to second application: QSketch

probonopd commented 9 months ago

Thanks for sharing. Possibly this has something to do with fontconfig, but so far I couldn't figure out yet what is going on.