Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12377 - media-libs/fontconfig package and LANG
Summary: media-libs/fontconfig package and LANG
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-18 05:42 UTC by Roman Majer
Modified: 2003-02-04 19:42 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 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...