On 1/7/2020 11:33 PM, Henning Hraban Ramm wrote:
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? has to do with anchoring the pattern
mtxrun --script fonts --list --all --pattern=dejavusans identifier familyname fontname filename subfont instances
dejavusans dejavusans dejavusans DejaVuSans.ttf dejavusansbook dejavusans dejavusans DejaVuSans.ttf dejavusansmonobook dejavusansmono dejavusansmono DejaVuSansMono.ttf dejavusansmononormal dejavusansmono dejavusansmonooblique DejaVuSansMono-Oblique.ttf dejavusansnormal dejavusans dejavusansoblique DejaVuSans-Oblique.ttf dejavusanssemi dejavusans dejavusanscondensedoblique DejaVuSansCondensed-Oblique.ttf
mtxrun --script fonts --list --all --pattern=dejavusans* identifier familyname fontname filename subfont instances
dejavusans dejavusans dejavusans DejaVuSans.ttf dejavusansbold dejavusans dejavusansbold DejaVuSans-Bold.ttf dejavusansboldoblique dejavusans dejavusansboldoblique DejaVuSans-BoldOblique.ttf dejavusansbook dejavusans dejavusans DejaVuSans.ttf dejavusanscondensed dejavusans dejavusanscondensed DejaVuSansCondensed.ttf dejavusanscondensedbold dejavusans dejavusanscondensedbold DejaVuSansCondensed-Bold.ttf dejavusanscondensedboldoblique dejavusans dejavusanscondensedboldoblique DejaVuSansCondensed-BoldOblique.ttf dejavusanscondensedoblique dejavusans dejavusanscondensedoblique DejaVuSansCondensed-Oblique.ttf dejavusansextralight dejavusans dejavusansextralight DejaVuSans-ExtraLight.ttf dejavusansmono dejavusansmono dejavusansmono DejaVuSansMono.ttf dejavusansmonobold dejavusansmono dejavusansmonobold DejaVuSansMono-Bold.ttf dejavusansmonoboldoblique dejavusansmono dejavusansmonoboldoblique DejaVuSansMono-BoldOblique.ttf dejavusansmonobook dejavusansmono dejavusansmono DejaVuSansMono.ttf dejavusansmononormal dejavusansmono dejavusansmonooblique DejaVuSansMono-Oblique.ttf dejavusansmonooblique dejavusansmono dejavusansmonooblique DejaVuSansMono-Oblique.ttf dejavusansnormal dejavusans dejavusansoblique DejaVuSans-Oblique.ttf dejavusansoblique dejavusans dejavusansoblique DejaVuSans-Oblique.ttf dejavusanssemi dejavusans dejavusanscondensedoblique DejaVuSansCondensed-Oblique.ttf ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------