On 18.05.10 10:55, Jonathan Kew wrote:
   \font\f="MyFont" at 10pt \f
   \newcount\n
   \loop \noindent \number\n : \XeTeXglyph\n\ = \XeTeXglyphname\f\n \par
     \advance\n by 1 \ifnum\n<\XeTeXcountglyphs\f \repeat

Thanks, this may be helpful (and I've learned two new primitives...)

Now I seem to have stumbled upon a minor bug: protrusion doesn't work for glyphs inserted with \XeTeXglyph:

\font\x ="Charis SIL" \x
\parindent0pt
\parfillskip0pt
\XeTeXprotrudechars2
\lpcode\x /w = 500 %  = slot 90

abc\par
wbc\par
\char`wbc\par
\XeTeXglyph90 bc\par
abc

\bye

Regards,
--
 Robert



--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex

Reply via email to