Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 12377

Summary: media-libs/fontconfig package and LANG
Product: Gentoo Linux Reporter: Roman Majer <roman.majer>
Component: [OLD] LibraryAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 1.4_rc1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Roman Majer 2002-12-18 05:42:37 UTC
If the user has LANG or LC_ALL for root specified and
his language has some weird characters, the
/etc/fonts/font.config file has broken line #17:

In my example (LC_ALL=cs_CZ):
<!-- Font directory list configured on 
Comment 1 Roman Majer 2002-12-18 05:42:37 UTC
If the user has LANG or LC_ALL for root specified and
his language has some weird characters, the
/etc/fonts/font.config file has broken line #17:

In my example (LC_ALL=cs_CZ):
<!-- Font directory list configured on Út øíj 22 12:50:13 CEST 2002 -->

As this xml has no coding specified in header, X complaints
about this line as:
Fontconfig error... Cannot read default font file..

Solution:

in ebuild file specify "unset LANG; unset LC_ALL;"
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-18 09:07:05 UTC
You have an old fontconfig installed.  We hacked that line out in the latest
version .. fontconfig-2.1 ...

----------------------
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts.conf file to configure system font access -->
<fontconfig>

<!--
        The intent of this standard configuration file is to be adequate for
        most environments.  If you have a reasonably normal environment and
        have found problems with this configuration, they are probably
        things that others will also want fixed.  Please send any suggested
        changes to fonts@xfree86.org so that future releases can include
        such changes.

        Note that the normal 'make install' procedure for XFree86 is to
        replace any existing fonts.conf file with the new version.  Place
        any local customizations in local.conf which this file references.

        Keith Packard
-->


        <dir>/usr/share/fonts</dir>
        <dir>/usr/X11R6/lib/X11/fonts</dir>
        <dir>~/.fonts</dir>

<!--
.....
Comment 3 Roman Majer 2002-12-18 15:51:20 UTC
I use stable system...
so the ne package is ~ yet ??
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-18 16:03:45 UTC
Its stable .. check it ...
Comment 5 Roman Majer 2002-12-19 02:19:31 UTC
interesting... you have true...

but emerge -up world gives me nothing...

emerge -up fontconfig want's upgrade it from 2.0 to 2.1 

What's going on here ??
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-19 14:27:59 UTC
Feature (?) of portage.  Check the --deep option to portage.
Comment 7 Roman Majer 2002-12-19 15:20:49 UTC
ok ... I see.. but emerge --help or man emerge show nothing
about --deep

But you can close this bug...