Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 03-16-2004, 09:14 AM   #1
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
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.
You should place this statement AFTER code

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

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

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


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 > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:37 PM.

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