It would probably be cleaner to use the primitive \XeTeXglyphbounds to
measure the size of the glyph instead of guessing the size of the
white-out box which covers it.

Andrew

On 11 April 2010 07:23, Ross Moore <r...@ics.mq.edu.au> wrote:
>  \setbox0=\hbox{#2}\dimen0=#1\wd0
>  \dimen2=\ifdim \dp0=0pt .1ex\else 1.1\dp0\fi
>  \kern-\dimen0
>   {\color{white}\vrule height 1.1\ht0 depth\dimen2 width\dimen0}%



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

Reply via email to