[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: questions & comments

Thierry Bouche wrote:
> it's nonsense to fake ligatures that are never directly accessed. What
> makes sense is to make active the ligature pointing to ffi ,
> e.g. _only_ when the ffi glyph does exist.

Indeed! And printing black boxes won't help a lot either...

> This design decision in fontinst (well, in latin.mtx and in the ETX
> files) has always puzzled me.

There is the simple solution to check in the definition of the ligatures
if the ligatures really exist (in the encoding, not the avialable
characters). This works fine and makes a complex font-dependent job very
managable via fontinst.
  \if \tty y \else
      \ligature{LIG}{\lc{T}{t}}{\lclig{CT}{ct}} \fi
      \ligature{LIG}{\lc{H}{h}}{\lclig{CH}{ch}} \fi
      \ligature{LIG}{\lc{K}{k}}{\lclig{CK}{ck}} \fi
  \comment{The letter `{c}'.}

Hilmar Schlegel

mailto:hshlgaii@mailszrz.zrz.TU-Berlin.DE?Subject=Mail response