On 2010-12-04 00:17, Joachim Trinkwitz wrote:
> Am 03.12.2010 um 16:30 schrieb Pander:
> 
>> Another small font issue with XeLaTeX. The following
>>
>> \documentclass{article}
>> \usepackage{xltxtra}
>> \begin{document}
>> \fontspec{GilliusADF-Cond}\itshape
>> \addfontfeatures{Ligatures={Required,Common,Rare}}AE~OE~ae~ff~ffi~ffl~fi~fl~oe~st
>> \end{document}
>>
>> works fine in LuaLaTeX, but in XeLaTeX the ligatures ff, ffi and ffl are
>> not shown.
> 
> I don't know from where LuaLaTeX takes those ligatures, but looking at the 
> font (fresh installation from http://arkandis.tuxfamily.org/adffonts.html), I 
> have to observe that the roman variant has 265 glyphs, the italic one only 
> 260. Among those missing in the latter are just the ligatures fl, ffi, and ffl. So 
> this is definitely not XeTeX's fault.
> 
> Joachim
> 

Output of ttx provides more ligatures. I use ttx's output for my font
catalogue and for all other fonts, this info on ligatures is correct.

      <Lookup index="9">
        <LookupType value="4"/>
        <LookupFlag value="0"/>
        <!-- SubTableCount=1 -->
        <LigatureSubst index="0" Format="1">
          <LigatureSet glyph="zero">
            <Ligature components="slash,zero,zero" glyph="perthousand"/>
            <Ligature components="fraction,zero,zero" glyph="perthousand"/>
          </LigatureSet>
        </LigatureSubst>
      </Lookup>
      <Lookup index="10">
        <LookupType value="4"/>
        <LookupFlag value="0"/>
        <!-- SubTableCount=1 -->
        <LigatureSubst index="0" Format="1">
          <LigatureSet glyph="zero">
            <Ligature components="slash,zero" glyph="percent"/>
            <Ligature components="fraction,zero" glyph="percent"/>
          </LigatureSet>
        </LigatureSubst>
      </Lookup>
      <Lookup index="11">
        <LookupType value="4"/>
        <LookupFlag value="0"/>
        <!-- SubTableCount=1 -->
        <LigatureSubst index="0" Format="1">
          <LigatureSet glyph="one">
            <Ligature components="slash,four" glyph="onequarter"/>
            <Ligature components="fraction,four" glyph="onequarter"/>
          </LigatureSet>
        </LigatureSubst>
      </Lookup>
      <Lookup index="12">
        <LookupType value="4"/>
        <LookupFlag value="0"/>
        <!-- SubTableCount=1 -->
        <LigatureSubst index="0" Format="1">
          <LigatureSet glyph="one">
            <Ligature components="slash,two" glyph="onehalf"/>
            <Ligature components="fraction,two" glyph="onehalf"/>
          </LigatureSet>
        </LigatureSubst>
      </Lookup>
      <Lookup index="13">
        <LookupType value="4"/>
        <LookupFlag value="0"/>
        <!-- SubTableCount=1 -->
        <LigatureSubst index="0" Format="1">
          <LigatureSet glyph="three">
            <Ligature components="slash,four" glyph="threequarters"/>
            <Ligature components="fraction,four" glyph="threequarters"/>
          </LigatureSet>
        </LigatureSubst>
      </Lookup>
      <Lookup index="14">
        <LookupType value="4"/>
        <LookupFlag value="0"/>
        <!-- SubTableCount=1 -->
        <LigatureSubst index="0" Format="1">
          <LigatureSet glyph="f">
            <Ligature components="f,i" glyph="f_f_i"/>
            <Ligature components="i" glyph="f_i"/>
          </LigatureSet>
        </LigatureSubst>
      </Lookup>
      <Lookup index="15">
        <LookupType value="4"/>
        <LookupFlag value="0"/>
        <!-- SubTableCount=1 -->
        <LigatureSubst index="0" Format="1">
          <LigatureSet glyph="f">
            <Ligature components="f,l" glyph="f_f_l"/>
            <Ligature components="f" glyph="f_f"/>
            <Ligature components="l" glyph="f_l"/>
          </LigatureSet>
        </LigatureSubst>
      </Lookup>
      <Lookup index="16">
        <LookupType value="4"/>
        <LookupFlag value="0"/>
        <!-- SubTableCount=1 -->
        <LigatureSubst index="0" Format="1">
          <LigatureSet glyph="s">
            <Ligature components="t" glyph="s_t"/>
          </LigatureSet>
        </LigatureSubst>
      </Lookup>
      <Lookup index="17">
        <LookupType value="1"/>
        <LookupFlag value="0"/>
        <!-- SubTableCount=1 -->
        <SingleSubst index="0" Format="1">
          <Substitution in="s" out="longs"/>
        </SingleSubst>
      </Lookup>
      <Lookup index="18">
        <LookupType value="4"/>
        <LookupFlag value="0"/>
        <!-- SubTableCount=1 -->
        <LigatureSubst index="0" Format="1">
          <LigatureSet glyph="longs">
            <Ligature components="t" glyph="longs_t"/>
          </LigatureSet>
        </LigatureSubst>
      </Lookup>
      <Lookup index="19">
        <LookupType value="4"/>
        <LookupFlag value="0"/>
        <!-- SubTableCount=1 -->
        <LigatureSubst index="0" Format="1">
          <LigatureSet glyph="A">
            <Ligature components="E" glyph="AE"/>
            <Ligature components="e" glyph="AE"/>
          </LigatureSet>
          <LigatureSet glyph="O">
            <Ligature components="E" glyph="OE"/>
            <Ligature components="e" glyph="OE"/>
          </LigatureSet>
          <LigatureSet glyph="a">
            <Ligature components="e" glyph="ae"/>
          </LigatureSet>
          <LigatureSet glyph="o">
            <Ligature components="e" glyph="oe"/>
          </LigatureSet>
        </LigatureSubst>
      </Lookup>


--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex

Reply via email to