Qt World Summit: Register Today!

MIx different font engines?

  • Is it possible to use different font engine in different part of an application? Specifically, use FreeType in QGraphicsItems and native in all other widgets in a Windows application?

    FreeType engine produces much better character spacing and text layout in general. But specifying it as the font engine also changes how text in UI widgets looks. They don't look like Windows widget.

    I am wondering if I can for example set the text document used in QGraphicsTextItem to use FreeType while the application remain using Windows native.


Log in to reply