Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38775 - Default fonts.conf has broken aliased font for system sans typeface (Nimbus Sans L)
Summary: Default fonts.conf has broken aliased font for system sans typeface (Nimbus S...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Fonts Team
Depends on:
Reported: 2004-01-19 20:25 UTC by Flammie Pirinen (RETIRED)
Modified: 2006-08-19 15:03 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Flammie Pirinen (RETIRED) gentoo-dev 2004-01-19 20:25:32 UTC
/etc/fontconfig/fonts.conf defines Nimbus Sans L in the alias section of sans-family, which would be fine for normal usage, however that font seems for some reason to install cyrillic fonts in half a dozen of Unicode character classes (including, but alas not limited to the actual cyrillic class). 

Nimbus Sans L is a font contained in ghostscript and gs-font packages, unmerging them might make problem disappear, but unmerging ghostscript really isn't an option. Hacking fonts.conf works fair enough though.

Reproducible: Always
Steps to Reproduce:
1. Emerge ghostscript (or gs-fonts* containing Nimbus Sans'), xfree and fontconfig for the least.
2a Open gucharmap and look Latin-B or IPA sections for example, you should see a bunch of cyrillic characters.
2b You can also check the given web page in any unicode capable modern (graphical) browser, the correct font array is given in as picture.
Actual Results:  
Incorrect cyrillic characters appear everywhere.

Expected Results:  
The correct symbols should have been displayed.

Portage 2.0.50_pre16 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0,
System uname: 2.6.1-rc3 i686 AMD Duron(tm) processor
Gentoo Base System version
distcc 2.12 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.8
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer -ffast-math -finline-limit=333"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer -ffast-math
FEATURES="autoaddcvs buildpkg ccache distcc fixpackages sandbox userpriv
USE="X Xaw3d acpi acpi4linux alsa apache2 apm arts avi berkdb bonobo crypt cups
curl dnd encode esd foomaticdb gb gd gdbm gif gnome gpm gstreamer gtk gtk2
gtkhtml guile imagemagick imlib ipv6 java joystick jpeg kde libg++ libwww mad
mbox mikmod mmx mng motif mozilla moznomail mozp3p mozsvg mozxmlterm mpeg music
mysql ncurses nls nptl offensive oggvorbis opengl oss pam pdflib perl png python
qt quicktime readline ruby samba scanner sdl slang spell sse ssl stroke svga
tcltk tcpd tetex tiff truetype type1 unicode usb videos x86 xface xinerama xml
xml2 xmms xosd xv xvid zlib"

Assumably related packages:
[ebuild   R   ] media-libs/fontconfig-2.2.1   0 kB 
[ebuild   R   ] x11-base/xfree-4.3.0-r3  -3dfx -3dnow -cjk -debug -doc -gatos
+ipv6 +mmx +nls +pam -sdk +sse -static +truetype +xml2  71,029 kB 
[ebuild   R   ] app-text/ghostscript-7.07.1-r1  +X -cjk +cups  13,813 kB
Comment 1 David Oftedal 2004-05-22 05:32:07 UTC
I second this.

The Numbus fonts fron urw-fonts (also included with GhostScript and almost everywhere else) contain lots of glyphs that are simply in the wrong places. They should be removed until they're fixed.
Comment 2 foser (RETIRED) gentoo-dev 2004-08-18 03:54:24 UTC
And this is only with Nimbus Sans L or also with the other nimbus fonts ?
Comment 3 Flammie Pirinen (RETIRED) gentoo-dev 2004-08-24 11:27:38 UTC
Well, commenting only the nimbus sans L out from the configurations did fix the issue (I suppose monospace and serif fonts are missing IPA blocks all along?), but it still might be in other nimbus fonts as well. I suppose removing the serif and monospace versions as well won't do much harm anyways, but perhaps someone that uses cyrillic fonts should confirm first?
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-08-12 13:17:10 UTC
What's the status here?
Comment 5 Flammie Pirinen (RETIRED) gentoo-dev 2005-08-12 14:09:32 UTC
I can't reproduce it right now. But I don't think the font itself has been fixed
or changed at all, rather I suppose the font selection mechanism just happens to
select something else right now, for whatever reason (it might be that it
understands to skip Nimbus but then again it might just be arbitrary chance).

It'd really require a fresh install to test this thoroughly again, but I don't
have time for it right now, unfortunately. Unless there's some more handy way to
remove fonts temporarily or force fonts around?
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-08-19 15:03:57 UTC
About time to close this, I guess. Reopen if you can still reproduce the issue.