Comfortaa font and ligatures
Dear all, I would like to use the comfortaa font available at http://www.dafont.com/comfortaa.font. I managed - maybe in a wrong way - to do it through the following example: \definefontfeature[comfortaa][mode=node,kern=yes,liga=yes,dlig=yes] \starttypescriptcollection[comfortaa] \starttypescript[sans][comfortaa][name] \setups[font:fallback:sans] \definefontsynonym[Sans][name:comfortaa][features=default] \stoptypescript \starttypescript[comfortaa] \definetypeface[\typescriptone][ss][sans][comfortaa][default] \stoptypescript \stoptypescriptcollection \setupbodyfont[comfortaa] \starttext fl fi \stoptext Unfortunately, there are no ligatures whereas the snapshots given by the author show some of them like fi and fl. Did I use the correct script? Best regards, Flavien.
On 12/30/2013 11:09 AM, Flavien Lambert wrote:
Dear all, I would like to use the comfortaa font available at http://www.dafont.com/comfortaa.font. I managed - maybe in a wrong way - to do it through the following example: [...] Unfortunately, there are no ligatures whereas the snapshots given by the author show some of them like fi and fl. Did I use the correct script? Best regards,
Hi Flavien, there is an shorter way,: \definefontfeature[default][default][script=latn] \definefontfamily[mainface][serif][Comfortaa] \setupbodyfont[mainface] \starttext fl fi \stoptext Since standard ligatures are enabled by default, you only have to enable the Latin script. It doesn’t work, because the font has the glyph, but it seems to lack the proper OT liga feature that allows ConTeXt to use it. Sorry for the bad news. Best wishes for 2014, Pablo -- http://www.ousia.tk
Thanks a lot for the explanation!
My best wishes for 2014 also (to any reader, by the way),
F.
Le 30 déc. 2013 16:21, "Pablo Rodriguez"
On 12/30/2013 11:09 AM, Flavien Lambert wrote:
Dear all, I would like to use the comfortaa font available at http://www.dafont.com/comfortaa.font. I managed - maybe in a wrong way - to do it through the following example: [...] Unfortunately, there are no ligatures whereas the snapshots given by the author show some of them like fi and fl. Did I use the correct script? Best regards,
Hi Flavien,
there is an shorter way,:
\definefontfeature[default][default][script=latn] \definefontfamily[mainface][serif][Comfortaa] \setupbodyfont[mainface] \starttext fl fi \stoptext
Since standard ligatures are enabled by default, you only have to enable the Latin script.
It doesn’t work, because the font has the glyph, but it seems to lack the proper OT liga feature that allows ConTeXt to use it.
Sorry for the bad news.
Best wishes for 2014,
Pablo -- http://www.ousia.tk
___________________________________________________________________________________ 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
___________________________________________________________________________________
participants (2)
-
Flavien Lambert
-
Pablo Rodriguez