Skip to Content.
Sympa Menu

sm-users - [SM-Users] Which fonts support utf8 under X?

sm-users AT lists.ibiblio.org

Subject: Sourcemage Users List

List archive

Chronological Thread  
  • From: "Javier Vasquez" <jevv.cr AT gmail.com>
  • To: "SM, UL" <sm-users AT lists.ibiblio.org>
  • Subject: [SM-Users] Which fonts support utf8 under X?
  • Date: Sun, 9 Mar 2008 19:48:58 -0600

Hi,

I like using terminus font, but somehow it doesn't support utf8. When
using gvim (I compiled it against lesstif, but with openmotif is the
same as well as with gtk+2, since I tried all, the best result is with
openmotif, which doesn't die after the warning), I get:

% vi
Warning: Unable to load any usable fontset
Vim: Caught deadly signal SEGV
Vim: Finished.
Segmentation fault

This when I have LANG set as en_US.utf8. When I have it set to
en_US.iso88591 I don't get the error. The font I'm using is:

Vim.font: -xos4-terminus-medium-*-*-*-24-*-*-*-*-*-*-*

I'm hoping I could use terminus font with en_US.utf8, although it
doesn't seem possible. Notice I see several fonts already compiled
for iso8859-1:

% xlsfonts | grep -E 'iso8859-1' | wc -l
4710

But I don't see anything already compiled for utf8:

% xlsfonts | grep -Ei 'utf' | wc -l
0

Is there a way to make available fonts support en_US.utf8 language?
Any suggestions? Please notice plain vim under xterm/aterm/mrxvt has
no problem at all.

Thanks,

--
Javier




Archive powered by MHonArc 2.6.24.

Top of Page