Am 29.01.2014 um 09:04 schrieb Flavien Lambert <petit.lep...@gmail.com>:

> Hi all,
> back to the ubuntu font again, I realized that ligatures are not used. I 
> thought it was automatic with OTF type fonts. Is there anything special to 
> add to get the ligatures?

Ligatures are used for the font but the difference between the characters 
without ligatures is minimal. When you process the following document you can 
see the difference between the f-combinations without (top picture) and with 
(bottom picture) ligatures.

\define[2]\Test
  {\startTEXpage[offset=1ex]
     \vbox\bgroup \offinterlineskip
       \ruledhbox{\definedfont[file:#1*none    sa 10]#2}
       \ruledhbox{\definedfont[file:#1*default sa 10]#2}
     \egroup
   \stopTEXpage}

\starttext

% TeX Gyre Termes Regular

%\Test{texgyretermesregular}{fi}

% Ubuntu Regular

\Test{ubuntur}{ff}
\Test{ubuntur}{fi}
\Test{ubuntur}{fl}
\Test{ubuntur}{ffi}
\Test{ubuntur}{ffl}

% Ubuntu Light

\Test{ubuntul}{ff}
\Test{ubuntul}{fi}
\Test{ubuntul}{fl}
\Test{ubuntul}{ffi}
\Test{ubuntul}{ffl}

\stoptext

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to