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

sqweek sqweek at gmail.com
Mon Mar 10 23:07:55 EDT 2008


On Mon, Mar 10, 2008 at 10:48 AM, Javier Vasquez <jevv.cr at gmail.com> wrote:
>  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

 That's because utf8 is an encoding. Fonts don't know anything about
it. You might have more luck grepping for iso10646, which is the
unicode codepage. Well, not really, but unicode and iso10646 are
compatible.
 Some apps allow you to specify a list of fonts and it will use
whichever font has a glyph for the fontset it is trying to draw. I
don't know if gvim is one of them.
-sqweek



More information about the SM-Users mailing list