ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Comfortaa font and ligatures
@ 2013-12-30 10:09 Flavien Lambert
  2013-12-30 15:21 ` Pablo Rodriguez
  0 siblings, 1 reply; 3+ messages in thread
From: Flavien Lambert @ 2013-12-30 10:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 799 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 989 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Comfortaa font and ligatures
  2013-12-30 10:09 Comfortaa font and ligatures Flavien Lambert
@ 2013-12-30 15:21 ` Pablo Rodriguez
  2013-12-30 17:25   ` Flavien Lambert
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez @ 2013-12-30 15:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Comfortaa font and ligatures
  2013-12-30 15:21 ` Pablo Rodriguez
@ 2013-12-30 17:25   ` Flavien Lambert
  0 siblings, 0 replies; 3+ messages in thread
From: Flavien Lambert @ 2013-12-30 17:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1678 bytes --]

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" <oinos@gmx.es> a écrit :

> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 2500 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-12-30 17:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-30 10:09 Comfortaa font and ligatures Flavien Lambert
2013-12-30 15:21 ` Pablo Rodriguez
2013-12-30 17:25   ` Flavien Lambert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).