<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Many thanks for all the replies. <br><br> <br>I had tried to use primitives to compare fi with f{}i or simular, <br>but it didnt work as the primitives were comparing the input <br>before the ligatures were applied.<br><br> <br>Putting in a box and comparing the width with the width of the <br>idividual is perhaps an overkill for this...<br><br> <br><br>But the LuaTex suggestion was a good one - I never used it, but <br>searching on the internet for 'printing table of ligatures Luatex<br>produced a number of codes that apparently do it.  I will try it<br>as it seems to be the easiesdt way.<br><br> <br><br>Thanks<br><br> <br><br> <br><br> <br><br> <br><br> <br><br> <br><br>> <br>> ------------------------------<br>> <br> Date: Wed, 14 Mar 2012 12:24:15 -0500<br>> From: <mskala@ansuz.sooke.bc.ca><br>> To: Unicode-based TeX for Mac OS X and other platforms <xetex@tug.org><br>> Subject: Re: [XeTeX] List of ligatures in a font<br>> Message-ID:<br>> <alpine.LNX.2.00.1203141216070.14366@tetsu.ansuz.sooke.bc.ca><br>> Content-Type: text/plain; charset="US-ASCII"<br>> <br>> On Wed, 14 Mar 2012, d fulano wrote:<br>> > how do I determine what are the "standard ligatures" in a font?It is not<br>> > obvious (especially for non-English languages), and they can also vary<br>> > in each font. Basically what I want to do is this:I can very quicky<br>> <br>> It will be tricky with OpenType fonts that have context-sensitive<br>> ligatures, because there may be many different sequences of input glyphs<br>> that activate a given output glyph, and the input sequences can be<br>> described in the font file in terms of matching patterns rather than a<br>> (potentially prohibitively long) explicit list of input sequences. If you<br>> think you can guess the input sequence by looking at the output glyph (as<br>> will be possible in many cases for Latin script), then you could simply<br>> list the output glyphs and not worry about reverse-engineering the tables<br>> to find the inputs; but that won't be a good assumption in the case of,<br>> for instance, jamo layout changes in Korean. Stuff like arbitrary-length<br>> fractions implemented by ligature-like substitution will give you a hard<br>> time as well.<br>> -- <br>> Matthew Skala<br>> mskala@ansuz.sooke.bc.ca People before principles.<br>> http://ansuz.sooke.bc.ca/<br>> <br>> *************************************                                     </div></body>
</html>