[XeTeX] Finding out if a font supports a particular Unicode character and using it

François Charette firmicus at ankabut.net
Thu Feb 4 14:06:40 CET 2010

> 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 :

Ups, sorry. In fact I renamed it while writing the above message, 
realizing that "fontcheck" was not a very good name :)

>> 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.

Indeed, but you can probably install it with the tool "ppm" that comes 
with ActivePerl. Otherwise typing "cpan Font::TTF" in a terminal should 
do it.


More information about the XeTeX mailing list