From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/107025 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: kaddour kardio Newsgroups: gmane.comp.tex.context Subject: Re: Basic font question (Optima, but no bold, no italics) Date: Fri, 24 Apr 2020 04:19:07 +0100 Message-ID: References: <0C6F92B9-9DF2-4ABC-B932-890B92BEA819@rna.nl> <20200423141627.GJ807@smoon.bkoty.ru> <837311CF-90EA-4BA3-B61C-70A1ACD8A7CB@rna.nl> <546D6E83-5824-4FA9-B298-4CBA8A60C629@fiee.net> <052FE3A5-DFF5-4CA1-A4B2-621714B150B4@rna.nl> <20200424001044.GK807@smoon.bkoty.ru> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7328803208289513076==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="41150"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users , Vladimir Lomov Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 24 05:15:55 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jRool-000AaS-Ih for gctc-ntg-context-518@m.gmane-mx.org; Fri, 24 Apr 2020 05:15:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8FB5B183659; Fri, 24 Apr 2020 05:15:24 +0200 (CEST) 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 t4fCwisUCryw; Fri, 24 Apr 2020 05:15:23 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 91C321835C2; Fri, 24 Apr 2020 05:15:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7A74C1835C2 for ; Fri, 24 Apr 2020 05:15:22 +0200 (CEST) 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 EyrtLZHS1T6L for ; Fri, 24 Apr 2020 05:15:21 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.210.53; helo=mail-ot1-f53.google.com; envelope-from=kaddourkardio@gmail.com; receiver= Original-Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.53]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 4664A18358A for ; Fri, 24 Apr 2020 05:15:21 +0200 (CEST) Original-Received: by mail-ot1-f53.google.com with SMTP id j4so10040172otr.11 for ; Thu, 23 Apr 2020 20:15:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=2PZ/WzloFU8pr4o1HlPKfto/hPjtI2ttESywCRtHMQs=; b=bC1jyaPweuaVuKDxeCNFjRRyljwuIau85O8iNbXjUIN5hMU+dMLV+guz4CtSTTWMOU V4Mv0YcFB4WM36OkI6Fa/Yo+DI7B8qCdua960ZwxRGNAv4krXoWifcOE6Sg48VZdxXrq HMcAOltshCj82TGQnZXdVq7EKxA3w0gUlTLFD2endTMPsCziiLpbTEefDoTg9hhA31Dg PMpaKbC7aey/b1/HJW4zwgOIAG09qEgDDkv0FdhdHvHB5KxnDJxUtIR+yvYvtt+ewtGz bHtZ9OKDIimXQnouPIMViOxd7gQJrGFnRiMGIU0M06Sa4X2CEqN2AkFhy7XE7oH1zmT1 SvWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=2PZ/WzloFU8pr4o1HlPKfto/hPjtI2ttESywCRtHMQs=; b=EtqcdiRjWLnG57rnZjTWlcP+Wb8Qp9mH/gWT5IurRsasm6lOVAZj42maBan6Dg6T/k TaWUzL6Ft3pQhOnsfvRVSV3Jpg1yaPop191fveIsDDhr6wl0qUtGsVmoxwOa0PPVVzvB LnBQrnkvpHWO8f6peajFWFd2ugcKOrGu6M4FVMT5D3YsR46y/9YkBAFV75HIVCOnqLfO wn4rAxJAfWqutGHbYaOff/oy6+qJgNjxNl2UciaR+IMLCWm5+kJPrtBq8+VcGlZ61yeL +pwy9f4O3Pu6IoWQhzC9/thMpj08wTYrNaQDdYq/ovOImT43Lo9mIqt50qDrDge2wKYQ SgFA== X-Gm-Message-State: AGi0Pub5/WMM0dWlPwNx/iMVZKEjpoQZS1hHncNvgSSZlb7BFs1N6lJs F+QXmYZVUxQsF6oIIKygeZeKSKCbH7eM+QXCBLKnJ79qXbI= X-Google-Smtp-Source: APiQypJEZm/F0P4Clk8i761z4oHZV7SiJSHMx0dWG16wpgGq7+JOteLFD20FI7J3TLiHRuOsjIYtmVji/nxfbkrMPyM= X-Received: by 2002:a05:6830:1bd4:: with SMTP id v20mr5692714ota.353.1587698119372; Thu, 23 Apr 2020 20:15:19 -0700 (PDT) In-Reply-To: <20200424001044.GK807@smoon.bkoty.ru> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:107025 Archived-At: --===============7328803208289513076== Content-Type: multipart/alternative; boundary="0000000000006a74b005a400c658" --0000000000006a74b005a400c658 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It's noticed that Optima is a Sans Serif font. Maybe it conflicts with MacOS way to handle fonts. Le ven. 24 avr. 2020 =C3=A0 01:10, Vladimir Lomov a = =C3=A9crit : > Hello, > ** Gerben Wierda [2020-04-23 23:57:26 +0200]: > > >> On 23 Apr 2020, at 19:18, Henning Hraban Ramm wrote: > >> > >>> > >>> Am 23.04.2020 um 16:42 schrieb Gerben Wierda : > >>> > >>>> > >>>> On 23 Apr 2020, at 16:34, Henning Hraban Ramm wrote= : > >>>> > > [...] > > >>>> What do you get from > >>>> mtxrun --script=3Dfonts --list --all --pattern=3DOptima > >>> > >>> hermione:Export and Metapost gerben$ mtxrun --script fonts --list > --all --pattern=3Doptima > >>> identifier familyname fontname filename > subfont instances > >>> > >>> optimablack optima optimaextrablack > /System/Library/Fonts/Optima.ttc 5 > >>> optimabold optima optimabold > /System/Library/Fonts/Optima.ttc 2 > >>> optimabolditalic optima optimabolditalic > /System/Library/Fonts/Optima.ttc 4 > >>> optimaextrablack optima optimaextrablack > /System/Library/Fonts/Optima.ttc 5 > >>> optimaitalic optima optimaitalic > /System/Library/Fonts/Optima.ttc 3 > >>> optimanormal optima optimaregular > /System/Library/Fonts/Optima.ttc 1 > >>> optimaregular optima optimaregular > /System/Library/Fonts/Optima.ttc 1 > >> > >> Hm. Here, ConTeXt only found subfont #5 until I rebuilt the font cache= , > then it looked like yours. > >> > >> And the minimal example (plus \starttext ... \stoptext) worked. > >> > >> (Latest ConTeXt on MacOS Mojave.) > > > No such luck for me. Any help welcome. I did remove the macOS font cach= e > > with sudo atsutil databases -remove and I rebooted. I am running an up = to > > date macOS Mojave. > > I think Henning Hraban Ramm meant not OS font cache (but may be including > it, > I'm not a Mac OS user) but context font cache. Run > > $ mtxrun --script fonts --reload --force > > and try above '--list --all ...' command again and your example: > > > \starttext > > \definefontfamily[mainface][rm][Optima] > > \setupbodyfont[mainface,10pt] > > > {\bf Bold} and {\it Italic} and {\rm Regular} text. > > \stoptext > > Hope this will resolve you issue. > > [...] > > --- > WBR, Vladimir Lomov > > -- > Practically perfect people never permit sentiment to muddle their thinkin= g. > -- Mary Poppins > > _________________________________________________________________________= __________ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > _________________________________________________________________________= __________ > --0000000000006a74b005a400c658 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It's noticed that Optima is a Sans Serif font.
Maybe it conflicts with MacOS way to handle fonts.=C2=A0


