[XeTeX] Cutting a character
Andrew Moschou
andmos at gmail.com
Sun Apr 11 10:55:32 CEST 2010
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 <ross at 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}%
More information about the XeTeX
mailing list