PDA

View Full Version : X11 fonts



warchild
16th December 2013, 13:25
Hello,

I'm trying to use real xfonts in Qt without success. No matter what XLFD name i pass to QFont::setRawName(xlfd), I always get some kind of substitution. Not the actual XFont. Looking in QT source code, there is allot of functionality regarding xfonts, so there must be actual support for it. Maybe substituting xfont to a true type font is intentional and desired functionality for most users but, I realy have to use real xfonts for my application.

Is there any solution to this, something I forgot?

anda_skoa
16th December 2013, 19:35
I think Qt uses fontconfig on Unix system to actually deal with fonts.
Maybe check if your fontconfig config sees the fonts.

Cheers,
_