[NTG-context] problem with pdftex-1.40.1 and Gentium ligatures

Johan Sandblom johan.sandblom at ki.se
Thu Feb 1 17:32:03 CET 2007


It took a lot of searching for a minimal case, apparently there are
many levels of interaction here. The file below has blanks for fi fl
ff when compiled with pdftex-1.40.1 but not with pdftex-1.30.5. Do you
need some parts of my tex/font setup as well?

Johan

\usetypescriptfile[type-sil-gentium]
\usetypescript[my][sil-gentium]
\setupbodyfont[sil-gentium, 10pt]

\definetypeface
  [chance]
  [cg]
  [calligraphy]
  [chancery]
  [default]
  [encoding=texnansi]

\def\ChCmd#1#2{%
  \switchtobodyfont[14pt]
  \setupinterlinespace[small]
  \framed[width=15cm, align=normal, frame=off]
         {\framed[frame=off, align=middle, offset=2mm, width=.8\textwidth]{#2}
          \hfilll\switchtobodyfont[chance,30pt]
          \framed[background=color, backgroundcolor=black, width=3cm,
align=right]{\white\bf#1}}}

\setuphead
  [chapter]
  [command=\ChCmd,
    header=empty,
    page=right]

\starttext

\chapter[meth]{Methods for studying human brain function}

fill significantly flog flash floozy flagellation

\stoptext

2007/2/1, Taco Hoekwater <taco at elvenkind.com>:
> Hi Johan,
>
> If the only change is the pdftex version, than it sounds like this
> is a pdftex bug. Any chance you can create a small standalone testfile?
>
> Best, Taco
>
> Johan Sandblom wrote:
> > When I moved from pdftex-1.30.5-2.2 (from texlive-base-bin
> > 2005.dfsg.2-10 on debian) to pdftex-1.40.1 suddenly ligatures in
> > gentium exhibited erratic behavior: they appeared correctly (or, more
> > accurately, the letters appeared, they did not look like a proper
> > ligature) on screen in xpdf and acroread but did not print (there were
> > just empty spaces). On windows, the fi, fl, and ff combinations made
> > blanks, just as on the printer. Reverting to pdftex-1.30.5-2.2
> > corrected the problem. Gentium is from ttf-gentium 1.02-2 on debian
> > and the typescript I use is below. Perhaps my poor typesetting
> > knowledge has lead me wrong and the lack of true ligatures is the
> > actual problem?
> >
> > Regards, Johan
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > ntg-context mailing list
> > ntg-context at ntg.nl
> > http://www.ntg.nl/mailman/listinfo/ntg-context
>


-- 
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
"What is wanted is not the will to believe, but the
will to find out, which is the exact opposite"
- Bertrand Russell


More information about the ntg-context mailing list