From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/104892 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Mohammad Hossein Bateni Newsgroups: gmane.comp.tex.context Subject: Re: ttf font not seen ? Date: Mon, 26 Aug 2019 15:27:58 -0400 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9073194224677918086==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="243898"; mail-complaints-to="usenet@blaine.gmane.org" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 26 21:28:35 2019 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 blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i2KfL-0011K9-Oq for gctc-ntg-context-518@m.gmane.org; Mon, 26 Aug 2019 21:28:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 120A9153829; Mon, 26 Aug 2019 21:28:14 +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 Tau-98Ab-u-t; Mon, 26 Aug 2019 21:28:13 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 310DD1539BB; Mon, 26 Aug 2019 21:28:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 99F941539B7 for ; Mon, 26 Aug 2019 21:28:11 +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 1cJW-pBU6P5W for ; Mon, 26 Aug 2019 21:28:10 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.53; helo=mail-wm1-f53.google.com; envelope-from=bateni@gmail.com; receiver= Original-Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.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 C7837153829 for ; Mon, 26 Aug 2019 21:28:10 +0200 (CEST) Original-Received: by mail-wm1-f53.google.com with SMTP id g67so616891wme.1 for ; Mon, 26 Aug 2019 12:28:10 -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=FY8M2ADxa24xtDblIZY4qkPjUM+olH6G4EPTr1pTpi8=; b=dMiwqghib6emNFRlfJLIrsz6vKAa9lto9rqkNlpuOMkodt3h+lNgUv7bnGrDOmGBti TnBdJ6+Gn5bZpkF50GO15GCWxVkvHd/V5AQDD0vS96DmsGEUV6J2cIIVLlDSIVS32rtm BC+5D/pib+F+ZsH5QptFINio2ZwIbYP2KEQ6ympGyVg1Agm/vkowp6gg4nD8k5MFUjsB 4tJy6H+Fv9mRmG1LzvFnkjVdEBABjP5Zt/llZq9jcn6qtYEB35AeToIpuey7YwSsMa6j MgkY8ks9CXg+GuOhTNmhWyfwMvYt6RLkYj54HCb9PsY432l3Smd60uznnESNICxibvlw ASDw== 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=FY8M2ADxa24xtDblIZY4qkPjUM+olH6G4EPTr1pTpi8=; b=eBiKrXeHNyWx3nQWi+k4vNymFeKQWyk3OB+XS9iu1nDv8CIHQgIUCbnB3jWwcrgINZ 1ocP44gQXMm1KDzKcEH/cyfrzx9LnYQ7bWCE6+Fxk28k/DWqU1PqpzulwrbvEQZ/eKJf +2PBwT0vhRc4D+9dasSnsAA1mBTtDmLLqZoNB86t3g98a2n2BCt7/7a7r/f4neZkPsTF wLhFUTUsLeOFMn0yRDOYm3kg8rsrmQalyEqaqfWWDEpV7IMYiGHjzku92XgUeSvxX1hx kChQkQGW0wKSJ8/bX2XqDMF4WziVkknDyvpYp1ZbLrRO7iQ38kqL3kWkl65IPFwaZa6D fAKg== X-Gm-Message-State: APjAAAUr2d9WXZdw2PoPp7CTel68BXye4ld7OxFrdtTKhYAldM6Wy9Yg Bd1KQ4jfIFvAVQMgYdxgZuACEjB5B2z6eBL9kJQyqfSacs0= X-Google-Smtp-Source: APXvYqwKoGloWhMIItdvpJTe7x7uUbcF/RLsiEbVTuPoMaHyR2IMm48/2UM/PeRm72Yf4ZhfXtXfGFqORhW2o57Hba0= X-Received: by 2002:a7b:cc13:: with SMTP id f19mr24624252wmh.116.1566847690118; Mon, 26 Aug 2019 12:28:10 -0700 (PDT) In-Reply-To: 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.org gmane.comp.tex.context:104892 Archived-At: --===============9073194224677918086== Content-Type: multipart/alternative; boundary="000000000000fc99b005910a270e" --000000000000fc99b005910a270e Content-Type: text/plain; charset="UTF-8" I have had the same problem. Unlike Mark IV Context, LMTX does not seem to recognize fonts outside its tree. Maybe there's some option to tweak with. The workaround I found was to copy the TTF files under "{context-lmtx-root}/tex/texmf/fonts/truetype/public/" and run "context --generate". If you like to have mtxrun font commands to work properly, you need to invoke "mtxrun --script font --reload" after that. Hope this helps. On Mon, Aug 26, 2019 at 11:09 AM Floris van Manen wrote: > using the latest context version luametatex on ubuntu 19.4 > > system > ConTeXt ver: 2019.08.24 22:50 MKIV beta fmt: > 2019.8.25 int: english/english > system > 'cont-new.mkiv' loaded > > > with the dijkstra.ttf font apparently seen: > > $ mtxrun --script fonts --list --all --name dijkstra > identifier familyname fontname filename > subfont instances > > dijkstra dijkstra dijkstra ~/.local/share/fonts/Unknown > Vendor/TrueType/Dijkstra/Dijkstra_Thin.ttf > dijkstranormal dijkstra dijkstra ~/.local/share/fonts/Unknown > Vendor/TrueType/Dijkstra/Dijkstra_Thin.ttf > dijkstraregular dijkstra dijkstra ~/.local/share/fonts/Unknown > Vendor/TrueType/Dijkstra/Dijkstra_Thin.ttf > > > > context will complain that the font is unknown: > > selectfont > The requested font 'dijkstra' has no files for the > 'tf' alternative, Latin Modern is used instead. > > > I assume i missed a critical step somewhere down the road. > any hints? > > thanks > Floris > > > > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ > --000000000000fc99b005910a270e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have had the same problem.=C2=A0 Unlike Mark IV Context,= LMTX does not seem to recognize fonts outside its tree.=C2=A0 Maybe there&= #39;s some option to tweak with.

The workaround I found = was to copy the TTF files under "{context-lmtx-root}/tex/texmf/fonts/t= ruetype/public/" and run "context --generate".
If you like to have mtxrun font commands to work properly, you = need to invoke "mtxrun --script font --reload" after that.
<= div>
Hope this=C2=A0helps.

On Mon, Aug 26, 2019 at 11:09= AM Floris van Manen <vm@klankschap.= nl> wrote:
ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--000000000000fc99b005910a270e-- --===============9073194224677918086== 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== --===============9073194224677918086==--