[Interest] Qt uses fontconfig on Linux, but what about Windows?

Allan Sandfeld Jensen kde at carewolf.com
Sun Dec 17 19:53:09 CET 2023


On Samstag, 16. Dezember 2023 15:58:00 CET Thomas Larsen Wessel wrote:
> Quote from https://doc.qt.io/qt-6/qt-embedded-fonts.html:
> 
> *Qt normally uses fontconfig to provide access to system fonts*. If
> 
> > fontconfig is not available, e.g. in dedicated embedded systems where
> > space
> > is at a premium, Qt will fall back to using QBasicFontDatabase. In this
> > case, Qt applications will look for fonts in Qt's lib/fonts/ directory. Qt
> > will automatically detect prerendered fonts and TrueType fonts.
> 
> When a Qt application is running on Windows, does it also rely on
> fontconfig?


No, it uses Windowsø font system.

Best regards
Allan




More information about the Interest mailing list