* [gentoo-user] The system's font display problem
@ 2012-07-15 13:14 赵佳晖
2012-07-15 15:09 ` [gentoo-user] " Nikos Chantziaras
0 siblings, 1 reply; 7+ messages in thread
From: 赵佳晖 @ 2012-07-15 13:14 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1.1: Type: text/plain, Size: 644 bytes --]
Hi.all . Just now i just change my locale so i can use the fcitx. But after
i reboot , the system's fonts display has problem.
and my locale:
LANG=en_US.UTF-8
LC_CTYPE=zh_CN.UTF-8
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LC_MONETARY=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=
before, the LC_CTYPE is LC_CTYPE=en_US.UTF-8.
and the attachments its some Screenshot . What may course this problem ?
Thank you for you all..
--
好好学习,天天向上!!!
[-- Attachment #1.2: Type: text/html, Size: 1130 bytes --]
[-- Attachment #2: font-problem.png --]
[-- Type: image/png, Size: 76192 bytes --]
[-- Attachment #3: font-problem1.png --]
[-- Type: image/png, Size: 32062 bytes --]
[-- Attachment #4: font-problem3.png --]
[-- Type: image/png, Size: 29071 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: The system's font display problem
2012-07-15 13:14 [gentoo-user] The system's font display problem 赵佳晖
@ 2012-07-15 15:09 ` Nikos Chantziaras
2012-07-15 18:48 ` Mark Knecht
2012-07-16 12:14 ` 赵佳晖
0 siblings, 2 replies; 7+ messages in thread
From: Nikos Chantziaras @ 2012-07-15 15:09 UTC (permalink / raw
To: gentoo-user
On 15/07/12 16:14, 赵佳晖 wrote:
> Hi.all . Just now i just change my locale so i can use the fcitx. But
> after i reboot , the system's fonts display has problem.
> and my locale:
> LANG=en_US.UTF-8
> LC_CTYPE=zh_CN.UTF-8
> LC_NUMERIC=en_US.UTF-8
> LC_TIME=en_US.UTF-8
> LC_COLLATE=en_US.UTF-8
> LC_MONETARY=en_US.UTF-8
> LC_MESSAGES=en_US.UTF-8
> LC_PAPER=en_US.UTF-8
> LC_NAME=en_US.UTF-8
> LC_ADDRESS=en_US.UTF-8
> LC_TELEPHONE=en_US.UTF-8
> LC_MEASUREMENT=en_US.UTF-8
> LC_IDENTIFICATION=en_US.UTF-8
> LC_ALL=
Do not set anything other than LANG and LC_COLLATE. Then only set vars
that differ from LANG. Your /etc/env.d/02locale should look like this:
LANG="en_US.UTF-8"
LC_COLLATE="C"
LC_CTYPE=zh_CN.UTF-8
Do *not* do this:
LC_ALL=
Then run env-update and restart.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: The system's font display problem
2012-07-15 15:09 ` [gentoo-user] " Nikos Chantziaras
@ 2012-07-15 18:48 ` Mark Knecht
2012-07-15 20:12 ` Alex Schuster
2012-07-16 12:14 ` 赵佳晖
1 sibling, 1 reply; 7+ messages in thread
From: Mark Knecht @ 2012-07-15 18:48 UTC (permalink / raw
To: gentoo-user
On Sun, Jul 15, 2012 at 8:09 AM, Nikos Chantziaras <realnc@gmail.com> wrote:
> On 15/07/12 16:14, 赵佳晖 wrote:
>> Hi.all . Just now i just change my locale so i can use the fcitx. But
>> after i reboot , the system's fonts display has problem.
>> and my locale:
>> LANG=en_US.UTF-8
>> LC_CTYPE=zh_CN.UTF-8
>> LC_NUMERIC=en_US.UTF-8
>> LC_TIME=en_US.UTF-8
>> LC_COLLATE=en_US.UTF-8
>> LC_MONETARY=en_US.UTF-8
>> LC_MESSAGES=en_US.UTF-8
>> LC_PAPER=en_US.UTF-8
>> LC_NAME=en_US.UTF-8
>> LC_ADDRESS=en_US.UTF-8
>> LC_TELEPHONE=en_US.UTF-8
>> LC_MEASUREMENT=en_US.UTF-8
>> LC_IDENTIFICATION=en_US.UTF-8
>> LC_ALL=
>
> Do not set anything other than LANG and LC_COLLATE. Then only set vars
> that differ from LANG. Your /etc/env.d/02locale should look like this:
>
> LANG="en_US.UTF-8"
> LC_COLLATE="C"
> LC_CTYPE=zh_CN.UTF-8
>
> Do *not* do this:
>
> LC_ALL=
>
> Then run env-update and restart.
>
>
Just double checking here. Is the file /etc/locale.gen now totally
depreciated or is it still required? The install guide still has it in
chapter 8 where the file /etc/locale.gen ends up looking pretty much
identical to the 02locale file.
Or maybe they serve different purposes somehow?
I have one very small but consistent problem with fonts on most every
system I work with so I'm been wondering for awhile about whether this
is somehow part of it. (More likely is a missing font type in this
specific case.)
Thanks,
Mark
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: The system's font display problem
2012-07-15 18:48 ` Mark Knecht
@ 2012-07-15 20:12 ` Alex Schuster
2012-07-15 20:36 ` Mark Knecht
0 siblings, 1 reply; 7+ messages in thread
From: Alex Schuster @ 2012-07-15 20:12 UTC (permalink / raw
To: gentoo-user
Mark Knecht writes:
> On Sun, Jul 15, 2012 at 8:09 AM, Nikos Chantziaras <realnc@gmail.com>
> wrote:
> > Do not set anything other than LANG and LC_COLLATE. Then only set
> > vars that differ from LANG. Your /etc/env.d/02locale should look
> > like this:
> >
> > LANG="en_US.UTF-8"
> > LC_COLLATE="C"
> > LC_CTYPE=zh_CN.UTF-8
[...]
> Just double checking here. Is the file /etc/locale.gen now totally
> depreciated or is it still required? The install guide still has it in
> chapter 8 where the file /etc/locale.gen ends up looking pretty much
> identical to the 02locale file.
>
> Or maybe they serve different purposes somehow?
/etc/locale.gen defines which locales are supported on your system.
/etc/env.d/02locale defines which of these locale you are actually using
by setting LANG and LC_* environment variables. Files in /etc/env.d/ end
up in /etc/profile.env (by running the env-update command), which is
evaluated from /etc/profile and as such by every shell. If you want
different settings for your user, override that stuff in your
~/.bash_profile.
Wonko
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: The system's font display problem
2012-07-15 20:12 ` Alex Schuster
@ 2012-07-15 20:36 ` Mark Knecht
2012-07-18 14:21 ` Neil Bothwick
0 siblings, 1 reply; 7+ messages in thread
From: Mark Knecht @ 2012-07-15 20:36 UTC (permalink / raw
To: gentoo-user
On Sun, Jul 15, 2012 at 1:12 PM, Alex Schuster <wonko@wonkology.org> wrote:
> Mark Knecht writes:
<SNIP>
>> Just double checking here. Is the file /etc/locale.gen now totally
>> depreciated or is it still required? The install guide still has it in
>> chapter 8 where the file /etc/locale.gen ends up looking pretty much
>> identical to the 02locale file.
>>
>> Or maybe they serve different purposes somehow?
>
> /etc/locale.gen defines which locales are supported on your system.
>
> /etc/env.d/02locale defines which of these locale you are actually using
> by setting LANG and LC_* environment variables. Files in /etc/env.d/ end
> up in /etc/profile.env (by running the env-update command), which is
> evaluated from /etc/profile and as such by every shell. If you want
> different settings for your user, override that stuff in your
> ~/.bash_profile.
>
> Wonko
>
So to check my understanding of your answer (and thanks for the
answer!) unless a locale is defined in /etc/locale.gen, and then
locale-gen has also been run, then that locale is not even available
to be evaluated by /etc/profile.
Thanks,
Mark
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: The system's font display problem
2012-07-15 15:09 ` [gentoo-user] " Nikos Chantziaras
2012-07-15 18:48 ` Mark Knecht
@ 2012-07-16 12:14 ` 赵佳晖
1 sibling, 0 replies; 7+ messages in thread
From: 赵佳晖 @ 2012-07-16 12:14 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 994 bytes --]
Oh,Thank you,It worked
2012/7/15 Nikos Chantziaras <realnc@gmail.com>
> On 15/07/12 16:14, 赵佳晖 wrote:
> > Hi.all . Just now i just change my locale so i can use the fcitx. But
> > after i reboot , the system's fonts display has problem.
> > and my locale:
> > LANG=en_US.UTF-8
> > LC_CTYPE=zh_CN.UTF-8
> > LC_NUMERIC=en_US.UTF-8
> > LC_TIME=en_US.UTF-8
> > LC_COLLATE=en_US.UTF-8
> > LC_MONETARY=en_US.UTF-8
> > LC_MESSAGES=en_US.UTF-8
> > LC_PAPER=en_US.UTF-8
> > LC_NAME=en_US.UTF-8
> > LC_ADDRESS=en_US.UTF-8
> > LC_TELEPHONE=en_US.UTF-8
> > LC_MEASUREMENT=en_US.UTF-8
> > LC_IDENTIFICATION=en_US.UTF-8
> > LC_ALL=
>
> Do not set anything other than LANG and LC_COLLATE. Then only set vars
> that differ from LANG. Your /etc/env.d/02locale should look like this:
>
> LANG="en_US.UTF-8"
> LC_COLLATE="C"
> LC_CTYPE=zh_CN.UTF-8
>
> Do *not* do this:
>
> LC_ALL=
>
> Then run env-update and restart.
>
>
>
--
好好学习,天天向上!!!
[-- Attachment #2: Type: text/html, Size: 1463 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: The system's font display problem
2012-07-15 20:36 ` Mark Knecht
@ 2012-07-18 14:21 ` Neil Bothwick
0 siblings, 0 replies; 7+ messages in thread
From: Neil Bothwick @ 2012-07-18 14:21 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1144 bytes --]
On Sun, 15 Jul 2012 13:36:29 -0700, Mark Knecht wrote:
> > /etc/locale.gen defines which locales are supported on your system.
> >
> > /etc/env.d/02locale defines which of these locale you are actually
> > using by setting LANG and LC_* environment variables. Files
> > in /etc/env.d/ end up in /etc/profile.env (by running the env-update
> > command), which is evaluated from /etc/profile and as such by every
> > shell. If you want different settings for your user, override that
> > stuff in your ~/.bash_profile.
> So to check my understanding of your answer (and thanks for the
> answer!) unless a locale is defined in /etc/locale.gen, and then
> locale-gen has also been run, then that locale is not even available
> to be evaluated by /etc/profile.
The default, if you have not edited /etc/locale.gen, is to install all
locales. They are built when glibc is emerged, so they will all be
available if you do nothing. /etc/locale.gen enables you to configure
which locales are built, local-gen enables you to apply the new setting
without recompiling glibc.
--
Neil Bothwick
A good pun is its own reword.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-07-18 14:23 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-15 13:14 [gentoo-user] The system's font display problem 赵佳晖
2012-07-15 15:09 ` [gentoo-user] " Nikos Chantziaras
2012-07-15 18:48 ` Mark Knecht
2012-07-15 20:12 ` Alex Schuster
2012-07-15 20:36 ` Mark Knecht
2012-07-18 14:21 ` Neil Bothwick
2012-07-16 12:14 ` 赵佳晖
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox