[XeTeX] List of ligatures in a font
jfkthame at googlemail.com
Wed Mar 14 22:08:27 CET 2012
On 14 Mar 2012, at 17:57, Heiko Oberdiek wrote:
> On Wed, Mar 14, 2012 at 07:43:45PM +0200, Tobias Schoel wrote:
>> Could one test if ff and f\/f are equal with tex-primitives?
> If the width of the single characters differ to the ligture,
> then you can put both versions in boxes and compare the widths.
Rather than a ligature, there might be a kerning pair. Or a contextual alternate of one (or both) of the characters.
You can't reliably identify the presence of ligatures by detecting differences in box widths.
More information about the XeTeX