From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86094 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: fallback font in new interface to simplefonts Date: Sat, 25 Jan 2014 13:20:08 +0100 Message-ID: References: <52E3A9C4.5040403@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0005636850==" X-Trace: ger.gmane.org 1390652410 6418 80.91.229.3 (25 Jan 2014 12:20:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Jan 2014 12:20:10 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 25 13:20:19 2014 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 1W72Di-0000cv-1N for gctc-ntg-context-518@m.gmane.org; Sat, 25 Jan 2014 13:20:18 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4DA66101EB; Sat, 25 Jan 2014 13:20:17 +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 5QLnc7umCmUx; Sat, 25 Jan 2014 13:20:15 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 37842101E3; Sat, 25 Jan 2014 13:20:15 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 85371101E3 for ; Sat, 25 Jan 2014 13:20:14 +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 vfWPDtAfqleA for ; Sat, 25 Jan 2014 13:20:12 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id C5642101E1 for ; Sat, 25 Jan 2014 13:20:12 +0100 (CET) Original-Received: from mail-ee0-x231.google.com (mail-ee0-x231.google.com [IPv6:2a00:1450:4013:c00::231]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s0PCKBev015529 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sat, 25 Jan 2014 13:20:11 +0100 Original-Received: by mail-ee0-f49.google.com with SMTP id d17so1412009eek.36 for ; Sat, 25 Jan 2014 04:20:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :content-type; bh=WDCmESKCGzIPk1E1warjNDILNwuLuQia+Za7gW7tOYg=; b=be+6WKTK/31B+jDzteDkMEWmV6P2PDJkS+nAPDvLcgaF9M8Zi1LZo+AairbdeEybEU a5B8zEjwIRFLL4KzbDpNw3I+tVfhJLSsdaE2wt7RR8J/HyFFVxr6akOD5zDIbhGU3njE ALBo/PNm/qB18TxP0bVob2AqS9ZstMLpGJJYrVRS5UzdDZDUPEFN+yBkYFiNK9zCn9s4 XFNTejL65KLZdColTIA1XMwAZeRBrxhWw5LtLvw/ksnfsYnNswNMhNzjP3xyBGp1KBMc sGslhMyPppq85xWXq4aWAXDqKeI50xOvdVjQUbzNIRGzma+2i5K7L26fzMMYeGnAgyVx rL2Q== X-Received: by 10.15.93.203 with SMTP id w51mr17252003eez.33.1390652411538; Sat, 25 Jan 2014 04:20:11 -0800 (PST) Original-Received: from keima.localdomain (x2f21e47.dyn.telefonica.de. [2.242.30.71]) by mx.google.com with ESMTPSA id v7sm15415290eel.2.2014.01.25.04.20.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 25 Jan 2014 04:20:11 -0800 (PST) In-Reply-To: <52E3A9C4.5040403@gmx.es> X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c00::231; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TLickbdi - dda310e62bbe - 20140125 (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:86094 Archived-At: --===============0005636850== Content-Type: multipart/alternative; boundary="52e3abf8_507ed7ab_215e" --52e3abf8_507ed7ab_215e Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Pablo, =20 you have to use the name of the font family (the name which is displayed = in word processors when you choose a font). When you want to use the bold= font for the upright style you can add =E2=80=9Ctf=3Dstyle:bold=E2=80=9D= to the fourth argument of =5Cdefinefallbackfamily. =20 =5Cdefinefallbackfamily=5Bmainface=5D=5Bserif=5D=5B=46reeMono=5D=5Btf=3D= style:bold,range=3D=7Bhebrew,alphabeticpresentationforms=7D=5D =20 BTW: You can omit =E2=80=9Cforce=3Dyes=E2=80=9D because it=E2=80=99s part= of the default setup. =20 Wolfgang =20 On 25.01.2014 13:10:44, Pablo Rodriguez wrote: Dear list= , the following code doesn=E2=80=99t find the fallback font for Hebrew: =5Cdefinefallbackfamily=5Bmainface=5D=5Bserif=5D=5B=46reeMono-Bold=5D=5Br= ange=3D=7Bhebrew, alphabeticpresentationforms=7D, force=3Dyes=5D =5Cdefinefontfamily=5Bmainface=5D=5Bserif=5D=5BTeX Gyre Pagella=5D =5Csetupbodyfont=5Bmainface=5D =5Cstarttext =D7=A5=D7=83=E2=80=8B. =5Cstoptext But the same font works with the old interface: =5Cusemodule=5Bsimplefonts=5D =5Csetmainfontfallback=5B=46reeMono-Bold=5D=5Brange=3D=7Bhebrew, alphabeticpresentationforms=7D, force=3Dyes=5D =5Csetmainfont=5BTeX Gyre Pagella=5D =5Cstarttext =D7=A5=D7=83=E2=80=8B. =5Cstoptext Am I doing something wrong here=3F Many thanks for your help, Pablo -- http://www.ousia.tk =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F If your question is of interest to others as well, please add an entry to= the Wiki=21 maillist : ntg-context=40ntg.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 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F --52e3abf8_507ed7ab_215e Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Pablo,

you have to use the name of the font family = (the name which is displayed in word processors when you choose a font). = When you want to use the bold font for the upright style you can add =E2=80= =9Ctf=3Dstyle:bold=E2=80=9D to the fourth argument of =5Cdefinefallbackfa= mily.

  =5Cdefinefallbackfamily=5Bmainface=5D= =5Bserif=5D=5B=46reeMono=5D=5Btf=3Dstyle:bold,range=3D=7Bhebrew,alphabeti= cpresentationforms=7D=5D

BTW: You can omit =E2=80= =9Cforce=3Dyes=E2=80=9D because it=E2=80=99s part of the default setup.

Wolfgang

On 25= .01.2014 13:10:44, Pablo Rodriguez <oinos=40gmx.es> wrote:
Dear = list,

the following code doesn=E2=80=99t find the fallback font fo= r Hebrew:

=5Cdefinefallbackfamily=5Bmainface=5D=5Bserif=5D=5B=46re= eMono-Bold=5D=5Brange=3D=7Bhebrew,
alphabeticpresentationforms=7D, for= ce=3Dyes=5D
=5Cdefinefontfamily=5Bmainface=5D=5Bserif=5D=5BTeX Gyre Pa= gella=5D
=5Csetupbodyfont=5Bmainface=5D
=5Cstarttext
=D7=A5=D7=83= =E2=80=8B.
=5Cstoptext

But the same font works with the old int= erface:

=5Cusemodule=5Bsimplefonts=5D
=5Csetmainfontfallback=5B= =46reeMono-Bold=5D=5Brange=3D=7Bhebrew,
alphabeticpresentationforms=7D= , force=3Dyes=5D
=5Csetmainfont=5BTeX Gyre Pagella=5D
=5Cstarttext<= br>=D7=A5=D7=83=E2=80=8B.
=5Cstoptext

Am I doing something wron= g here=3F

Many thanks for your help,


Pablo
--
ht= tp://www.ousia.tk
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
If your question is of i= nterest to others as well, please add an entry to the Wiki=21

mail= list : ntg-context=40ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
arc= hive : http://foundry.supelec.fr/projects/contextrev/
wiki : http= ://contextgarden.net
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
--52e3abf8_507ed7ab_215e-- --===============0005636850== 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 ___________________________________________________________________________________ --===============0005636850==--