As above - gnome fails to start as it has no fonts registered. Line for x11 fonts missing out of /etc/font/font.conf in lines added for gentoo. Clean, fresh install. Others apparently have same problem.
Xfree 4.2.1 i suppose (no revision) ? What does your fonts.conf look like ? What is the ouput of 'fc-cache -f --verbose' ?
Too late as its now fixed for screen dumps etc but: /etc/font/fonts.conf was missing the line previously mentioned (blank line?) and the output of fc-cache --verbose was nothing. Now it lists the x-fonts after adding "<dir>/usr/X11R6/lib/X11/fonts</dir>" and running an fc-cache. Details were listed on gentoo-user email list after I posted the problem, with the comment that its happening a lot. BillK
forgot to add (new install into blank partition on 18th Nov): wdk@rattus wdk $ emerge xfree -s Searching... [ Results for search key : xfree ] [ Applications found : 1 ] * x11-base/xfree Latest version available: 4.2.1 Latest version installed: 4.2.1 Size of downloaded files: 62,844 kB Homepage: http://www.xfree.org Description: Xfree86: famous and free X server BillK
How do you know its missing when it isnt there in the first place ? I suppose you refer to the <dir>/usr/X11R6/lib/X11/fonts</dir> line (just to make sure), cause that doesnt make a lot of sense : it comes out of the box with a config file having that line in it.
The reason I knew it was missing is that the gentoo-user list told me what to look for and what to add into the file to fix it. Its in the section: <!-- Font directory list configured for Gentoo --> <dir>/usr/X11R6/lib/X11/fonts</dir> <dir>/usr/share/fonts</dir> <dir>~/.fonts</dir> The X11 fonts line is the one added. As its under the gentoo comment, it looks like a gentoo problem, not xfree's BillK
On a closer look it seems that my previous statement isn't completely correct, so i'd really like to know : was the '<dir>/usr/X11R6/lib/X11/fonts</dir>' line around or not ?
Ok that clears things up. Thanks for your report.
foser: I think this is problem number one with fontconfig. I could be wrong, but I am going to go so far and say that we could assume that '/usr/X11R6/lib/X11/fonts' are not added if that dir do not exist .... possible solution: create the dir in pkg_setup(), bump the revision, and mask previous revisions in package.mask. Maybe also do a foreced updated of /etc/fonts/fonts.conf if it do not contain '/usr/X11R6/lib/X11/fonts' . Comments ?
Bill Kenworthy had the fix for me: <!-- Font directory list configured for Gentoo --> <dir>/usr/X11R6/lib/X11/fonts</dir> <dir>/usr/share/fonts</dir> <dir>~/.fonts</dir> Adding that one line (with X11R6) solved the problem.
Azarah : Yes, couldnt we make it fontconfig depend on xfree ? I mean is there any use for it without it ? Besides that it seems that even if some xfree dirs are around in some cases those can't be found, i saw that happen with the xft ebuild and i wanted to add specified include/header dirs for X to the fontconfig configure step. Only i forgot to do that before i went away for the weekend...
Maybe, but I do not think its needed. Redhat at least have fontconfig seperate from X, and only depend on freetype and expat. Another solution would be to install our own fonts.conf, but I think just having that dir present will solve the issue. I will try to verify this.
i meant it as a way to ensure the fonts dir being around. We could probably alter the configure script to not probe dirs if they're around (thats what happens now) and just include the base ones automaticly. I'll have a look at it. On second thought: if we _do_ include xfree as a dep to fontconfig, it's cache will also be filled with the base xfree fonts, eliminating another possible point of failure.
Problem 1: For xfree-4.2.1 fontconfig is a dep (ok, not for -r1). This will be true as well for 4.3.0 ...
hmm ok, good point. We could make the xfree ebuild do a cache update instead, i'll look at fixing the config.
I just added fontconfig-2.0-r4 which should always include /usr/X11R6/lib/X11/fonts in fonts.conf . And offtopic : Azarah im disabling the pango-1.1 hinting patch, it breaks my pango compilation.
foser: did you update freetype as the deps suggest ?
Azarah: hmm already had that revision /me kicks his local tree i'll change it back
This should be slowly fixed as we're moving towards fully using xft2.