From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93952 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: issue with font loading Date: Wed, 02 Mar 2016 15:59:53 +0100 Message-ID: <56D6FFE9.5030207@gmail.com> References: <56D6CA7D.2090807@gmx.es> <56D6F084.4040700@gmail.com> <56D6FC1B.3050704@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0808329884440466366==" X-Trace: ger.gmane.org 1456930859 6891 80.91.229.3 (2 Mar 2016 15:00:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Mar 2016 15:00:59 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 02 16:00:46 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ab8Gc-0008AW-K8 for gctc-ntg-context-518@m.gmane.org; Wed, 02 Mar 2016 16:00:46 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 57A6278D7; Wed, 2 Mar 2016 16:00:08 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zvFkxKrjH-MR; Wed, 2 Mar 2016 16:00:07 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id BF77478D8; Wed, 2 Mar 2016 16:00:06 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B099B78D8 for ; Wed, 2 Mar 2016 16:00:05 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J06T_fpa1jfB for ; Wed, 2 Mar 2016 16:00:04 +0100 (CET) Original-Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 6257578D7 for ; Wed, 2 Mar 2016 15:59:54 +0100 (CET) Original-Received: by mail-wm0-f44.google.com with SMTP id l68so89514767wml.0 for ; Wed, 02 Mar 2016 06:59:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=3XnLuXqX80plCnL/N+uMTh9Tn/F+ifbZIckOX+WfAJk=; b=A+HIM3VgFUskLZ0eA8ZIloAk8gLxQrCCoAjE2t5kQ9kXx97+0Z/bGjIYANP1S1iKar 9yShQhjftwjNvxQNA/Myg5AxXaWpCl7B0k8cjnC5GuFYRGyuUbgBvEsFy5uXfQaTRQaN fa8K1Sd2vq06w9ULE3YFsDMbOe60erHeHMfIYhFZBekuN67rGIpvh3ESWYyTldzrj63Q tpTB+m/3K5Rocbzd+YMBOxrARQBKOALufeDlJgYd7LCN37VXwrjKR68H3mDmbIYtlcO2 EUAivJOqFmFq8EKzWx4P7TK+r+Jld3WL51L1ceMnZVoMhEuzMg7JFmML/V6SCBwHYnAB kszQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=3XnLuXqX80plCnL/N+uMTh9Tn/F+ifbZIckOX+WfAJk=; b=I5Ctx24biPVOnunl8evWcf//xzkQOoX6TMsX0NfrUAQ5kDSGOdVAN3VDh1W5TmqkXJ Ie5Y60xXTpsxp2EB9UDyl7YQ14d1iao8zVUegfX07Ue8aDjGgCMjHeUwcGORgDEevzqG tc6zDsMwyMRTwSkW0XJmn3loA8Pbay7KH/2QlcAkXXhljdACzU13riscgamZEXgZcqzo Z7lK+dfw4R0jH1d1lNkYwYB3ZgF21BbdTXta0gX/zhw/pgkaLp3tqOXEg3WKOp1P4Br7 zQQHB6e97pu5S2wsnilrbeOggN0/Upj+wp55+y2KctbYYbPFpRfpn7iURRU+FFVhwfzG ZNKA== X-Gm-Message-State: AD7BkJJT9UZEfSae2EMJj7/+M2ft4IgIdVWzZFavkROkQ+YZZG7UGnK9Be2FywUyg+oang== X-Received: by 10.28.174.8 with SMTP id x8mr345412wme.49.1456930793713; Wed, 02 Mar 2016 06:59:53 -0800 (PST) Original-Received: from keima.localdomain (x2f2e004.dyn.telefonica.de. [2.242.224.4]) by smtp.gmail.com with ESMTPSA id p125sm4584387wmd.16.2016.03.02.06.59.52 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 02 Mar 2016 06:59:53 -0800 (PST) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <56D6FC1B.3050704@gmx.es> 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:93952 Archived-At: This is a multi-part message in MIME format. --===============0808329884440466366== Content-Type: multipart/alternative; boundary="------------010200040006010302050405" This is a multi-part message in MIME format. --------------010200040006010302050405 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Pablo Rodriguez > 2. M=C3=A4rz 2016 um 15:43 > > Wolfgang, > > I=E2=80=99m afraid it doesn=E2=80=99t work. > > Just in case it helps, directly generated from > http://github.com/rbrito/urw-garamond/, you have the font itsef at > http://ousia.tk/newg8-regular.otf. > > Many thanks for your help, > > > Pablo > Wolfgang Schuster > 2. M=C3=A4rz 2016 um 14:54 > Does this work? > > \definefontfamily[mainface][ss][GaraMath][tf=3Dfile:newg8-regular] > > Wolfgang > Pablo Rodriguez > 2. M=C3=A4rz 2016 um 12:11 > Dear list, > > I have the following sample: > > \definefontfamily[mainface][rm][Latin Modern Roman] > \definefontfamily[mainface][ss][GaraMath][file=3D{newg8-regular.otf}] > > \setupbodyfont[mainface] > > \starttext > a{\ss a}b{\ss b}c{\ss c}g{\ss g} > \stoptext > > I don=E2=80=99t get a sans typeface different from Latin Modern Roman. > > If the font is on the same directory as the ConTeXt source file, what i= s > wrong in my code? The \definefontfamily can only use font which are indexed by context=20 (mtxrun --script font --reload) which doesn=E2=80=99t seem to be the case= here. Wolfgang --------------010200040006010302050405 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2.= =20 M=C3=A4rz 2016 um 15:43

Wolfgang,
I=E2=80=99m afraid it doesn=E2=80=99t work.

Just in case it helps, directly=20 generated from
http://github.com/rbrito/urw-garamond/, y= ou have the=20 font itsef at
http://ousia.tk/newg8-regular.otf.

Many = thanks=20 for your help,


Pablo
2.= =20 M=C3=A4rz 2016 um 14:54
Does this work?

\definefontfamily[mainface][ss][GaraMath][tf=3Dfile:newg8-re= gular]

Wolfgang
2.= =20 M=C3=A4rz 2016 um 12:11
Dear list,

I hav= e=20 the following sample:

\definefontfamily[mainface][rm][Latin=20 Modern Roman]
=20 \definefontfamily[mainface][ss][GaraMath][file=3D{newg8-regular.otf}]
=
\setupbodyfont[mainface]

\starttext
a{\ss a}b{\ss=20 b}c{\ss c}g{\ss g}
\stoptext

I don=E2=80=99t get a sans typ= eface=20 different from Latin Modern Roman.

If the font is on the same=20 directory as the ConTeXt source file, what is
wrong in my code?
The \definefontfamily can only use font which are indexed by context=20 (mtxrun --script font --reload) which doesn=E2=80=99t seem to be the case= here.

Wolfgang
--------------010200040006010302050405-- --===============0808329884440466366== 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= --===============0808329884440466366==--