ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <texml@fiee.net>
To: ntg-context@ntg.nl
Subject: mtxrun font patterns
Date: Tue, 7 Jan 2020 23:33:06 +0100	[thread overview]
Message-ID: <d40fcd5b-3e29-345c-cab7-891c6bb2ad52@fiee.net> (raw)

I just recognized that mtxrun’s pattern matching is a bit off.

E.g. if I look for

mtxrun --script fonts --list --all --pattern=roboto

I get

roboto                   roboto            robotoregular 
Roboto-Regular.ttf
robotocondensednormal    robotocondensed   robotocondenseditalic 
RobotoCondensed-Italic.ttf
robotocondensedregular   robotocondensed   robotocondensedlight 
RobotoCondensed-Light.ttf
robotoitalic             roboto            robotoblackitalic 
Roboto-BlackItalic.ttf
robotomononormal         robotomono        robotomonoitalic 
RobotoMono-Italic.ttf
robotomonoregular        robotomono        robotomonolight 
RobotoMono-Light.ttf
robotonormal             roboto            robotoitalic 
Roboto-Italic.ttf
robotoregular            roboto            robotoblack 
Roboto-Black.ttf
robotoslablight          robotoslab        robotoslabextralight 
RobotoSlab-ExtraLight.ttf
robotoslabnormal         robotoslab        robotoslabregular 
RobotoSlab-Regular.ttf
robotoslabregular        robotoslab        robotoslabblack 
RobotoSlab-Black.ttf

But I’ve several more faces installed. ConTeXt finds them with

mtxrun --script fonts --list --all --pattern=robot
(ROBOT, not ROBOTO)

as

roboto                       roboto            robotoregular 
    Roboto-Regular.ttf
robotoblack                  roboto            robotoblack 
    Roboto-Black.ttf
robotoblackitalic            roboto            robotoblackitalic 
    Roboto-BlackItalic.ttf
robotobold                   roboto            robotobold 
    Roboto-Bold.ttf
robotobolditalic             roboto            robotobolditalic 
    Roboto-BoldItalic.ttf
robotocondensed              robotocondensed   robotocondensedregular 
    RobotoCondensed-Regular.ttf
robotocondensedbold          robotocondensed   robotocondensedbold 
    RobotoCondensed-Bold.ttf
robotocondensedbolditalic    robotocondensed   robotocondensedbolditalic 
    RobotoCondensed-BoldItalic.ttf
robotocondenseditalic        robotocondensed   robotocondenseditalic 
    RobotoCondensed-Italic.ttf
robotocondensedlight         robotocondensed   robotocondensedlight 
    RobotoCondensed-Light.ttf
robotocondensedlightitalic   robotocondensed 
robotocondensedlightitalic   RobotoCondensed-LightItalic.ttf
robotocondensednormal        robotocondensed   robotocondenseditalic 
    RobotoCondensed-Italic.ttf
robotocondensedregular       robotocondensed   robotocondensedregular 
    RobotoCondensed-Regular.ttf
robotoitalic                 roboto            robotoitalic 
    Roboto-Italic.ttf
robotolight                  roboto            robotolight 
    Roboto-Light.ttf
robotolightitalic            roboto            robotolightitalic 
    Roboto-LightItalic.ttf
robotomedium                 roboto            robotomedium 
    Roboto-Medium.ttf
robotomediumitalic           roboto            robotomediumitalic 
    Roboto-MediumItalic.ttf
robotomono                   robotomono        robotomonoregular 
    RobotoMono-Regular.ttf
robotomonobold               robotomono        robotomonobold 
    RobotoMono-Bold.ttf
robotomonobolditalic         robotomono        robotomonobolditalic 
    RobotoMono-BoldItalic.ttf
robotomonoitalic             robotomono        robotomonoitalic 
    RobotoMono-Italic.ttf
robotomonolight              robotomono        robotomonolight 
    RobotoMono-Light.ttf
robotomonolightitalic        robotomono        robotomonolightitalic 
    RobotoMono-LightItalic.ttf
robotomonomedium             robotomono        robotomonomedium 
    RobotoMono-Medium.ttf
robotomonomediumitalic       robotomono        robotomonomediumitalic 
    RobotoMono-MediumItalic.ttf
robotomononormal             robotomono        robotomonoitalic 
    RobotoMono-Italic.ttf
robotomonoregular            robotomono        robotomonoregular 
    RobotoMono-Regular.ttf
robotomonothin               robotomono        robotomonothin 
    RobotoMono-Thin.ttf
robotomonothinitalic         robotomono        robotomonothinitalic 
    RobotoMono-ThinItalic.ttf
robotonormal                 roboto            robotoitalic 
    Roboto-Italic.ttf
robotoregular                roboto            robotoregular 
    Roboto-Regular.ttf
robotoslabblack              robotoslab        robotoslabblack 
    RobotoSlab-Black.ttf
robotoslabbold               robotoslab        robotoslabbold 
    RobotoSlab-Bold.ttf
robotoslabextrabold          robotoslab        robotoslabextrabold 
    RobotoSlab-ExtraBold.ttf
robotoslabextralight         robotoslab        robotoslabextralight 
    RobotoSlab-ExtraLight.ttf
robotoslablight              robotoslab        robotoslablight 
    RobotoSlab-Light.ttf
robotoslabmedium             robotoslab        robotoslabmedium 
    RobotoSlab-Medium.ttf
robotoslabnormal             robotoslab        robotoslabregular 
    RobotoSlab-Regular.ttf
robotoslabregular            robotoslab        robotoslabregular 
    RobotoSlab-Regular.ttf
robotoslabsemibold           robotoslab        robotoslabsemibold 
    RobotoSlab-SemiBold.ttf
robotoslabthin               robotoslab        robotoslabthin 
    RobotoSlab-Thin.ttf
robotothin                   roboto            robotothin 
    Roboto-Thin.ttf
robotothinitalic             roboto            robotothinitalic 
    Roboto-ThinItalic.ttf

That’s strange, isn’t it?
Might also explain why some fonts aren’t found?

Best regards, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD
___________________________________________________________________________________
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
___________________________________________________________________________________

             reply	other threads:[~2020-01-07 22:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-07 22:33 Henning Hraban Ramm [this message]
2020-01-08 16:40 ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d40fcd5b-3e29-345c-cab7-891c6bb2ad52@fiee.net \
    --to=texml@fiee.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).