Le ven. 24 avr. 2020 =C3=A0 01:10, Vladimir Lomov= <lomov.vl@yandex.ru> a =C3= =A9crit=C2=A0:
Hello,
** Gerben Wierda <gerben.wierda@rna.nl> [2020-04-23 23:57:26 +0= 200]:

>> On 23 Apr 2020, at 19:18, Henning Hraban Ramm <texml@fiee.net&g= t; wrote:
>>
>>>
>>> Am 23.04.2020 um 16:42 schrieb Gerben Wierda <gerben.wier= da@rna.nl>:
>>>
>>>>
>>>> On 23 Apr 2020, at 16:34, Henning Hraban Ramm <texml@fiee.= net> wrote:
>>>>

[...]

>>>> What do you get from
>>>> mtxrun --script=3Dfonts --list --all --pattern=3DOptima >>>
>>> hermione:Export and Metapost gerben$ mtxrun --script fonts --l= ist --all --pattern=3Doptima
>>> identifier=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0familyname=C2=A0 = =C2=A0fontname=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0filename=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0subfont=C2=A0 =C2=A0instances
>>>
>>> optimablack=C2=A0 =C2=A0 =C2=A0 =C2=A0 optima=C2=A0 =C2=A0 =C2= =A0 =C2=A0optimaextrablack=C2=A0 =C2=A0/System/Library/Fonts/Optima.ttc=C2= =A0 =C2=A05
>>> optimabold=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0optima=C2=A0 =C2= =A0 =C2=A0 =C2=A0optimabold=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/System/Librar= y/Fonts/Optima.ttc=C2=A0 =C2=A02
>>> optimabolditalic=C2=A0 =C2=A0optima=C2=A0 =C2=A0 =C2=A0 =C2=A0= optimabolditalic=C2=A0 =C2=A0/System/Library/Fonts/Optima.ttc=C2=A0 =C2=A04=
>>> optimaextrablack=C2=A0 =C2=A0optima=C2=A0 =C2=A0 =C2=A0 =C2=A0= optimaextrablack=C2=A0 =C2=A0/System/Library/Fonts/Optima.ttc=C2=A0 =C2=A05=
>>> optimaitalic=C2=A0 =C2=A0 =C2=A0 =C2=A0optima=C2=A0 =C2=A0 =C2= =A0 =C2=A0optimaitalic=C2=A0 =C2=A0 =C2=A0 =C2=A0/System/Library/Fonts/Opti= ma.ttc=C2=A0 =C2=A03
>>> optimanormal=C2=A0 =C2=A0 =C2=A0 =C2=A0optima=C2=A0 =C2=A0 =C2= =A0 =C2=A0optimaregular=C2=A0 =C2=A0 =C2=A0 /System/Library/Fonts/Optima.tt= c=C2=A0 =C2=A01
>>> optimaregular=C2=A0 =C2=A0 =C2=A0 optima=C2=A0 =C2=A0 =C2=A0 = =C2=A0optimaregular=C2=A0 =C2=A0 =C2=A0 /System/Library/Fonts/Optima.ttc=C2= =A0 =C2=A01
>>
>> Hm. Here, ConTeXt only found subfont #5 until I rebuilt the font c= ache, then it looked like yours.
>>
>> And the minimal example (plus \starttext ... \stoptext) worked. >>
>> (Latest ConTeXt on MacOS Mojave.)

> No such luck for me. Any help welcome. I did remove the macOS font cac= he
> with sudo atsutil databases -remove and I rebooted. I am running an up= to
> date macOS Mojave.

I think Henning Hraban Ramm meant not OS font cache (but may be including i= t,
I'm not a Mac OS user) but context font cache. Run

$ mtxrun --script fonts --reload --force

and try above '--list --all ...' command again and your example:
> \starttext
> \definefontfamily[mainface][rm][Optima]
> \setupbodyfont[mainface,10pt]

> {\bf Bold} and {\it Italic} and {\rm Regular} text.
> \stoptext

Hope this will resolve you issue.

[...]

---
WBR, Vladimir Lomov

--
Practically perfect people never permit sentiment to muddle their thinking.=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 -- Mary Poppins
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / http://= www.ntg.nl/mailman/listinfo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://= context.aanhet.net
archive=C2=A0 : https://bitbucket.org/ph= g/context-mirror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--0000000000006a74b005a400c658-- --===============7328803208289513076== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============7328803208289513076==--