Re: Font support for utf8

Liste des GroupesRevenir à cu shell 
Sujet : Re: Font support for utf8
De : nunojsilva (at) *nospam* invalid.invalid (Nuno Silva)
Groupes : comp.unix.shell
Date : 10. Jul 2025, 09:40:58
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <104nuaq$p5pl$2@dont-email.me>
References : 1 2 3 4 5 6
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
On 2025-07-08, Lawrence D'Oliveiro wrote:

On Tue, 8 Jul 2025 10:20:49 +0100, Richard Harnden wrote:
>
Actually, I wanted to detect whether the font that happens to be in use
(which I can't control) has a particular glyph available.  I have no
problem choosing a suitable font for myself.
 
I thought that maybe there'd be some kind of ioctl call.
>
ioctl(2) calls are for device drivers, which are part of the kernel. What
you want is a call in the font APIs, which run entirely in userland.
>
On Linux systems, the two relevant subsystems would be Fontconfig and
FreeType. Fontconfig lets you query your system/user setup to find out
what fonts are available, and what their capabilities are. FreeType not
only takes care of low-level glyph rendering, it also lets you pry into
the innards of a particular font in more detail.

In this case, wouldn't a more appropriate route be introducing a
terminal escape sequence for this (or is there one already in use
somewhere?).

What I wonder about is speed, how would this be made efficient, a
library caching responses? Because UCS isn't small...

--
Nuno Silva

Date Sujet#  Auteur
20 Dec 24 * Font support for utf815Richard Harnden
20 Dec 24 +* Re: Font support for utf82John McCue
20 Dec 24 i`- Re: Font support for utf81Keith Thompson
20 Dec 24 +- Re: Font support for utf81Lawrence D'Oliveiro
7 Jul 25 `* Re: Font support for utf811Tavis Ormandy
7 Jul 25  `* Re: Font support for utf810Lawrence D'Oliveiro
7 Jul 25   +- Re: Font support for utf81Tavis Ormandy
8 Jul 25   `* Re: Font support for utf88Lawrence D'Oliveiro
8 Jul 25    `* Re: Font support for utf87Richard Harnden
8 Jul 25     `* Re: Font support for utf86Lawrence D'Oliveiro
10 Jul 25      `* Re: Font support for utf85Nuno Silva
10 Jul 25       `* Re: Font support for utf84Lawrence D'Oliveiro
11 Jul 25        `* Re: Font support for utf83Nuno Silva
12 Jul 25         `* Re: Font support for utf82Lawrence D'Oliveiro
12 Jul 25          `- Re: Font support for utf81Keith Thompson

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal