[Bug 369466] New:=?UTF-8?Q?=20konqueror=20cannot=20sel?= ect the font “DejaVu Sans Condensed” when used in a web page
https://bugzilla.novell.com/show_bug.cgi?id=369466 Summary: konqueror cannot select the font “DejaVu Sans Condensed” when used in a web page Product: openSUSE 11.0 Version: Alpha 2plus Platform: All OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: KDE4 Applications AssignedTo: kde-maintainers@suse.de ReportedBy: mfabian@novell.com QAContact: qa@suse.de Found By: Development konqueror cannot select the font “DejaVu Sans Condensed” when used in a web page. The problem exists both for konqueror4 and konqueror3. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=369466 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=369466#c1 Mike Fabian <mfabian@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrmazda@ij.net --- Comment #1 from Mike Fabian <mfabian@novell.com> 2008-03-11 15:25:59 MST --- See also bug #330658, comment #27. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=369466 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=369466#c2 --- Comment #2 from Mike Fabian <mfabian@novell.com> 2008-03-11 15:27:20 MST --- Created an attachment (id=200463) --> (https://bugzilla.novell.com/attachment.cgi?id=200463) fonts.html Simple test page to reproduce the problem. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=369466 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=369466#c3 --- Comment #3 from Mike Fabian <mfabian@novell.com> 2008-03-11 15:32:27 MST --- Bug #330658 talks about not being able to select condensed versions of “DejaVu Sans” in GUIs of Qt3/KDE3/Qt4/KDE4. But selecting this font with setFont() from a simple Qt4 program works, i.e something like someWidget->setFont(QFont("DejaVu Sans Condensed")) works fine in my Qt4 test-program. So why doesn’t this work in konqueror4? The preferred family name of this font is “DejaVu Sans” and when one wants to used the condensed version, the “preferred” way to to it would be to use something like xfd -fa "DejaVu Sans:style=Condensed" But as “DejaVu Sans Condensed” is still an alternative name for this font: mfabian@magellan:~$ fc-list "DejaVu Sans Condensed" DejaVu Sans,DejaVu Sans Condensed:style=Condensed Oblique,Oblique DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold Oblique,Bold Oblique DejaVu Sans,DejaVu Sans Condensed:style=Condensed,Book DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold,Bold mfabian@magellan:~$ xfd -fa "DejaVu Sans Condensed" works as well. And the setFont("DejaVu Sans Condensed") in a Qt4 sample program works as well. So why doesn’t this work in Konqueror? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=369466 User mrmazda@ij.net added comment https://bugzilla.novell.com/show_bug.cgi?id=369466#c4 --- Comment #4 from Felix Miata <mrmazda@ij.net> 2008-03-15 18:50:23 MST --- Same problem in Opera. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=369466 Will Stephenson <wstephenson@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wstephenson@novell.com AssignedTo|kde-maintainers@suse.de |dmueller@novell.com -- 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.
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.
https://bugzilla.novell.com/show_bug.cgi?id=369466 Dirk Mueller <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=369466 User zscherni@arcor.de added comment https://bugzilla.novell.com/show_bug.cgi?id=369466#c6 Sebastian Zschernig <zscherni@arcor.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zscherni@arcor.de --- Comment #6 from Sebastian Zschernig <zscherni@arcor.de> 2008-08-15 11:51:03 MDT --- Please have a look on http://bugs.freedesktop.org/show_bug.cgi?id=12735 (comment 8) -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=369466 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=369466#c7 --- Comment #7 from Mike Fabian <mfabian@novell.com> 2008-08-18 09:23:04 MDT --- Yes, but as Ben Laenen write in that comment, "fixing" the fonts is not a good idea because the fonts are not broken, the applications which cannot deal with this are broken and need to be fixed. Removing the preferred (sub)family names from the fonts would be a regression for applications like Gnome which already support this well. -- 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.
participants (1)
-
bugzilla_noreply@novell.com