Bug 137145 - fontconfig seems to break handling of bitmap fonts via xft
Summary: fontconfig seems to break handling of bitmap fonts via xft
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: X11 Applications (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Mike Fabian
QA Contact: Stefan Dirsch
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-06 15:43 UTC by Marcus Rückert
Modified: 2006-01-03 10:44 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
bitmap-encoding-problem.patch (838 bytes, patch)
2005-12-12 13:18 UTC, Mike Fabian
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Rückert 2005-12-06 15:43:05 UTC
xfd -fa "xos Terminus:pixelsize=16" only renders replacement chars.
same for xterm.
rxvt-unicode crashes. workaround for urxvt is in progress.
Comment 1 Mike Fabian 2005-12-12 13:18:08 UTC
Created attachment 60271 [details]
bitmap-encoding-problem.patch

Patch which fixes the problem by skipping all fonts which
don't have any encoded characters.

This patch might cause problems with some symbol fonts.  Most symbol
fonts still work well but there may be exotic symbol fonts which
don't.

I.e. this patch probably needs to be improved to skip only bitmap
fonts without encoded characters.

But the urgent problem with the urxvt crashes and other problems
caused by non-working bitmap fonts is solved for now and currently I
am not aware of any side effects of this patch.  There may be side
effects for exotic bitmap fonts, but until now I couldn't find any.

Therefore I close this bug as FIXED now.

I will discuss on the fontconfig mailing list how to solve it perfectly.
Comment 2 Mike Fabian 2005-12-12 13:18:49 UTC
FIXED.