Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9714 - xfree 4.2.1 mangles fonts.dir in various directories
Summary: xfree 4.2.1 mangles fonts.dir in various directories
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-26 11:16 UTC by Marko Daniel
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Attachments
http://tw.yahoo.com (Screenshot.png,281.14 KB, image/png)
2002-10-31 12:01 UTC, Martin Schlemmer (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Daniel 2002-10-26 11:16:44 UTC
the postinstall of xfree 4.2.1 ebuild, used in conjunction with xfs, mangled the
fonts.{dir,scale} files in most of my non-ttf font directories, setting them to
0 fonts.

I believe this may be due to the postinstall section from the ebuild that
generates encodings.dir, fonts.scale and fonts.dir files. At least, the ebuild
generates correct fonts.dir files (up to 'ebuild ... install' stage) but after
'ebuild ... qmerge' the fonts.dir files have shrunk to 0 fonts again.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-10-29 12:26:55 UTC
Try cvs version 1.22 or later and let me know.
Comment 2 Marko Daniel 2002-10-30 02:58:18 UTC
Have tried this now. Fonts.dir files no longer get mangled, but there are
problems with truetype fonts. Some work, some don't (especially
multibyte/Chinese). I'll wait it out...
Comment 3 Marko Daniel 2002-10-30 21:57:46 UTC
My problems with fonts now manifest themselves as follows:

Say, I open a Chinese Traditional (Big5) website like http://tw.yahoo.com in
konqueror.

All the characters will be shown as a square box (indicating that the character
cannot be shown). As I repeatedly click on the "Increase font size" button on
the toolbar, at some sizes *most* (but never all) of the Chinese characters will
become visible, then disappear at the next font size. The only Chinese fonts I
have on the system are the arphic fonts that used to work beautifully at all sizes.

I've trawled google groups and cannot find any suggestion. Have also tried all
combinations of X with or without xfs, using the xtt or freetype module.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-10-31 12:01:06 UTC
Created attachment 5240 [details]
http://tw.yahoo.com

Seems fine this side ... KDE bug ?
Comment 5 Marko Daniel 2002-10-31 17:39:01 UTC
I thought it might be kde error, but it also works with mozilla (though it is
more laborious to find a working font size there!) and in fact any X program
that can take a font name and size spec on the command line and works with
truetype (e.g. mlterm). It just won't work for some font sizes.

Am now recompiling a minimal gentoo from scratch on a spare partition to see if
I can isoloate the error.