Bug 68353 - Don't list core X fonts in font selector
Summary: Don't list core X fonts in font selector
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: qt
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: wdovlrrw
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 67217
TreeView+ depends on / blocked
 
Reported: 2002-07-09 15:10 UTC by Havoc Pennington
Modified: 2008-05-01 15:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-08-15 14:54:26 UTC
Embargoed:


Attachments (Terms of Use)
qt-3.0.5-fontdatabasefixes.patch (7.56 KB, patch)
2002-08-15 13:09 UTC, Leon Ho
no flags Details | Diff

Description Havoc Pennington 2002-07-09 15:10:31 UTC
Qt is still offering a mix of core X fonts and Xft2 fonts. 
The core X fonts we're keeping are in the bitmap-fonts package and available 
via Xft2. So it's broken to include core X fonts here, it just results in
duplicates.

There was a thread cc'd to Bero, Keith Packard, and I with details on how to
fix, I'll try to find the mail and attach the details.

Comment 1 Havoc Pennington 2002-07-09 15:15:57 UTC
Here is how Keith suggests fixing this:

qfontdatabase_x11.cpp:createDatabase()

	There's an obvious place to stick an 'else' to skip adding core
	fonts to the database.

qfont_x11.cpp:checkXftFont()

	Must skip the family name comparison to let Xft do the
	substitutions.

Comment 2 Owen Taylor 2002-07-12 15:50:23 UTC
Changing package to 'qt'.


Comment 3 Havoc Pennington 2002-08-05 15:16:44 UTC
This bug is pretty important, or the user will get duplicate fonts, and
different fonts in different apps, and in general things won't make any sense.

Comment 4 Leon Ho 2002-08-15 13:09:03 UTC
Created attachment 70824 [details]
qt-3.0.5-fontdatabasefixes.patch

Comment 5 Leon Ho 2002-08-15 13:10:42 UTC
I have done a patch for taking out the core X fonts. I haven't taken out the core X 
completely. Core X font will display if user disable "useXft" in qtconfig. 
 
This patch also adds aliases which fixed Bug 67098

Comment 6 Ngo Than 2002-08-15 14:54:20 UTC
it's fixed in 3.0.5-13. thanks to Leon for good work!

Comment 7 Jay Turner 2002-09-03 18:12:02 UTC
Closing out, as it appears to be fixed according to the notes above.


Note You need to log in before you can comment on or make changes to this bug.