Sujet : Re: Font support for utf8
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.unix.shellDate : 20. Dec 2024, 21:50:04
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vk4l9s$3k7iv$8@dont-email.me>
References : 1
User-Agent : Pan/0.161 (Chasiv Yar; )
On Fri, 20 Dec 2024 13:55:18 +0000, Richard Harnden wrote:
Is there anyway I can tell whether a particular uft8 code-point is
actually implemented in my terminal's current font?
You need some utility to dump out the font’s character-mapping table.
E.g. I wrote a Python script called “code_coverage” here
<
https://gitlab.com/ldo/python_freetype_examples/>, which will list
the code blocks defined for any specified font.
In this repo <
https://gitlab.com/ldo/python_fontconfig_examples/>,
there is a tool called “coverage_list”. This will scan all the fonts
that fontconfig on your system knows about, to find those that cover a
given code block.