Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20596 - german o-umlaut not displayed in konqueror in particular font and size
Summary: german o-umlaut not displayed in konqueror in particular font and size
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL: http://www.wolle-hamburg.de/Bugs/font...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-07 15:33 UTC by Wolfgang Thiess
Modified: 2003-06-16 01:25 UTC (History)
0 users

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 Wolfgang Thiess 2003-05-07 15:33:46 UTC
If my Konqueror 3.1.1 displays a Webpage containing the german character o-umlaut (
Comment 1 Wolfgang Thiess 2003-05-07 15:33:46 UTC
If my Konqueror 3.1.1 displays a Webpage containing the german character o-umlaut (ΓΆ) in 
Helvetica, bold and size 21px or 22 px, it does not show this particular character.  
  
 A different font-family works, not bold works, other sizes work, mozilla works - just the 
combination described above does not.  
  
A snapshot, how it looks on my computer is here:  
http://www.wolle-hamburg.de/Bugs/fonttest/snapshot1.png  
  
I use Gentoo 1.4_rc4, KDE 3.1.1a  
Athlon-tbird on EPoX 8KTA3/+  
ATI Xpert@Work (Rage Pro)  
xfree 4.3.0-r2  
xfs  
 
I asked for help in a forum, but I still don't know the component where the bug might be: 
http://forums.gentoo.org/viewtopic.php?t=52533 

Reproducible: Always
Steps to Reproduce:
Just open http://www.wolle-hamburg.de/Bugs/fonttest/Fonttest.html with konqueror
Comment 2 Michele Balistreri (RETIRED) gentoo-dev 2003-05-08 10:03:35 UTC
i can't reproduced this bug, tried re-emerging freetype and fontconfig? 
Comment 3 Wolfgang Thiess 2003-05-08 15:06:11 UTC
emerge sync; emerge -U world # was already up to date 
 
I re-emerged: 
freetype-2.1.4 
freetype-1.3.1-r3 
fontconfig-2.1-r1 
ttmkfdir-3.0.9 
xfree-4.3.0-r2 
 
reboot - and the bug is still there 
 
Comment 4 Paul de Vrieze (RETIRED) gentoo-dev 2003-05-08 15:59:19 UTC
If all else fails, trying the following could also help. (While the fontconfig concept is great, it's continuing breackage really sucks.)

cd /usr/X11R6/lib/X11/fonts
chmod -R a+r .
chmod -R u+w .
ls |while read in
do
  (cd $in; mkfontscale; mkfontdir;)
done
find -name "fonts.cache*" -exec rm {} \;
fc-cache -v
<Restart X>

Unfortunately I must also note that it seems that qt does not handle fonts that are not available as core fonts, but are available through fontconfig.

Comment 5 Wolfgang Thiess 2003-05-09 02:00:02 UTC
At this point I get lost what's happening, but this is the result: 
 
~ $ su 
Password: 
/home/wolle $ ./bugscript 
./bugscript: line 6: cd: fonts.cache-1: Not a directory 
fc-cache: "/usr/share/fonts": skipping, 0 fonts, 1 dirs 
fc-cache: "/usr/share/fonts/afms": skipping, 0 fonts, 1 dirs 
fc-cache: "/usr/share/fonts/afms/adobe": skipping, 0 fonts, 0 dirs 
fc-cache: "/usr/X11R6/lib/X11/fonts": caching, 0 fonts, 13 dirs 
fc-cache: "/usr/X11R6/lib/X11/fonts/local": caching, 0 fonts, 0 dirs 
fc-cache: "/usr/X11R6/lib/X11/fonts/encodings": caching, 0 fonts, 1 dirs 
fc-cache: "/usr/X11R6/lib/X11/fonts/encodings/large": caching, 0 fonts, 0 dirs 
fc-cache: "/usr/X11R6/lib/X11/fonts/util": caching, 0 fonts, 0 dirs 
fc-cache: "/usr/X11R6/lib/X11/fonts/misc": caching, 51 fonts, 0 dirs 
fc-cache: "/usr/X11R6/lib/X11/fonts/75dpi": caching, 348 fonts, 0 dirs 
fc-cache: "/usr/X11R6/lib/X11/fonts/100dpi": caching, 358 fonts, 0 dirs 
fc-cache: "/usr/X11R6/lib/X11/fonts/cyrillic": caching, 0 fonts, 0 dirs 
fc-cache: "/usr/X11R6/lib/X11/fonts/Speedo": caching, 0 fonts, 0 dirs 
fc-cache: "/usr/X11R6/lib/X11/fonts/Type1": caching, 29 fonts, 0 dirs 
fc-cache: "/usr/X11R6/lib/X11/fonts/CID": caching, 0 fonts, 0 dirs 
fc-cache: "/usr/X11R6/lib/X11/fonts/TTF": caching, 12 fonts, 0 dirs 
fc-cache: "/usr/X11R6/lib/X11/fonts/truetype": caching, 30 fonts, 0 dirs 
fc-cache: "/usr/X11R6/lib/X11/fonts/ukr": caching, 0 fonts, 0 dirs 
fc-cache: "/root/.fonts": no such directory, skipping 
fc-cache: succeeded 
/home/wolle $ 
 
reboot - unfortunately the same as before 
Comment 6 Paul de Vrieze (RETIRED) gentoo-dev 2003-05-16 15:07:01 UTC
What the script tries to do is to regenerate your fonts configuration. From your results I can see that you either don't have the newest fontconfig, or don't have a good configuration. Try to update to the newest fontconfig (2.2) and disable /etc/fonts/local.conf (rename it).

Unfortunately fontconfig and xft do not work yet the way they are supposed to work. Also the support for fontconfig in qt is incomplete as it has problems with fonts that are not also core fonts (visible with xlsfonts).
Comment 7 Wolfgang Thiess 2003-05-18 12:13:59 UTC
I updated to fontconfig-2.2.0-r2, renamed /etc/fonts/local.conf <reboot> 
 
I re-emerged qt, kdelibs, kdebase 
 
I ran the script from comment #3 again (this is the output): 
~ $ su 
Password: 
/home/wolle $ ./bugscript 
./bugscript: line 6: cd: fonts.dir: Not a directory 
./bugscript: line 6: cd: fonts.scale: Not a directory 
fc-cache: "/usr/X11R6/lib/X11/fonts/Type1": caching, 29 fonts, 0 dirs 
fc-cache: "/usr/X11R6/lib/X11/fonts/truetype": caching, 30 fonts, 0 dirs 
fc-cache: "/usr/share/fonts": skipping, 0 fonts, 1 dirs 
fc-cache: "/usr/share/fonts/afms": skipping, 0 fonts, 1 dirs 
fc-cache: "/usr/share/fonts/afms/adobe": skipping, 0 fonts, 0 dirs 
fc-cache: "/usr/X11R6/lib/X11/fonts/75dpi": caching, 348 fonts, 0 dirs 
fc-cache: "/usr/X11R6/lib/X11/fonts/100dpi": caching, 358 fonts, 0 dirs 
fc-cache: "/root/.fonts": skipping, no such directory 
fc-cache: succeeded 
/home/wolle $ 
 
nothing helps 
 
~ $ xlsfonts | grep helvetica | wc 
   1040    1040   64780 
~ $ xlsfonts | grep adobe-helvetica | wc 
   1040    1040   64780 
~ $ 
 
For me it's ok to stop working on this "flaw" now. If you don't mind, change resolution 
for this bug to CANTFIX or whatever. 
 
Thanks anyway 
Wofgang 
Comment 8 Paul de Vrieze (RETIRED) gentoo-dev 2003-06-16 01:25:57 UTC
As requested.