From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/117241 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?b?TGkgWWFucnVpICjmnY7lu7bnkZ4pIHZpYSBudGctY29udGV4dA==?= Newsgroups: gmane.comp.tex.context Subject: Re: Bug in searching TTC fonts for the script of mtxrun Date: Wed, 22 Mar 2023 16:58:46 +0800 Message-ID: References: <258055b2-17ce-66c0-5b6a-6cc755329b65@freedom.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8728546922956909605==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32834"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?UTF-8?B?TGkgWWFucnVpICjmnY7lu7bnkZ4p?= To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 22 09:59:30 2023 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 1peuJe-0008Ko-GC for gctc-ntg-context-518@m.gmane-mx.org; Wed, 22 Mar 2023 09:59:30 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8F011659F; Wed, 22 Mar 2023 09:59: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 IUPTJgoA6-Y6; Wed, 22 Mar 2023 09:59:03 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D175C1C0071; Wed, 22 Mar 2023 09:59:03 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C5D091C0071 for ; Wed, 22 Mar 2023 09:59:01 +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 HgtTkaZZZio4 for ; Wed, 22 Mar 2023 09:59:01 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.219.175; helo=mail-yb1-f175.google.com; envelope-from=liyanrui.m2@gmail.com; receiver= Original-Received: from mail-yb1-f175.google.com (mail-yb1-f175.google.com [209.85.219.175]) (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 A39C0659F for ; Wed, 22 Mar 2023 09:59:00 +0100 (CET) Original-Received: by mail-yb1-f175.google.com with SMTP id i6so20140385ybu.8 for ; Wed, 22 Mar 2023 01:59:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679475539; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=oOsVoCbjairSTPCacDSIu1irQvMi5CNmuEb7/8xcMrw=; b=hu5Bs5pwda69ZvCnvOQbR/q5AGKgN/44gtk0/DP+3Jf/UfSsgnGlgQJXeu455i+eX6 KL3GEyG9D9a0japMndMi9OkL3kbWKuV6m/RqSHCct1vIrKvZdPBDWtQFkCvaQXyaLI0m URwYB7jNaNj54b6sLLOdtTanEs2POfMO6hlG2sm4sOu3JVXD2qPucHzI2Xo378ILJklE xpMoJHYm1eXgXDFFbtgXaOYjC/nHcDS11hia7MPZkxWbJDYoPMyGAPqDRXtuGHhcUuaI 0DVaPaOfVCJdHAEmJ+XLVPfDavTZ6pC03zTEekT2qs7BQfJ2OkEF+TUVCjmheZdqKeIF g9sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679475539; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=oOsVoCbjairSTPCacDSIu1irQvMi5CNmuEb7/8xcMrw=; b=OxRrHA5y8QGMTCC5ttMgARl/zxNi31jQGbGfnMCutaJ1tgVRAIcSYLD3WD9z0CZQwu 6y3BRUHy8vKMnDIKuOTWCf7J3X+QX9qVGvsE9cgnwLizagohu4sYHKX4XMqoFX+8JQ3e RbYKivh/mdUIdWGCyD0JKCrHm2vRkpsN0+FNGjK5nWDC7WqKuFJgOD80feubU4R/vb0V b3IbyRCLmUooheglThBJkaEDsNisUx8pEpJDv5NbDd87XBfrbwnBn+5yPkhJ0M6rAIrT zS0Fqu+R/GdcDe41jHs84EHJd57eX/cAQBMWPnwL4irjORLIVMgSmY34hzytKotkfwsP xosA== X-Gm-Message-State: AAQBX9e5jis89Fd/hWweBp2PRmEQsh32rbtrhqbEyAwmRwbqPwj2zUXB IBa98j6A/tUik799UOjQTWjpTcjMzuGjAS2w6Tbr6AGCOiJXbg== X-Google-Smtp-Source: AKy350Z5LZMPVCvocJ+UqnIynvdR6GCtDxUZ4xZ4sAMP+h+vHc8Ym+2ArSE4Dw8vS2QobZyEwRf0gq8pBrLGZ1wdc3E= X-Received: by 2002:a05:6902:70a:b0:b6e:5ae6:c4a7 with SMTP id k10-20020a056902070a00b00b6e5ae6c4a7mr3407466ybt.7.1679475538868; Wed, 22 Mar 2023 01:58:58 -0700 (PDT) In-Reply-To: <258055b2-17ce-66c0-5b6a-6cc755329b65@freedom.nl> 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:117241 Archived-At: --===============8728546922956909605== Content-Type: multipart/alternative; boundary="000000000000e73c1905f7795eba" --000000000000e73c1905f7795eba Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hans Hagen via ntg-context =E4=BA=8E2023=E5=B9=B43=E6= =9C=8822=E6=97=A5=E5=91=A8=E4=B8=89 15:51=E5=86=99=E9=81=93=EF=BC=9A > On 3/22/2023 7:15 AM, Li Yanrui (=E6=9D=8E=E5=BB=B6=E7=91=9E) via ntg-con= text wrote: > > Hi Hans, > > > > I have already installed some Chinese TTC fonts, e.g. > > NotoSerifCJK-Regular.ttc. But when I use mtxrun command to search them, > > I get an error. > > > > $ mtxrun --script font --list --file NotoSerifCJK-Regular.ttc > > lua error : function call: > > ...e/garfileo/opt/context/tex/texmf-linux-64/bin/mtxrun.lua:10012: bad > > argument #9 to 'format' (number expected, got string) > Where can i find that font? There was a time when one could download a > zip with all noto fonts but last time i checked that option was gone and > one ends up with downloading single ones which is a waste of time but I > might have missed a link. > These fonts that I use are provided in ubuntu desktop. If you have an ubuntu system, you can get all of them by $ sudo apt install fonts-noto-cjk # or more fonts in the fonts-noto-cjk-extra package. The package includes the following fonts: NotoSerifCJK-Regular.ttc NotoSerifCJK-Bold.ttc NotoSansCJK-Bold.ttc NotoSansCJK-Regular.ttc I have uploaded the four of them into github. The download link is http://liyanrui.github.io/share/fonts/fonts-noto-cjk.zip --- Best regards, Li Yanrui --000000000000e73c1905f7795eba Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
Hans Hagen via ntg-context <ntg-context@ntg.nl> =E4=BA=8E2023=E5= =B9=B43=E6=9C=8822=E6=97=A5=E5=91=A8=E4=B8=89 15:51=E5=86=99=E9=81=93=EF=BC= =9A
On 3/22/2023= 7:15 AM, Li Yanrui (=E6=9D=8E=E5=BB=B6=E7=91=9E) via ntg-context wrote: > Hi Hans,
>
> I have already installed some Chinese TTC fonts, e.g.
> NotoSerifCJK-Regular.ttc. But when I use mtxrun command to search them= ,
> I get an error.
>
> $ mtxrun --script font --list --file NotoSerifCJK-Regular.ttc
> lua error : function call:
> ...e/garfileo/opt/context/tex/texmf-linux-64/bin/mtxrun.lua:10012: bad=
> argument #9 to 'format' (number expected, got string)
Where can i find that font? There was a time when one could download a
zip with all noto fonts but last time i checked that option was gone and one ends up with downloading single ones which is a waste of time but I might have missed a link.

These fonts t= hat I use are provided in ubuntu desktop. If you have an ubuntu system, you= can get all of them by

$ sudo apt install fonts-n= oto-cjk # or more fonts in the fonts-noto-cjk-extra package.
=
The package includes the following fonts:

NotoSerifCJK-Regular.ttc
NotoSerifCJK-Bold.ttc
=
NotoSansCJK-Bold.ttc
NotoSansCJK-Regular.ttc

I have=C2=A0 uploaded the four of them into github. The download l= ink is


---
Best regards,

Li Yanrui
--000000000000e73c1905f7795eba-- --===============8728546922956909605== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cHM6Ly93d3cubnRnLm5sL21haWxtYW4v bGlzdGluZm8vbnRnLWNvbnRleHQKd2VicGFnZSAgOiBodHRwczovL3d3dy5wcmFnbWEtYWRlLm5s IC8gaHR0cDovL2NvbnRleHQuYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHBzOi8vYml0YnVja2V0 Lm9yZy9waGcvY29udGV4dC1taXJyb3IvY29tbWl0cy8Kd2lraSAgICAgOiBodHRwczovL2NvbnRl eHRnYXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============8728546922956909605==--