Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X Font Server and xorg-x11 under UTF-8 locale.
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
genb0y
n00b
n00b


Joined: 10 Apr 2004
Posts: 20

PostPosted: Thu Apr 15, 2004 11:17 am    Post subject: X Font Server and xorg-x11 under UTF-8 locale. Reply with quote

I don't know very well about xfs.
When using xfree, I used it without starting xfs. But I could use core X fonts without any problem.

I switched xorg-x11 from xfree and encountered the weird problem.
When I ran X basic programs such as xfontsel in xorg-x11 under UTF-8 locale, I got this error message.
Code:
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset

But after starting the xfs, there is no problem. And under none UTF-8 locale, there is no problem either.

Sould I start xfs always? If so, why didn't I get above error message in xfree?

Has anybody have this problem?
Back to top
View user's profile Send private message
genb0y
n00b
n00b


Joined: 10 Apr 2004
Posts: 20

PostPosted: Fri Apr 16, 2004 3:06 am    Post subject: Reply with quote

Is this problem only to me?

If there is anyone who use xorg-x11 under UTF-8 locale, please check this.
I wonder whether you got this error or not.
Back to top
View user's profile Send private message
revertex
l33t
l33t


Joined: 23 Apr 2003
Posts: 806

PostPosted: Sat May 15, 2004 4:00 pm    Post subject: Reply with quote

You are not alone, i've got the same here.
I'm still looking for a solution, i will post when found something relevant.
i never used xfs, and with xorg i use xft.
some apps work's fine with utf8 locale, but few apps give-me this error message:
Code:
Missing charsets in String to FontSet conversion
Back to top
View user's profile Send private message
dju`
Retired Dev
Retired Dev


Joined: 11 Feb 2003
Posts: 370

PostPosted: Thu Dec 09, 2004 6:29 pm    Post subject: Reply with quote

same here, furthermore, i get X using 100% cpu when launching xedit or xcalc, for about 30 seconds, then it starts up. same thing for fluxbox-0.9* where 100% cpu is taken by X for 3-4 minutes.
i'm suspecting USE +userlocales for glibc.
Back to top
View user's profile Send private message
nulluser
n00b
n00b


Joined: 17 Jul 2003
Posts: 7

PostPosted: Mon Jan 10, 2005 1:51 am    Post subject: Reply with quote

Same problem here.

And I found it happens only with GNOME.
In KDE, that programs are launched without any problem, and in twm they work too.

My xorg-x11 : 6.8.1.901 (6.8.2 RC 1)
Gnome : 2.8.1
locale : en_US.UTF-8
I don't use xfs, and start X by running startx.

As I said, they(xedit, xfontsel...) work well in KDE and twm, but in gnome...
Code:
$ xedit
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
Error: Aborting: no fontset found
It does not even start up.
Code:
$ xfontsel
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
My biggest problem is xmms in gnome(It works without any problem in kde).
Code:
$ xmms

Gdk-WARNING **: Missing charsets in FontSet creation


Gdk-WARNING **:     ISO8859-1


Gdk-WARNING **:     ISO8859-1


Gdk-WARNING **:     JISX0208.1983-0


Gdk-WARNING **:     KSC5601.1987-0


Gdk-WARNING **:     GB2312.1980-0


Gdk-WARNING **:     JISX0201.1976-0


Gdk-WARNING **:     ISO10646-1


Gdk-WARNING **: Missing charsets in FontSet creation


Gdk-WARNING **:     ISO8859-1


Gdk-WARNING **:     ISO8859-1


Gdk-WARNING **:     JISX0208.1983-0


Gdk-WARNING **:     KSC5601.1987-0


Gdk-WARNING **:     GB2312.1980-0


Gdk-WARNING **:     JISX0201.1976-0


Gdk-WARNING **:     ISO10646-1


** WARNING **: Failed to open font: "-adobe-helvetica-medium-r-*-*-12-*,-hanyang-hyroundgothic-medium-r-*--12-*,-*-*-medium-r-*--12-*,*".

Gdk-WARNING **: Missing charsets in FontSet creation


Gdk-WARNING **:     ISO8859-1


Gdk-WARNING **:     ISO8859-1


Gdk-WARNING **:     JISX0208.1983-0


Gdk-WARNING **:     KSC5601.1987-0


Gdk-WARNING **:     GB2312.1980-0


Gdk-WARNING **:     JISX0201.1976-0


Gdk-WARNING **:     ISO10646-1


Gdk-WARNING **: Missing charsets in FontSet creation


Gdk-WARNING **:     ISO8859-1


Gdk-WARNING **:     ISO8859-1


Gdk-WARNING **:     JISX0208.1983-0


Gdk-WARNING **:     KSC5601.1987-0


Gdk-WARNING **:     GB2312.1980-0


Gdk-WARNING **:     JISX0201.1976-0


Gdk-WARNING **:     ISO10646-1


** WARNING **: Failed to open font: "-adobe-helvetica-bold-r-*-*-12-*,-hanyang-hyroundgothic-bold-r-*--12-*,-*-*-medium-r-*--12-*,*".

Gdk-WARNING **: Missing charsets in FontSet creation


Gdk-WARNING **:     ISO8859-1


Gdk-WARNING **:     ISO8859-1


Gdk-WARNING **:     JISX0208.1983-0


Gdk-WARNING **:     KSC5601.1987-0


Gdk-WARNING **:     GB2312.1980-0


Gdk-WARNING **:     JISX0201.1976-0


Gdk-WARNING **:     ISO10646-1

What's the problem, anyone knows?
Back to top
View user's profile Send private message
BCEM_KOTAM_KOT
n00b
n00b


Joined: 04 Mar 2005
Posts: 3

PostPosted: Fri Mar 04, 2005 2:19 pm    Post subject: Reply with quote

dJu` wrote:
same here, furthermore, i get X using 100% cpu when launching xedit or xcalc, for about 30 seconds, then it starts up. same thing for fluxbox-0.9* where 100% cpu is taken by X for 3-4 minutes.
i'm suspecting USE +userlocales for glibc.


