On 19 May 2010, at 19:47, Robert wrote: > 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:
True, it wouldn't (because they're handled separately in the internal structures). We should add support for that; thanks for pointing it out. JK > > \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 -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex