[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I check for the existence of a glyph in TeX?



At 04:15 AM 9/9/98 +0100, Rebecca and Rowland wrote:

>>This is a tough one, since Knuth worked with fonts that had no missing
glyphs.
>>Hence there is little support for this sort of thing.  For example, missing
>>glyph
>>messages do not appear on screen in most TeX implementations, only in the
>>log file (which means they are mostly never seen), and then do not contain
>>any context information (so it can be very hard to find out where they
>>com from).  In any case just testing the character causes an error message
>>to be emitted if it is not there. I suppose you could read in the log file
>>and check afterwards :-)?

>An idea...  The problem is that as far as the tfm file is concerned, the
>slot is not empty in general when it `points to' a missing glyph: you get a
>missing glyph rule in the dvi file and a warning there, not in the log
>file. 

Not in the TFM files I use.  If there is no glyph there is should say so.  
Anything else is deceptive.

Regards, Berthold.