Sujet : Re: Font support for utf8
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.unix.shellDate : 20. Dec 2024, 19:57:54
Autres entêtes
Organisation : None to speak of
Message-ID : <87jzbuw5al.fsf@nosuchdomain.example.com>
References : 1 2
User-Agent : Gnus/5.13 (Gnus v5.13)
John McCue <
jmccue@qball.jmcunx.com> writes:
Richard Harnden <richard.nospam@gmail.invalid> wrote:
Is there anyway I can tell whether a particular uft8 code-point is
actually implemented in my terminal's current font?
>
The only way I know is to write a small program to
print it. That is what I did for various UTF-8
characters I like to use.
>
For example, 0xe2 0x96 0x89 "▉" "Left Seven Eighths Block" is often
displayed as the i-don't-know-what-this-is glyph.
>
FWIW, 7/8 does not print for me on Linux and *BSD, but
on all systems Emacs will print it plus many more that
does not show up on xterm and other terms.
That's a function of which font you're using. I'm using xterm with
the Inconsolata font, which does have good UTF-8 support, including
the LEFT SEVEN EIGHTHS BLOCK character. Any program should display
it correctly if you use a font that knows how to display it (assuming
the program itself handles UTF-8).
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */