[XeTeX] Finding out if a font supports a particular Unicode character and using it
P.Taylor at Rhul.Ac.Uk
Thu Feb 4 13:27:21 CET 2010
François Charette wrote:
> Hello all,
> Sorry to chime in so late in the discussion, but I just realized I've
> written a similar tool some time ago, in Perl. It does not rely on
> fontforge, but it is based on the CPAN module Font::TTF (which also
> works with OTF) by Martin Hosken of SIL. It does not perform indexing,
> but it is nevertheless quite fast, even with a relatively large
> collection of fonts. It should also work on all platforms, including
> Here is a sample output on my Linux system:
> $ time fontcheck.pl 2605
Looked interesting, François, and once I'd realised that what
you attached was in fact "glyphlookup.pl" and not "fontcheck.pl"
as in your transcript above, it did indeed start to compile, but
then aborted :
> K:\Documents and Settings\Chaa006.PC87-CC\My Documents>perl glyphlookup.pl
> Can't locate Font/TTF/Font.pm in @INC (@INC contains: E:/Layered products/Activ
> State/PERL/site/lib E:/Layered products/ActiveState/PERL/lib .) at glyphlookup.
> l line 19.
> BEGIN failed--compilation aborted at glyphlookup.pl line 19.
I assume that this is because I do not have the SPAN module
to which you referred.
More information about the XeTeX