[XeTeX] Detect, whether a font contains a certain character
Heiko Oberdiek
heiko.oberdiek at googlemail.com
Mon Nov 28 07:59:12 CET 2011
On Mon, Nov 28, 2011 at 03:07:07PM +1030, Andrew Moschou wrote:
> 2011/11/28 Zdenek Wagner <zdenek.wagner at gmail.com>
>
> > Put it into an \hbox and measure its width (\wd). If the width is
> > zero, the glyph does not exist.
> >
>
> If the required glyph doesn't exist, wouldn't this measure the ".notdef"
> glyph?
No, the problem is rather that a existing glyph can have width zero
(not likely in your case) and that there is a warning in the .log file.
See my examples.
Yours sincerely
Heiko Oberdiek
More information about the XeTeX
mailing list