YES! Same problem here. I think it has something to do with recent changements with locales, because older gentoo versions did not have this problem.

The problem occured when I added LANG=ru_RU.CP1251 to /etc/env.d/00basic.
Back to top
View user's profile Send private message
bbroeksema
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2004
Posts: 78
Location: Groningen, The Netherlands

PostPosted: Mon May 23, 2005 12:51 pm    Post subject: Reply with quote

I have the same problem also. Followed the locale and utf guide and after that get errormessages like:

twm: warning: font for charset JISX0208.1983-0 is lacking

when starting x.

Removing 02locale env.d "solves" the problem. But not for real of course because the system hasn't the right language set. Is there a real solution/workaroud (whatever it's called :) ) for this?
Back to top
View user's profile Send private message
Varuna
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jun 2004
Posts: 97
Location: Connecticut, United States

PostPosted: Mon May 23, 2005 6:09 pm    Post subject: Reply with quote

BCEM_KOTAM_KOT wrote:
dJu` wrote:
same here, furthermore, i get X using 100% cpu when launching xedit or xcalc, for about 30 seconds, then it starts up. same thing for fluxbox-0.9* where 100% cpu is taken by X for 3-4 minutes.
i'm suspecting USE +userlocales for glibc.


YES! Same problem here. I think it has something to do with recent changements with locales, because older gentoo versions did not have this problem.

The problem occured when I added LANG=ru_RU.CP1251 to /etc/env.d/00basic.
Try the instructions at http://gentoo-wiki.com/HOWTO_Make_your_system_use_unicode/utf-8#fluxbox. I've no idea if they work or not, but it may help with the CPU problems. Reference this post.
Back to top
View user's profile Send private message
bbroeksema
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2004
Posts: 78
Location: Groningen, The Netherlands

PostPosted: Wed May 25, 2005 11:29 am    Post subject: Reply with quote

Found the problem:

USE="cjk" should be enabled when xorg-x11 is compiled. http://www.gentoo.org/doc/en/utf-8.xml does mention this at the xorg part. Als make sure that you have the right charsets configured in the kernel ( e.g. UTF-8 ) I did forget the iso-8559-15. Changing these two things solved the problem for me.
Back to top
View user's profile Send private message
gnobus
n00b
n00b


Joined: 19 Aug 2003
Posts: 17
Location: Seoul, Korea

PostPosted: Tue Aug 02, 2005 7:43 am    Post subject: Reply with quote

nulluser wrote:
Same problem here.

And I found it happens only with GNOME.
In KDE, that programs are launched without any problem, and in twm they work too.

You need to try this:

Code:
xset fp rehash
Back to top
View user's profile Send private message
hwchen
n00b
n00b


Joined: 22 Aug 2003
Posts: 10
Location: Taiwan

PostPosted: Fri Feb 17, 2006 3:30 am    Post subject: Reply with quote

Thank you!!

You guys are marvellous

It really works for me

Would you like to give me a hand to explain the problem briefly? I know few about the font processing for X.

thanks a lot
Back to top
View user's profile Send private message
djm
Arch/Herd Tester
Arch/Herd Tester


Joined: 12 Apr 2004
Posts: 690
Location: Wadham College, Oxford

PostPosted: Sat Mar 25, 2006 12:00 pm    Post subject: Reply with quote

I had this problem and fixed it by remerging xorg-x11 with USE=cjk

But now modular X is here, and there's no cjk flag, and the problem has come back.

Has anyone found a way of getting round this with modular X?

The migration guide talks about the cjk USE flag:

Quote:
USE=nls on font-misc-misc and font-sony-misc to get Japanese JISX0201 fonts. More are in font-jis-misc. Chinese fonts are in font-isas-misc. Korean fonts are in font-daewoo-misc.


I have all of the fonts mentioned installed with USE=nls, but I still get high CPU and the warning messages when starting certain apps.

(Using xfs doesn't seem to fix the problem for me either)
_________________
the forums.gentoo.org poster formally known as metal leper
Back to top
View user's profile Send private message
vonr
Guru
Guru


Joined: 23 Mar 2006
Posts: 300

PostPosted: Sat Mar 25, 2006 1:59 pm    Post subject: Reply with quote

Strange. For me emerging font-jis-misc, font-isas-misc, and font-daewoo-misc solved the messages I was getting with fvwm.
Back to top
View user's profile Send private message
djm
Arch/Herd Tester
Arch/Herd Tester


Joined: 12 Apr 2004
Posts: 690
Location: Wadham College, Oxford

PostPosted: Sat Mar 25, 2006 2:37 pm    Post subject: Reply with quote

Ok, after restarting X (I was being lazy and hoping I didn't have to), I still get the following warning

Warning: Cannot convert string "calculator" to type Pixmap


But apart from that things seem to work fine
_________________
the forums.gentoo.org poster formally known as metal leper
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