ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug in searching TTC fonts for the script of mtxrun
@ 2023-03-22  6:15 Li Yanrui (李延瑞) via ntg-context
  2023-03-22  7:50 ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 6+ messages in thread
From: Li Yanrui (李延瑞) via ntg-context @ 2023-03-22  6:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Li Yanrui (李延瑞)


[-- Attachment #1.1: Type: text/plain, Size: 397 bytes --]

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)

-- 
Best regards,

Li Yanrui

[-- Attachment #1.2: Type: text/html, Size: 673 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bug in searching TTC fonts for the script of mtxrun
  2023-03-22  6:15 Bug in searching TTC fonts for the script of mtxrun Li Yanrui (李延瑞) via ntg-context
@ 2023-03-22  7:50 ` Hans Hagen via ntg-context
  2023-03-22  8:58   ` Li Yanrui (李延瑞) via ntg-context
  2023-03-23 13:12   ` Alan Braslau via ntg-context
  0 siblings, 2 replies; 6+ messages in thread
From: Hans Hagen via ntg-context @ 2023-03-22  7:50 UTC (permalink / raw)
  To: Li Yanrui (李延瑞) via ntg-context; +Cc: Hans Hagen

On 3/22/2023 7:15 AM, Li Yanrui (李延瑞) 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.

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bug in searching TTC fonts for the script of mtxrun
  2023-03-22  7:50 ` Hans Hagen via ntg-context
@ 2023-03-22  8:58   ` Li Yanrui (李延瑞) via ntg-context
  2023-03-22 10:10     ` Hans Hagen via ntg-context
  2023-03-23 13:12   ` Alan Braslau via ntg-context
  1 sibling, 1 reply; 6+ messages in thread
From: Li Yanrui (李延瑞) via ntg-context @ 2023-03-22  8:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Li Yanrui (李延瑞)


[-- Attachment #1.1: Type: text/plain, Size: 1350 bytes --]

Hans Hagen via ntg-context <ntg-context@ntg.nl> 于2023年3月22日周三 15:51写道:

> On 3/22/2023 7:15 AM, Li Yanrui (李延瑞) 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 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

[-- Attachment #1.2: Type: text/html, Size: 2095 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bug in searching TTC fonts for the script of mtxrun
  2023-03-22  8:58   ` Li Yanrui (李延瑞) via ntg-context
@ 2023-03-22 10:10     ` Hans Hagen via ntg-context
  2023-03-22 10:56       ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen via ntg-context @ 2023-03-22 10:10 UTC (permalink / raw)
  To: Li Yanrui (李延瑞) via ntg-context; +Cc: Hans Hagen

On 3/22/2023 9:58 AM, Li Yanrui (李延瑞) via ntg-context wrote:
> 
> 
> Hans Hagen via ntg-context <ntg-context@ntg.nl 
> <mailto:ntg-context@ntg.nl>> 于2023年3月22日周三 15:51写道:
> 
>     On 3/22/2023 7:15 AM, Li Yanrui (李延瑞) 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 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 
> <http://liyanrui.github.io/share/fonts/fonts-noto-cjk.zip>
Ok. I'll check it.

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bug in searching TTC fonts for the script of mtxrun
  2023-03-22 10:10     ` Hans Hagen via ntg-context
@ 2023-03-22 10:56       ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen via ntg-context @ 2023-03-22 10:56 UTC (permalink / raw)
  To: Hans Hagen via ntg-context; +Cc: Hans Hagen

On 3/22/2023 11:10 AM, Hans Hagen via ntg-context wrote:

>> http://liyanrui.github.io/share/fonts/fonts-noto-cjk.zip 
>> <http://liyanrui.github.io/share/fonts/fonts-noto-cjk.zip>
> Ok. I'll check it.
next upload:

 >mtxrun --script font --list --file NotoSerifCJK-Regular.ttc
familyname       weight   style    width    variant   fontname 
      filename                   subfont   fontweight

notoserifcjkhk   normal   normal   normal   normal 
notoserifcjkhkregular   NotoSerifCJK-Regular.ttc         5   conflict: 
regular

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Bug in searching TTC fonts for the script of mtxrun
  2023-03-22  7:50 ` Hans Hagen via ntg-context
  2023-03-22  8:58   ` Li Yanrui (李延瑞) via ntg-context
@ 2023-03-23 13:12   ` Alan Braslau via ntg-context
  1 sibling, 0 replies; 6+ messages in thread
From: Alan Braslau via ntg-context @ 2023-03-23 13:12 UTC (permalink / raw)
  To: Hans Hagen via ntg-context; +Cc: Alan Braslau

On Wed, 22 Mar 2023 08:50:10 +0100
Hans Hagen via ntg-context <ntg-context@ntg.nl> wrote:

> I might have missed a link.

https://github.com/notofonts/notofonts.github.io

-- 
Alan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-03-23 13:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-22  6:15 Bug in searching TTC fonts for the script of mtxrun Li Yanrui (李延瑞) via ntg-context
2023-03-22  7:50 ` Hans Hagen via ntg-context
2023-03-22  8:58   ` Li Yanrui (李延瑞) via ntg-context
2023-03-22 10:10     ` Hans Hagen via ntg-context
2023-03-22 10:56       ` Hans Hagen via ntg-context
2023-03-23 13:12   ` Alan Braslau via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).