From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86057 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: new interface to simplefonts Date: Wed, 22 Jan 2014 22:49:06 +0100 Message-ID: <50064cda-61b5-41ef-ae5f-4383b232afcc@keima.localdomain> References: <52E02880.10304@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1572855074==" X-Trace: ger.gmane.org 1390427362 13410 80.91.229.3 (22 Jan 2014 21:49:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Jan 2014 21:49:22 +0000 (UTC) Cc: Hans Hagen To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 22 22:49:29 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 1W65ft-0008Hn-3w for gctc-ntg-context-518@m.gmane.org; Wed, 22 Jan 2014 22:49:29 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2C7DA101F2; Wed, 22 Jan 2014 22:49:28 +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 9eY6UoS-9p6R; Wed, 22 Jan 2014 22:49:24 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 72B86101E2; Wed, 22 Jan 2014 22:49:24 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EEF0A101E2 for ; Wed, 22 Jan 2014 22:49:21 +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 3z35uu6klApu for ; Wed, 22 Jan 2014 22:49:18 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 77F2B101E1 for ; Wed, 22 Jan 2014 22:49:18 +0100 (CET) Original-Received: from mail-bk0-x236.google.com (mail-bk0-x236.google.com [IPv6:2a00:1450:4008:c01::236]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s0MM1nDw030596 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 22 Jan 2014 23:01:49 +0100 Original-Received: by mail-bk0-f54.google.com with SMTP id u14so81870bkz.13 for ; Wed, 22 Jan 2014 13:49:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:message-id:in-reply-to:references:subject :mime-version:content-type; bh=/BRg1woIqc+zAX6jIVGW0EaesLkvFaWqLJj6BXzAVVA=; b=znl/upLYcEaJFN6cBvpc7lDDQhcFAWcL7GEhT7/ubv31ozB6DIUAm4JAE5QNYNQiab 9wO54bdWl7XmKYeLWnhJjKB5uO3Turfr7LmnnBOpSLNk3W3xFOXLPZVJe9XuL0e5jnVn v2+ITGxS75zcC1r2+imy6TGozmtzf4qXAFoW6Ln2JDfqYBW69ocQHuK1bnmfdqt8DSz+ PD/8xzjImfWLxVit3TI/J0M1qTrviadOXEM2biiVmZg8vrZH+IDdQFACpov8tfaLzjfH cQjSpuzXU3DfUL4RuT83OWByJDgkatoLoGmMZbASihunwWuuGXsKH7ZU0rZ4m40qKNCi lcsA== X-Received: by 10.204.197.203 with SMTP id el11mr1269066bkb.24.1390427349111; Wed, 22 Jan 2014 13:49:09 -0800 (PST) Original-Received: from keima.localdomain (x2f24fd3.dyn.telefonica.de. [2.242.79.211]) by mx.google.com with ESMTPSA id q5sm7274374bkr.5.2014.01.22.13.49.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 Jan 2014 13:49:08 -0800 (PST) In-Reply-To: <52E02880.10304@gmx.es> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4008:c01::236; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01Lha1NOW - f7c2d9996150 - 20140122 (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:86057 Archived-At: --===============1572855074== Content-Type: multipart/alternative; boundary="52e03cd2_46e87ccd_215e" --52e03cd2_46e87ccd_215e Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline This is a context bug which was probably introduced with the recent optim= ization/speedup for the generation of the font database. As a result of t= his the following fields in the database (which are needed for simplefont= s) are no longer available: =20 - designsize =20 - maxsize - minsize - pfmweight - pfmwidth Also some fonts like =E2=80=9CLatin Modern Roman=E2=80=9D can=E2=80=99t b= e loaded anymore because the font is no saved as =20 =7B =20 =5B=22cleanfilename=22=5D=3D=22lmroman10regular=22, =5B=22familyname=22=5D=3D=22lmroman10=22, =5B=22filename=22=5D=3D=22lmroman10-regular.otf=22, =5B=22fontname=22=5D=3D=22lmroman10regular=22, =5B=22fontweight=22=5D=3D=22book=22, =5B=22format=22=5D=3D=22otf=22, =5B=22fullname=22=5D=3D=22lmroman10regular=22, =5B=22modification=22=5D=3D1254935040, =5B=22rawname=22=5D=3D=22LMRoman10-Regular=22, =5B=22style=22=5D=3D=22normal=22, =5B=22variant=22=5D=3D=22normal=22, =5B=22weight=22=5D=3D=22normal=22, =5B=22width=22=5D=3D=22normal=22, =7D, but in an older version of the database the entry for the font looked lik= e this: =20 =7B =20 =5B=22cleanfilename=22=5D=3D=22lmroman10regular=22, =5B=22designsize=22=5D=3D100, =5B=22familyname=22=5D=3D=22latinmodernroman=22, =5B=22filename=22=5D=3D=22lmroman10-regular.otf=22, =5B=22fontname=22=5D=3D=22lmroman10regular=22, =5B=22format=22=5D=3D=22otf=22, =5B=22fullname=22=5D=3D=22lmroman10regular=22, =5B=22maxsize=22=5D=3D110, =5B=22minsize=22=5D=3D95, =5B=22modification=22=5D=3D1254935040, =5B=22modifiers=22=5D=3D=2210regular=22, =5B=22pfmweight=22=5D=3D400, =5B=22pfmwidth=22=5D=3D5, =5B=22rawname=22=5D=3D=22LMRoman10-Regular=22, =5B=22style=22=5D=3D=22normal=22, =5B=22subfamily=22=5D=3D=22regular=22, =5B=22variant=22=5D=3D=22normal=22, =5B=22weight=22=5D=3D=22normal=22, =5B=22width=22=5D=3D=22normal=22, =7D, When you=E2=80=99re in a hurry and can=E2=80=99t wait for this to be fixe= d you can switch to an alternative search method of the fontfamily comman= ds but the results can be differ from the default method. =20 =5Cdefinefallbackfamily =5Bmainface=5D =5Bserif=5D =5BDejaVu Serif=5D = =5Balternative=3Dsimplefonts,preset=3Drange:greek=5D =20 =5Cdefinefontfamily =5Bmainface=5D =5Bserif=5D =5BTeX Gyre Pagella=5D= =5Balternative=3Dsimplefonts=5D =5Csetupbodyfont=5Bmainface=5D =20 =5Cstarttext =20 =5Cinput knuth =20 =CF=87=CE=B1=CE=BB=CE=B5=CF=80=E1=BD=B0 =CF=84=E1=BD=B0 =CE=BA=CE=B1=CE=BB= =CE=AC =20 =5Cstoptext =20 Wolfgang =20 On 22.01.2014 21:22:24, Pablo Rodriguez wrote: Dear list= , using the latest beta from today (ConTeXt - 2014.01.22 01:31) in Linux 32-bit, I cannot get the new simplefonts working. Here is the sample: =5Cdefinefallbackfamily =5Bmainface=5D =5Bserif=5D =5BDejaVu Serif=5D =5Brange=3D=7Bgreek,extendedgreek=7D,force=3Dyes=5D =5Cdefinefontfamily =5Bmainface=5D =5Bserif=5D =5BTeX Gyre Pagella=5D =5Csetupbodyfont=5Bmainface=5D =5Cstarttext =5Cinput knuth =CF=87=CE=B1=CE=BB=CE=B5=CF=80=E1=BD=B0 =CF=84=E1=BD=B0 =CE=BA=CE=B1=CE=BB= =CE=AC =5Cstoptext But I only get the font LatinModernMath-Regular. Am I missing something or is this a bug=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 --52e03cd2_46e87ccd_215e Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline This is a context bug which was probably introduced with the recent optim= ization/speedup for the generation of the font database. As a result of t= his the following fields in the database (which are needed for simplefont= s) are no longer available:

