[XeTeX] eTeX font char extensions

Jonathan Kew jonathan_kew at sil.org
Tue Jun 20 16:29:20 CEST 2006


On 19 Jun 2006, at 3:28 am, Will Robertson wrote:

> Hi,
>
> Before I forget entirely, eTeX defines some things that XeTeX should
> be aware of. From the eTeX manual
>
> "\iffontchar<font><8-bit number> (test if char exists)
> True if \char<8-bit number> in \font<font> exists."
>
> This should probably be extended to support unicode ranges. It
> probably doesn't work for non-TFM fonts (not tested).
>
> "The commands \fontcharht, \fontcharwd, \fontchardp, and \fontcharic
> followed by a font specification and a character code, return a
> dimension: the height, width, depth, or italic correction of the
> character in the font, or 0pt if no such character exists."
>
> These don't work in XeTeX currently, as shown in the attached
> document. I guess they also need to be extended for unicode.

These should work now, as of rev. 288 in the Subversion repository.  
So they'll be supported in release 0.995, when that appears.

Thanks for pointing these out! :)

JK



More information about the XeTeX mailing list