From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85732 Path: news.gmane.org!not-for-mail From: Flavien Lambert Newsgroups: gmane.comp.tex.context Subject: Re: Comfortaa font and ligatures Date: Mon, 30 Dec 2013 18:25:53 +0100 Message-ID: References: <52C18F6F.0@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2112983055==" X-Trace: ger.gmane.org 1388424356 22761 80.91.229.3 (30 Dec 2013 17:25:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Dec 2013 17:25:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 30 18:26:03 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VxgbI-0005BT-Rl for gctc-ntg-context-518@m.gmane.org; Mon, 30 Dec 2013 18:26:00 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F0B56101FB; Mon, 30 Dec 2013 18:25:59 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id pW7rC3OyyEod; Mon, 30 Dec 2013 18:25:58 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id DE3D9101F0; Mon, 30 Dec 2013 18:25:57 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 367CF101F0 for ; Mon, 30 Dec 2013 18:25:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id R9q9ZocBp96o for ; Mon, 30 Dec 2013 18:25:55 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 6E02B101DE for ; Mon, 30 Dec 2013 18:25:55 +0100 (CET) Original-Received: from mail-wg0-x234.google.com (mail-wg0-x234.google.com [IPv6:2a00:1450:400c:c00::234]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rBUHPrFZ006587 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 30 Dec 2013 18:25:54 +0100 Original-Received: by mail-wg0-f52.google.com with SMTP id x13so10170323wgg.31 for ; Mon, 30 Dec 2013 09:25:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=yBDkLiH/zCOO4PID7tMVdU8yFPw2rv9i6RQSfc3gRF0=; b=c8i7P2cqwjAT42/03ia4fKRFyKA939UBWrGM75xrS8zAlSxOfak3ceiiVnBwo2LZ5Q i7+jJCJquhPq/S96NIUjyhlP3/LEest9B9KqB4VXgygfHCoaac6eatftEr8F0p4uKi/F jwyxJCPWelmZ3n+O6y6+xxoXmqzrkXPNZ8WzTssFZwPZCXzYbTz1uYGRsTnY+lq2wt1X 4f94r3bE7fVyuJ+lFz5C2Mbpa95IUbpQonPg6baND4UJ/J148d+LN9FAaJSPo94R49id 2gHdrFxONymrKPbzCnlss0AwOF2pNKxfv3qRar4nY7RDFvwpIj1sKfrDjsa5lGTUCE+4 njyQ== X-Received: by 10.180.94.164 with SMTP id dd4mr45206922wib.20.1388424353517; Mon, 30 Dec 2013 09:25:53 -0800 (PST) Original-Received: by 10.216.204.201 with HTTP; Mon, 30 Dec 2013 09:25:53 -0800 (PST) Original-Received: by 10.216.204.201 with HTTP; Mon, 30 Dec 2013 09:25:53 -0800 (PST) In-Reply-To: <52C18F6F.0@gmx.es> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c00::234; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07L7RpRDS - 0db086a8e4b4 - 20131230 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:85732 Archived-At: --===============2112983055== Content-Type: multipart/alternative; boundary=f46d04462eb8639c4204eec3bcbc --f46d04462eb8639c4204eec3bcbc Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Thanks a lot for the explanation! My best wishes for 2014 also (to any reader, by the way), F. Le 30 d=E9c. 2013 16:21, "Pablo Rodriguez" a =E9crit : > 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 th= e > > 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=3Dlatn] > \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=92t 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 > > _________________________________________________________________________= __________ > --f46d04462eb8639c4204eec3bcbc Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable

Thanks a lot for the explanation!
My best wishes for 2014 also (to any reader, by the way),
F.

Le 30 d=E9c. 2013 16:21, "Pablo Rodriguez&q= uot; <oinos@gmx.es> a =E9crit :
On 12/30/2013 11:09 AM, Flavien Lambert wrote:
> Dear all, I would like to use the comfortaa font available at
> htt= p://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 t= he
> 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=3Dlatn]
\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=92t 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 t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________
--f46d04462eb8639c4204eec3bcbc-- --===============2112983055== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============2112983055==--