[XeTeX] A problem with \XeTeXglyph
Stephen Moye
stephenmoye at mac.com
Sun Jul 10 20:05:04 CEST 2005
For my own quick-and-dirty purposes, I have devised a little TeX routine to show me where the glyphs of a font are:
%!TEX TS-program = xetex
%!TEX encoding = UTF-8 Unicode
\font\test="Hoefler Text" at 14pt
\newcount\charcount \charcount0
\raggedright
\loop\number\charcount
\hbox{\test\char\charcount}
\ifnum\charcount<1000 \advance\charcount1 \repeat
\bye
It works. I thought I might press \XeTeXglyph into service:
%!TEX TS-program = xetex
%!TEX encoding = UTF-8 Unicode
\font\test="Hoefler Text" at 14pt
\newcount\charcount \charcount0
\raggedright
\loop\number\charcount
\hbox{\test\XeTeXglyph\charcount}
\ifnum\charcount<1000 \advance\charcount1 \repeat
\bye
But that produces a page of nonsense. I guess I need to know how \XeTeXglyph works.
Thanks
SGM
More information about the XeTeX
mailing list