LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-16-2004, 09:14 AM   #1
igor.R
Member
 
Registered: Mar 2004
Location: Atlanta
Distribution: Redhat 9.0
Posts: 49

Rep: Reputation: 16
Angry First window bad fonts


I have a problem with fonts.
When I start xterm or konsole window by clicking on a launcher icon on my desktop I get window that does not understand some symbols correctly
(e.g. replaces ' (apostroph) with (\hat a) , etc. ), moreover if I try to
use midnight commander (mc) then I get ugly symbols instead of lines.

On the other hand,
if I launch the SECOND xterm or konsole window FROM COMMAND LINE
of the first window then everyting works correctly (in the second window).

This irritates me very much, but I do not know how to repair it.

Thank you in advance for any suggestions.
 
Old 03-28-2004, 12:33 PM   #2
igor.R
Member
 
Registered: Mar 2004
Location: Atlanta
Distribution: Redhat 9.0
Posts: 49

Original Poster
Rep: Reputation: 16
My friend helped me to figure out what was wrong
It is a bug in the /etc/bashrc file:
By default the environmental variable LANG is equal to en_US.UTF-8
(or something like this).
To display fonts correctly the environmental variable LANG should be set
to en_US.iso88591.
To do this you should write
export LANG=en_US.iso88591
in your .bashrc script.
BUT! IMPORTANT!
You should place this statement AFTER code

if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

(Since there is some problem with /etc/bashrc file)

or you should change /etc/bashrc file if you know how.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fonts look bad w/o antialiasing ssobeht Debian 4 03-08-2005 05:02 AM
Fonts ok as root, but bad as user BroX Debian 11 11-01-2004 03:30 AM
Bad Displayed Fonts Obscure Linux - Newbie 3 11-17-2003 02:26 PM
bad Truetype fonts in Redhat 9 mermoz Linux - General 2 06-28-2003 02:52 PM
gnome fonts look bad in Slack 9? Obi-Wan_Kenobi Slackware 2 03-25-2003 04:32 PM


All times are GMT -5. The time now is 09:28 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration