From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/91446 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: simplefonts vs typescripts Date: Wed, 13 May 2015 18:47:15 +0200 Message-ID: <2F54858F-CD36-4C06-B145-F855655AB3C3@gmail.com> References: <20150513.120945.29119.0@webmail06.dca.untd.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: multipart/mixed; boundary="===============1219881275==" X-Trace: ger.gmane.org 1431535689 12049 80.91.229.3 (13 May 2015 16:48:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 May 2015 16:48:09 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 13 18:47:52 2015 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 1YsZp2-0002Zd-JP for gctc-ntg-context-518@m.gmane.org; Wed, 13 May 2015 18:47:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D45F810222 for ; Wed, 13 May 2015 18:47:51 +0200 (CEST) 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 8NVnjGGjAmhn for ; Wed, 13 May 2015 18:47:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id B87DF1022B for ; Wed, 13 May 2015 18:47:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DA313101E8 for ; Wed, 13 May 2015 18:47:20 +0200 (CEST) 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 mKabNaxtxSnf for ; Wed, 13 May 2015 18:47:19 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 260DF101E6 for ; Wed, 13 May 2015 18:47:19 +0200 (CEST) Original-Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com [IPv6:2a00:1450:400c:c05::22c]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t4DGlHh3006433 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 13 May 2015 18:47:18 +0200 Original-Received: by wicnf17 with SMTP id nf17so63472218wic.1 for ; Wed, 13 May 2015 09:47:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=PXRnrJhmCYVemP/FC1r010iera3CpjcySjmEiPD1iv4=; b=0fNaKBpyWGuk5EEiXD5fiAjM90G1ZPDGFWB0XmhP/E4fVUsuEgdjvoZVsH0r6jOaZk JVtuxcqxsyaVuqXk1EmF5+1XP4U2X/1bbzJyEjHGL06W1imiFgw8DCrSuPodyj4fJVSp VJFziLI5X30eMjNM+QJSpIez8g4v4jumndwUI4l/IwGbzhvoVT74m8dgh1CvQ2sKfs+w JKqudKtwoUmUvPofEmouGb/DYWWh0+gpxicce7I37Lswbh2mlu2DUOXj9MshxnkrPUFN 19QKXgzEFzLB7dIzXv5wshaqNWzAdWr83MUnY6/dUyLcR0qRvrUa61TLpyx5eUP6DOH+ lcNQ== X-Received: by 10.180.82.97 with SMTP id h1mr16117902wiy.26.1431535637757; Wed, 13 May 2015 09:47:17 -0700 (PDT) Original-Received: from keima.localdomain (x2f22df7.dyn.telefonica.de. [2.242.45.247]) by mx.google.com with ESMTPSA id ex5sm8939767wib.2.2015.05.13.09.47.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 May 2015 09:47:17 -0700 (PDT) In-Reply-To: <20150513.120945.29119.0@webmail06.dca.untd.com> X-Mailer: Apple Mail (2.2098) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::22c; country=BE; region=Brussels Capital; city=Brussels; latitude=50.8466; longitude=4.3528; http://maps.google.com/maps?q=50.8466,4.3528&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03OrsLiHg - 6ec2f1838f6d - 20150513 Received-SPF: pass (filter3-ams.mf.surf.net: domain of schuster.wolfgang@gmail.com designates 2a00:1450:400c:c05::22c as permitted sender) receiver=filter3-ams.mf.surf.net; client-ip=2a00:1450:400c:c05::22c; envelope-from=; helo=mail-wi0-x22c.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:91446 Archived-At: --===============1219881275== Content-Type: multipart/alternative; boundary="Apple-Mail=_DA2A018D-CDF8-4BA0-AF00-C10B50D7D81C" --Apple-Mail=_DA2A018D-CDF8-4BA0-AF00-C10B50D7D81C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > Am 13.05.2015 um 18:09 schrieb david.boerschlein@juno.com: >=20 > I am still not able to set up the Noto fonts due mostly to = sketchy/lack-of documentation on setting up ConTeXt fonts. >=20 > I understand I need to set up typescripts but do not understand the = syntax and/or semantics of the different commands and how to map the = font names/paths (otf and ttf files) to reference them in the = typescripts. I would like to create a utility that will create the = typescript file for MKIV from the otf/ttf files themselves. You don=E2=80=99t have to write a typescript to use the fonts when you = use the \definefontfamily command. When you use Windows or Mac OS on your Computer you can put the files in = the normal font folder and update the font database with =E2=80=9Cmtxrun =E2=80=94script font = =E2=80=94reload=E2=80=9D. After wards the following font setuos in your document is enough to use Noto Serif and Sans. When you = use Linux you can either put the font files in your local TeX directory or set the = OSFONTDIR variable before you update the font database. \definefontfamily [noto] [rm] [Noto Serif] \definefontfamily [noto] [ss] [Noto Sans] \definefontfamily [noto] [mm] [TeX Gyre Pagella Math] \setupbodyfont[noto] \starttext \rm Noto Serif {\it Italic} and {\bf Bold} \ss Noto Sans {\it Italic} and {\bf Bold} \stoptext Wolfgang= --Apple-Mail=_DA2A018D-CDF8-4BA0-AF00-C10B50D7D81C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Am 13.05.2015 um 18:09 schrieb david.boerschlein@juno.com:

I am still not able to set up the Noto fonts due = mostly to sketchy/lack-of documentation on setting up ConTeXt = fonts.

I understand I need to set = up typescripts but do not understand the syntax and/or semantics of the = different commands and how to map the font names/paths (otf and ttf = files) to reference them in the typescripts.   I would like to = create a utility that will create the typescript file for MKIV from the = otf/ttf files themselves.

You don=E2=80=99t have to write a = typescript to use the fonts when you use the \definefontfamily = command.

When = you use Windows or Mac OS on your Computer you can put the files in the = normal font folder
and update the font database = with =E2=80=9Cmtxrun =E2=80=94script font =E2=80=94reload=E2=80=9D. = After wards the following font
setuos in your = document is enough to use Noto Serif and Sans. When you use Linux you = can
either put the font files in your local TeX = directory or set the OSFONTDIR variable before
you = update the font database.


\definefontfamily [noto] [rm] = [Noto Serif]
\definefontfamily [noto] [ss] [Noto = Sans]
\definefontfamily [noto] [mm] [TeX Gyre = Pagella Math]

\setupbodyfont[noto]

\starttext

\rm Noto Serif {\it Italic} and {\bf = Bold}

\ss Noto = Sans {\it Italic} and {\bf Bold}

\stoptext


Wolfgang
= --Apple-Mail=_DA2A018D-CDF8-4BA0-AF00-C10B50D7D81C-- --===============1219881275== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1219881275==--