https://bugzilla.novell.com/show_bug.cgi?id=369466 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=369466#c5 --- Comment #5 from Mike Fabian <mfabian@novell.com> 2008-03-18 11:52:06 MST --- A response from Stian Thomassen from Trolltech concerning the underlying problem in Qt wich might explain the behaviour of Konqueror: From: qt-bugs@trolltech.com Subject: Re: [Issue N202645] Qt4 does not support extended faces properly To: mfabian@suse.de Cc: qt-bugs@trolltech.com Date: Mon, 17 Mar 2008 11:03:16 +0100 (CET) User-Agent: Trolltech Supporter/2.8 Hi Mike, On Thursday, 13. Mar 2008 16:38 Mike FABIAN wrote: [snip]
and our development team is aware of the issue, although it has been bumped a few times, and is currently scheduled for "some future release": http://trolltech.com/developer/task-tracker/index_html?method=entry&id=143304
Yes, I already found that and added this URL to our bug:
http://bugzilla.novell.com/show_bug.cgi?id=330658#c20
"some future release" is a bit disappointing though as the problem is known for years now and such fonts are becoming more and more common.
Indeed. It is considered priority 1, though, which should hopefully give it the attention it deservers. However, since I imagine supporting more variations of font faces will require expanding our current set of enums, I believe this will not be fixed until Qt 4.5 at least.
By the way, I found another bug in konqueror (KDE4) which might be related to this problem in Qt4 (or maybe not, I’m not sure):
http://bugzilla.novell.com/show_bug.cgi?id=369466
Because of the Qt4 bug I reported, I didn’t expect to be able to select fonts like "DejaVu Sans:style=Condensed" in the font selection GUI of konqueror4. But I thought that it should work if such a font is used in a web-page.
Selecting this font with setFont() from a simple Qt4 test program works, i.e something like
someWidget->setFont(QFont("DejaVu Sans Condensed"))
works in my test-program.
But it doesn’t work in a web-page rendered by konqueror4.
As it works in my Qt4 test-program, this might be a KDE4/konqueror4 bug of course, and it might have nothing to do with Qt4. But I’m not sure, maybe this is a side-effect of the Qt4 bug?
Creating a font based on the name may very well work, as the font will be resolved via FontConfig, which knows about all font faces and variations of these. So while you can create any font if you know its name, Qt still only reports a subset of these. Kind regards, Stian Thomassen, Support Engineer Trolltech ASA, Norway -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.