- designsize
- maxsize
- minsize
- pfmweight
- pfmwidt= h


Also some fonts like =E2=80=9CLatin Modern Roman=E2=80=9D can= =E2=80=99t be loaded anymore because the font is no saved as

  =7B
   =5B=22cleanfilename=22=5D=3D=22lmroman10regular=22,
   =5B=22familyname=22=5D=3D=22lm= roman10=22,
   =5B=22filen= ame=22=5D=3D=22lmroman10-regular.otf=22,
   =5B=22fontname=22=5D=3D=22lmroman10regular=22,
   =5B=22fontweight=22=5D=3D=22boo= k=22,
   =5B=22format=22=5D= =3D=22otf=22,
   =5B=22ful= lname=22=5D=3D=22lmroman10regular=22,
   =5B=22modification=22=5D=3D1254935040,
   =5B=22rawname=22=5D=3D=22LMRoman10-Regular=22= ,
   =5B=22style=22=5D=3D=22= normal=22,
   =5B=22varian= t=22=5D=3D=22normal=22,
   = ;=5B=22weight=22=5D=3D=22normal=22,
=    =5B=22width=22=5D=3D=22normal=22,
  =7D,

but in an older version o= f the database the entry for the font looked like this:

  =7B
   =5B=22cleanfilename=22=5D=3D= =22lmroman10regular=22,
   =5B=22designsize=22=5D=3D1= 00,
   =5B=22familyname=22=5D=3D=22latinmodernroman=22= ,
   =5B=22filename=22=5D=3D=22lmroman10-regular.otf=22= ,
   =5B=22fontname=22=5D=3D=22lmroman10regular=22,
   =5B=22format=22=5D=3D=22otf=22,
  &n= bsp;=5B=22fullname=22=5D=3D=22lmroman10regular=22,
   = ;=5B=22maxsize=22=5D=3D110,
   =5B=22minsize=22=5D=3D= 95,
   =5B=22modification=22=5D=3D1254935040,
   =5B=22modifiers=22=5D=3D=2210regular=22,
 =  =5B=22pfmweight=22=5D=3D400,
   =5B=22pfmwidth= =22=5D=3D5,
   =5B=22rawname=22=5D=3D=22LMRoman10-Reg= ular=22,
   =5B=22style=22=5D=3D=22normal=22,
   =5B=22subfamily=22=5D=3D=22regular=22,
  &= nbsp;=5B=22variant=22=5D=3D=22normal=22,
   =5B=22wei= ght=22=5D=3D=22normal=22,
   =5B=22width=22=5D=3D=22n= ormal=22,
  =7D,


