[XeTeX] Support extensible accents

Khaled Hosny khaledhosny at eglug.org
Mon Feb 20 23:30:07 CET 2012


Hi all,

Currently XeTeX does not support extensible accents (just like TeX)
which leads unicode-math to doing some ugly hacks to support \overbrace
etc. The attached patch provides support for extensible accents (by
adapting some commented out code and taking some inspirations from
luatex implementation).

The output is nearly identical to luatex's except that luatex takes
account of \delimiterfactor and \delimitershortfall when calculating the
desired width of the accent, but luatex behaviour does not confirm to
Office implementation nor \overbrace behaviour in plain tex, so I didn't
follow it.

The second patch does some cosmetic changes to better reflect the new
job of build_opentype_assembly(). Both patches are to be applied after
the previous ones.

Regards,
 Khaled
-------------- next part --------------
A non-text attachment was scrubbed...
Name: accent_ext.diff
Type: text/x-diff
Size: 4574 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20120221/2b296f88/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: accent_ext.tex
Type: text/x-tex
Size: 776 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20120221/2b296f88/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: accent_ext.pdf
Type: application/pdf
Size: 3529 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20120221/2b296f88/attachment.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: accent_ext2.diff
Type: text/x-diff
Size: 2848 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20120221/2b296f88/attachment-0002.bin>


More information about the XeTeX mailing list