From f74c4055713ab52a11d12435eb04040ec6553129 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Fri, 6 Dec 2019 22:57:40 +0100 Subject: 2019-12-06 19:54:00 --- doc/context/scripts/mkiv/mtx-fonts.xml | 65 ++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 doc/context/scripts/mkiv/mtx-fonts.xml (limited to 'doc/context/scripts/mkiv/mtx-fonts.xml') diff --git a/doc/context/scripts/mkiv/mtx-fonts.xml b/doc/context/scripts/mkiv/mtx-fonts.xml new file mode 100644 index 000000000..d001f4f9a --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-fonts.xml @@ -0,0 +1,65 @@ + + + + mtx-fonts + ConTeXt Font Database Management + 1.00 + + + + + save open type font in raw table + save a tma file in a more readable format + + + generate new font database (use when in doubt) + :generate luatex-fonts-names.lua (not for context!) + + + : list installed fonts, filter by name [] + : list installed fonts, filter by spec [] + : list installed fonts, filter by file [] + + + filter files using pattern + key-value pairs + show all found instances (combined with other flags) + give more details + enable trackers + some info about the database + use name instead of unicodes + use specific cache (otl or otf) + + + + + + Examples + + mtxrun --script font --list somename (== --pattern=*somename*) + + + mtxrun --script font --list --name somename + mtxrun --script font --list --name --pattern=*somename* + + + mtxrun --script font --list --spec somename + mtxrun --script font --list --spec somename-bold-italic + mtxrun --script font --list --spec --pattern=*somename* + mtxrun --script font --list --spec --filter="fontname=somename" + mtxrun --script font --list --spec --filter="familyname=somename,weight=bold,style=italic,width=condensed" + mtxrun --script font --list --spec --filter="familyname=crap*,weight=bold,style=italic" + + + mtxrun --script font --list --all + mtxrun --script font --list --file somename + mtxrun --script font --list --file --all somename + mtxrun --script font --list --file --pattern=*somename* + + + mtxrun --script font --convert texgyrepagella-regular.otf + mtxrun --script font --convert --names texgyrepagella-regular.otf + + + + -- cgit v1.2.3