[XeTeX] Absence of ligatures

Khaled Hosny khaledhosny at eglug.org
Wed Jun 9 19:47:49 CEST 2010


On Wed, Jun 09, 2010 at 07:28:42PM +0200, Pander wrote:
> Khaled Hosny wrote:
> >On Wed, Jun 09, 2010 at 04:45:27PM +0100, José Carlos Santos wrote:
> >>Hi all:
> >>
> >>I have been working on a text whose main font is DTL Unico:
> >>
> >>http://www.dutchtypelibrary.nl/Unico_rdrct.html
> >>
> >>I have just noticed that the "fi" and "fl" ligatures are not
> >>created. To be more precise: if I compile this document:
> >>
> >>\documentclass{article}
> >>\pagestyle{empty}
> >>\usepackage{xltxtra}
> >>\begin{document}
> >>\Huge
> >>\fontspec{DTLUnicoST}
> >>fi fl
> >>\end{document}
> >>
> >>I don't get the ligatures that I should get. Am I doing something
> >>wrong? Or could it be a flaw within the fonts that I am using?
> >
> >Either the font lacks proper OpenType layout code, or you need to
> >explicitly select certain OpenType script/language, you can try setting
> >Language=Latin, Language=Default, Script=Latin or any combination of
> >them and if it works.
> >
> 
> \fontspec{DTLUnicoST}\addfontfeatures{Ligatures={Common,Rare}}

Common ligatures are not by default, Rare ligature should not be a
concern here since f ligature should not be set as Rare ligatures in the
font, if so then it is a bug and the font ought to be fixed.


-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer


More information about the XeTeX mailing list