=
When you=E2=80=99re in a hurry and can=E2=80=99t wait for this to be= fixed you can switch to an alternative search method of the fontfamily c= ommands but the results can be differ from the default method.
=
=5Cdefinefallbackfamily =5Bmainface=5D =5Bserif=5D =5B= DejaVu Serif=5D     =5Balternative=3Dsimplefonts,preset=3Drange= :greek=5D
=5Cdefinefontfamily     =5Bmainface=5D =5Bs= erif=5D =5BTeX Gyre Pagella=5D =5Balternative=3Dsimplefonts=5D
=
=5Csetupbodyfont=5Bmainface=5D

=5C= starttext

=5Cinput knuth

=CF=87=CE=B1=CE=BB=CE=B5=CF=80=E1=BD=B0 =CF=84=E1=BD=B0 =CE=BA=CE=B1=CE= =BB=CE=AC

=5Cstoptext

=
Wolfgang

On 22.01.2014 21:22:24, Pablo Rodriguez= <oinos=40gmx.es> wrote:
Dear list,

using the latest beta= from today (ConTeXt - 2014.01.22 01:31) in Linux
32-bit, I cannot get= the new simplefonts working.

Here is the sample:

=5Cdefine= fallbackfamily =5Bmainface=5D =5Bserif=5D =5BDejaVu Serif=5D
=5Brange=3D= =7Bgreek,extendedgreek=7D,force=3Dyes=5D
=5Cdefinefontfamily =5Bma= inface=5D =5Bserif=5D =5BTeX Gyre Pagella=5D
=5Csetupbodyfont=5Bmainfa= ce=5D
=5Cstarttext
=5Cinput knuth

=CF=87=CE=B1=CE=BB=CE=B5=CF= =80=E1=BD=B0 =CF=84=E1=BD=B0 =CE=BA=CE=B1=CE=BB=CE=AC
=5Cstoptext
<= br>But I only get the font LatinModernMath-Regular.

Am I missing s= omething or is this a bug=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 th= e Wiki=21

maillist : ntg-context=40ntg.nl / http://www.ntg.nl/mail= man/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://= tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextre= v/
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
--52e03cd2_46e87ccd_215e-- --===============1572855074== 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 ___________________________________________________________________________________ --===============1572855074==--