Yes -- very sorry William, I hadn't looked properly -- th italic is indeed a ligature which is applied when choosing Discretionary (or Rare -- fontspec doesn't seem to care) - so one gets all sp etc. ligatures, too. Is there a simple way to be selective, and just choose the th-ligature without using the the rest of the rare ligatures? Could I proceed via Peter's path to add tthe italic th to the liga lookup (after figuring out how to do that)?<br>
<br>The ch/ck query (and of course they aren't ligatures -- hence my previous cautionary usage. Thanks for naming them correctly -- digraph makes sense for those): <br><br>\setdefaultlanguage{german} does have no effect, and German isn't a recognized script for fontspec; so I am still floored with those two (and they do occur frequently! - I just ran a chapter through a replace on Emacs, and there were a lot of those around).<br>
<br>I shall (try to) look into fontforge (sweat accumulating on my forehead :-)) and how to add to liga lookups...<br><br>Many thanks for rapid suggestions (and correction).<br><br>Rembrandt<br> <br><br><div class="gmail_quote">
On Fri, May 1, 2009 at 12:40, William Adams <span dir="ltr"><<a href="mailto:will.adams@frycomm.com" target="_blank">will.adams@frycomm.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>On May 1, 2009, at 12:11 PM, Rembrandt Wolpert wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
deals nicely with most of these -- even those which seem to have only<br>
GIDs (ffl, for example). However, there are some particularly nice<br>
glyphs which I wondered how to deal with more elegantly. They come up<br>
perfectly fine with:<br>
<br>
\newcommand{\ch}{\XeTeXglyph260} % "ligature" ch<br>
\newcommand{\ck}{\XeTeXglyph261} % "ligature" ck<br>
\newcommand{\ich}{\XeTeXglyph264} % "ligature" italic ch<br>
\newcommand{\ick}{\XeTeXglyph265} % "ligature" italic ck<br>
</blockquote>
<br></div>
Those aren't ligatures in the decorative sense, but rather digraphs which are used in German to represent specific sounds --- do they have Unicode codepoints? If so, keyboard them thusly.<div><br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
\newcommand{\ith}{\XeTeXglyph301} % ligature italic th<br>
</blockquote>
<br></div>
This _is_ a ligature and ``just works'' w/ the setmainfont you described.<br>
<br>
William<br><font color="#888888">
<br>
-- <br>
William Adams<br>
senior graphic designer<br>
Fry Communications<br>
Sphinx of black quartz, judge my vow.<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br> 人有不為也而後可有為<br>