[XeTeX] Certain ligatures in Adobe Garamond Premier Pro
Rembrandt Wolpert
wolpert at uark.edu
Fri May 1 20:38:20 CEST 2009
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)?
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):
\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).
I shall (try to) look into fontforge (sweat accumulating on my forehead :-))
and how to add to liga lookups...
Many thanks for rapid suggestions (and correction).
Rembrandt
On Fri, May 1, 2009 at 12:40, William Adams <will.adams at frycomm.com> wrote:
> On May 1, 2009, at 12:11 PM, Rembrandt Wolpert wrote:
>
> deals nicely with most of these -- even those which seem to have only
>> GIDs (ffl, for example). However, there are some particularly nice
>> glyphs which I wondered how to deal with more elegantly. They come up
>> perfectly fine with:
>>
>> \newcommand{\ch}{\XeTeXglyph260} % "ligature" ch
>> \newcommand{\ck}{\XeTeXglyph261} % "ligature" ck
>> \newcommand{\ich}{\XeTeXglyph264} % "ligature" italic ch
>> \newcommand{\ick}{\XeTeXglyph265} % "ligature" italic ck
>>
>
> 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.
>
>
> \newcommand{\ith}{\XeTeXglyph301} % ligature italic th
>>
>
> This _is_ a ligature and ``just works'' w/ the setmainfont you described.
>
> William
>
> --
> William Adams
> senior graphic designer
> Fry Communications
> Sphinx of black quartz, judge my vow.
>
>
--
人有不為也而後可有為
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20090501/34ea5277/attachment.html
More information about the XeTeX
mailing list