[XeTeX] List of ligatures in a font

d fulano donfulanito at hotmail.com
Wed Mar 14 21:11:55 CET 2012

Many thanks for all the replies. 

I had tried to use primitives to compare fi with f{}i or simular, 
but it didnt work as the primitives were comparing the input 
before the ligatures were applied.

Putting in a box and comparing the width with the width of the 
idividual is perhaps an overkill for this...


But the LuaTex suggestion was a good one - I never used it, but 
searching on the internet for 'printing table of ligatures Luatex
produced a number of codes that apparently do it.  I will try it
as it seems to be the easiesdt way.









> ------------------------------
 Date: Wed, 14 Mar 2012 12:24:15 -0500
> From: <mskala at ansuz.sooke.bc.ca>
> To: Unicode-based TeX for Mac OS X and other platforms <xetex at tug.org>
> Subject: Re: [XeTeX] List of ligatures in a font
> Message-ID:
> <alpine.LNX.2.00.1203141216070.14366 at tetsu.ansuz.sooke.bc.ca>
> Content-Type: text/plain; charset="US-ASCII"
> On Wed, 14 Mar 2012, d fulano wrote:
> > how do I determine what are the "standard ligatures" in a font?It is not
> > obvious (especially for non-English languages), and they can also vary
> > in each font. Basically what I want to do is this:I can very quicky
> It will be tricky with OpenType fonts that have context-sensitive
> ligatures, because there may be many different sequences of input glyphs
> that activate a given output glyph, and the input sequences can be
> described in the font file in terms of matching patterns rather than a
> (potentially prohibitively long) explicit list of input sequences. If you
> think you can guess the input sequence by looking at the output glyph (as
> will be possible in many cases for Latin script), then you could simply
> list the output glyphs and not worry about reverse-engineering the tables
> to find the inputs; but that won't be a good assumption in the case of,
> for instance, jamo layout changes in Korean. Stuff like arbitrary-length
> fractions implemented by ligature-like substitution will give you a hard
> time as well.
> -- 
> Matthew Skala
> mskala at ansuz.sooke.bc.ca People before principles.
> http://ansuz.sooke.bc.ca/
> ************************************* 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20120314/9b02265c/attachment.html>

More information about the XeTeX mailing list