Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Lost the ability to display Asian characters
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1741

PostPosted: Sat Oct 04, 2008 3:12 pm    Post subject: Lost the ability to display Asian characters Reply with quote

I had everything working perfectly for a long time, but after a reboot (and without changing anything except for the regular updates from portage), I now only see empty squares in konsole instead of Asian characters.

I still do see Cyrillic characters correctly, but I can't figure out what might have changed to break this (I did go through all of the utf-8 stuff in the Gentoo documentation again). Does anyone have any ideas? Should I try rebuilding all of the kde (3.5) stuff? Thanks in advance for all suggestions.
Back to top
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Sat Oct 04, 2008 7:16 pm    Post subject: Reply with quote

check that the font you're using supports unicode. check that the unicode USE flag is enabled. try something like urxvt or that asian terminal (kterm?) and see if that works.
_________________
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see topic 838248. Potentially still a WiP.
Back to top
View user's profile Send private message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1741

PostPosted: Sat Oct 04, 2008 10:34 pm    Post subject: Reply with quote

> check that the font you're using supports unicode.

Yes (it all worked before).

> check that the unicode USE flag is enabled.

Yes (it all worked before).

> try something like urxvt or that asian terminal (kterm?) and see if that works.

It should work with konsole (it did before).
Back to top
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Sat Oct 04, 2008 10:41 pm    Post subject: Reply with quote

it's probably in one of the init.d scripts... try starting (if they aren't already) termencoding and whatever else looks promising.

If something works (you may have to kill konsole or even the X server to find out), rc-update add <service> default.
_________________
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see topic 838248. Potentially still a WiP.
Back to top
View user's profile Send private message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1741

PostPosted: Sun Dec 07, 2008 10:38 am    Post subject: Reply with quote

I don't have a termencoding init script.

It is so annoying when something was working fine, and then stops working (and I can't figure out why).

I have checked and followed (again) the Gentoo documentation for getting unicode to work, but it doesn't help.
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Sun Dec 07, 2008 1:35 pm    Post subject: Reply with quote

Maybe you updated xkbcomp? If so, try remerging xorg-server too (just a guess).
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
SeaTiger
l33t
l33t


Joined: 22 Nov 2007
Posts: 603
Location: Toronto, Ontario, Canada

PostPosted: Mon Dec 08, 2008 3:00 am    Post subject: Reply with quote

Login in X, open a console/terminal, the post the output of:
Code:
locale
Back to top
View user's profile Send private message
mirekm
Apprentice
Apprentice


Joined: 12 Feb 2004
Posts: 210
Location: Gliwice

PostPosted: Mon Dec 08, 2008 7:07 pm    Post subject: Reply with quote

If you want to use thai, or khmer (or probably other) fonts, then you should try to select them using:
Quote:
eselect fontconfig ...
Back to top
View user's profile Send private message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1741

PostPosted: Sat Dec 13, 2008 7:40 am    Post subject: Reply with quote

> Maybe you updated xkbcomp?

Nope. Last update more than a year ago.

> If so, try remerging xorg-server too (just a guess).

Last update there of 20080613. That could have been what broke it, but I have no idea how to get it back.


> post the output of "locale"

Code:

$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE=POSIX
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=


> try to select them using: eselect fontconfig ...

Just for completeness (I didn't change any of this), but I have:

Code:

$ eselect fontconfig list
Available fontconfig .conf files ( * is enabled ):
  [1]   10-autohint.conf
  [2]   10-no-sub-pixel.conf
  [3]   10-sub-pixel-bgr.conf
  [4]   10-sub-pixel-rgb.conf
  [5]   10-sub-pixel-vbgr.conf
  [6]   10-sub-pixel-vrgb.conf
  [7]   10-unhinted.conf
  [8]   20-fix-globaladvance.conf *
  [9]   20-unhint-small-vera.conf *
  [10]  25-unhint-nonlatin.conf
  [11]  30-metric-aliases.conf *
  [12]  30-urw-aliases.conf *
  [13]  40-nonlatin.conf *
  [14]  45-latin.conf *
  [15]  49-sansserif.conf *
  [16]  50-user.conf *
  [17]  51-local.conf *
  [18]  60-latin.conf *
  [19]  65-fonts-persian.conf *
  [20]  65-khmer.conf
  [21]  65-nonlatin.conf *
  [22]  69-unifont.conf *
  [23]  70-no-bitmaps.conf
  [24]  70-yes-bitmaps.conf
  [25]  80-delicious.conf *
  [26]  90-synthetic.conf *
Back to top
View user's profile Send private message
SeaTiger
l33t
l33t


Joined: 22 Nov 2007
Posts: 603
Location: Toronto, Ontario, Canada

PostPosted: Sat Jan 10, 2009 4:43 am    Post subject: Reply with quote

(1) Output of:
Code:
eix -cIC media-fonts


(2) Check your koncole profile for fonts setting.

(3) Do you see asian fonts correctly in webpage?
Back to top
View user's profile Send private message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1741

PostPosted: Tue Mar 17, 2009 10:16 am    Post subject: Reply with quote

SeaTiger wrote:
(1) Output of:
Code:
eix -cIC media-fonts


I don't have that, but if you want the list of installed packages under that category:

Code:

media-fonts/encodings-1.0.2
media-fonts/font-adobe-100dpi-1.0.0
media-fonts/font-adobe-75dpi-1.0.0
media-fonts/font-alias-1.0.1
media-fonts/font-bh-type1-1.0.0
media-fonts/font-cursor-misc-1.0.0
media-fonts/font-misc-misc-1.0.0
media-fonts/font-util-1.0.1
media-fonts/gnu-gs-fonts-std-8.11
media-fonts/ttf-bitstream-vera-1.10-r3


SeaTiger wrote:
(2) Check your koncole profile for fonts setting.


in konsolerc:
Code:

defaultfont=Fixed [Misc],16,-1,5,50,0,0,0,0,0


SeaTiger wrote:
(3) Do you see asian fonts correctly in webpage?


Yes.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum