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

François Charette firmicus at ankabut.net
Thu Feb 4 16:04:50 CET 2010

On 04/02/2010 14:29, Philip TAYLOR wrote:
> Very successful : merci bien, François !  I had bever used
> PPM before, but it seems a useful tool.
>> K:\Documents and Settings\Chaa006.PC87-CC\My Documents>perl 
>> glyphlookup-PT.pl 2605
>> Looking in 174 system fonts ...
>> The glyph ★ (0x2605) is available in the following fonts:

The terminal in Windows does not support Unicode. You can thus change 
line 67-68 to:

     print "The glyph $uni is available in the following fonts:\n";

to avoid the incorrect display of the glyph. Then you can also delete 
line 23 with the binmode setting.


More information about the XeTeX mailing list