List of installed fonts that support a certain character
Solution 1:
May be there other tools but hb-shape
gives some results, Example (\u2192
, \u107
, \u106
and \u2191
respectively):
$ hb-shape .fonts/Roboto-Light.ttf "→"
[NULL=0+498]
$ hb-shape .fonts/Roboto-Light.ttf "ć"
[cacute=0+1054]
$ hb-shape .fonts/Roboto-Light.ttf "Ć"
[Cacute=0+1313]
$ hb-shape .fonts/Roboto-Light.ttf "↑"
[NULL=0+498]
As you notice, available ones results return with their Unicode name Cacute
otherwise NULL
.
I have entered Unicode using Ctrl+Shift+u , or you may want this way for making shell script to loop through fonts:
$ hb-shape .fonts/Roboto-Light.ttf `echo -ne "\u2192"`
[NULL=0+498]
For reference, hb-shape
is a test tool from HarfBuzz Project a Unicode text shaping engine.