Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21179 - missing /usr/X11R6/lib/X11/fonts/misc path in fontconfig 2.2
Summary: missing /usr/X11R6/lib/X11/fonts/misc path in fontconfig 2.2
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: foser (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-18 05:05 UTC by Marek Zebrowski
Modified: 2003-09-30 12:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Zebrowski 2003-05-18 05:05:12 UTC
path /usr/X11R6/lib/X11/fonts/misc is missing after upgrade to fontconfig 2.2.0-r2  
This causes inability to display bitmap fonts, for example misc-fixed in KDE aplications (konsole) 

Reproducible: Always
Steps to Reproduce:
1. upgrade to foncofig-2.2.0-r2 
2. run KDE konsole  
3. select medium font 
Actual Results:  
Instead of fixed font i have andale mono font 

Expected Results:  
fixed font shoud be present  

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) 
================================================================= 
System uname: 2.4.20-gentoo-r5 i686 Pentium III (Coppermine) 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="/usr/local/portage" 
USE="x86 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib 
png quicktime spell truetype xml2 xmms xv zlib directfb alsa gdbm berkdb slang readline arts tetex 
tcltk java mysql postgres X sdl pam libwww ssl perl python esd imlib oggvorbis qt kde motif opengl 
mozilla dga dvd ipv6 nas pcmcia pic samba sse tiff trusted usb wmf -oss -svga -gpm -tcpd -gnome 
-gtk" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-O2 -mcpu=pentium3 -march=pentium3 -pipe -msse -mmmx -fPIC" 
CXXFLAGS="-O2 -mcpu=pentium3 -march=pentium3 -pipe -msse -mmmx -fPIC" 
ACCEPT_KEYWORDS="x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache" 
 
WORKAROUND: 
add <dir>/usr/X11R6/lib/X11/fonts/misc</dir> to /etc/fonts/local.conf
Comment 1 foser (RETIRED) gentoo-dev 2003-05-18 17:40:35 UTC
Actually this is a deliberate choice. Most people won't miss them or either like it better this way, the ones that do can easily add the fontpath to a local config file.
Comment 2 TGL 2003-05-23 16:32:15 UTC
Hi foser,

I don't really understand your point about this fonts. I think -misc-fixed is widely used (look at the terminals in screenshots from the forum), it's one of the few usable monospace fonts available on gentoo, and probably the only one which comes with xfree. I really think this dir lacks more in the default config than, for instance, /usr/X11R6/lib/X11/fonts/sharefont would... And I don't see what would be the problem with simply keeping all the available xfree fonts in the path.
Comment 3 foser (RETIRED) gentoo-dev 2003-05-23 18:38:42 UTC
Adding all available fonts a) introduces some bad quality fonts b) is an unneeded resource hog c) fontconfig doesn't always pick the best fonts if similar named fonts are around. We actually add more fonts to our default config than the default fontconfig tarball comes with already.

That being said, i'm not unwilling to add stuff to the default config for a good reason. While fixed may be an often used default font there are other good monospaced fonts out there. Currently our xfree and fonts setup are in a transition phase and we hope to provide a better set of default fonts in the nearby future, this will most likely include the very reasonable Vera fonts (ttf-bistream-vera) which also contains a high quality TTF mono font.

At this time i'm considering maybe adding misc to the fontpath if i do another fontconfig revision (for some unrelated reason) or the next xfree revision will come with an improved set of default fonts.

I think the main problem here is KDE having a set of mediocre defaults for it's fonts setup, resulting in a lot of people complaining while with a few modifications the same installed fonts can yield much better results.
Comment 4 Peaceful 2003-09-04 14:53:01 UTC
I agree with TGL in not understanding your point either.  I had Mozilla in KDE using fonts that looked almost exactly like IE on Windows when I emerged it (Mozilla) the first time.  That is very important to me because I develop web applications for Windows users, so I need to see what they would see on a Windows box.  I also had Konsole looking nice with it's font set to 'medium' -- whatever that means.  

After emerging the newer version of fontconfig, my fonts all took a nose dive and looked awful -- just about everything looked screwey, from evolution to the text editor, even the fonts gdm was using looked like a joke.  I didn't notice any 'performance improvement.'  Worse, I *could not* find accurate fonts for Mozilla, and I *could not* find a font for Konsole that looked good either.  There may be other good monospace fonts *out there*, but they weren't showing up on my box, and I had everything working just fine.

I'm not the only one who missed them, either.  Check out the following thread in the forum for evidence of that.   I don't think I've seen anyone who mentioned that they *liked* the change.  In fact, I had some people suggest that the fonts themselves might have been corrupted.

http://forums.gentoo.org/viewtopic.php?t=77979

It took a week of searching and discussing on the forums before I figured out that I just needed to grab an old fonts.conf file, and then all of a sudden everything is back to normal.

I vote for the old fonts.conf.

That being said, I fully support improving the set of default fonts, and I don't mean any offense at all - don't get me wrong.  I think including Vera and other fonts like that would be very nice.  I only oppose doing anything that causes any of the few, nice, already-working default fonts to stop working.
Comment 5 foser (RETIRED) gentoo-dev 2003-09-05 04:25:01 UTC
well the problem with forum threads is that they always are one sided, the happy thousands of users do not post. 

As said, i don't exactly like the exclusion of fonts this way either, but for the time being it is the only way to provide a reasonable default for new users. I suppose it might end up all wrong for people who had their setup adapted to their needs, but overall i'm convinced that it is an improvement. The user should set it's specific config needs in local.conf, not in fonts.conf.

Adding hundreds mediocre bitmap font files is quite the memory hog in fontconfig, we have to take that into account as well.

Future fontconfig versions will have better support to do what i want to do here, with less impact overall. And our xfree setup should be better geared towards choosing the fonts you need. Until then it is at time improvising.
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2003-09-30 12:17:01 UTC
db issue