<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'>



<BR>>\defaultfontfeatures{Mapping=tex-text}<br>><br>>informs the XeTeX engine to use the standard ligatures, as TeX would do by default.<br><BR> <BR>Many thanks for the prompt reply!<BR> <BR>But this is exactly my question::  how do I determine what are the "standard ligatures" in a font?<BR>It is not obvious (especially for non-English languages), and they can also vary in each font.<BR> <BR> <BR>Basically what I want to do is this:<BR>I can very quicky loop from 1-65535 and use \iffontchar to test if a character exists in the font, <BR>and thus print all the glyphs in the font as a table, for my information.<BR> <BR>I would like to add to this a list of all the ligatures of the font.<BR>In the absence of any other ideas, I can test every combination of pairs of glyphs, <BR>and then if the pair forms a ligature, I want to print this.  <BR> <BR>But I don't know how to test if 2 characters will combine into a ligature. <BR> <BR>Thanks<BR> <BR>(I know I can use a font editor etc to study the inside ligatures of the font, but <BR>this is difficult to print nicely and I am trying to do this in Xe(la)TeX..<BR>After all, XeTeX should know this information, No? . )<BR> <BR> <BR> <BR> <BR>Am 14.3.2012 um 16:42 schrieb d fulano:<br><br>>><i> Is there e.g., a test command to determine if "f" "i" will
</i>><i> be replaced by another glyph, rather than be printed 
</i>><i> seperately?
</i><br>>Check the code points in the font! The statement<br>><br>        >\defaultfontfeatures{Mapping=tex-text}<br>><br>>informs the XeTeX engine to use the standard ligatures, as TeX would do by default.<br>><br>>--<br>>Greetings<br>>                                <]<br>>  Pete       o        __o         |__    o           recumbo<br>>    ___o    /I       -\<,         |o \  -\),-%       ergo sum!<br>>___/\ /\___./ \___...O/ O____.....`-O-'-()--o_________________<br><br><br><BR>                                           </div></body>
</html>