On 11/3/2022 12:52 PM, Herbert Voss via ntg-context wrote:
Am 03.11.22 um 12:37 schrieb Thomas A. Schmitz via ntg-context:
Hi,
is there an easy way to get a list of all features that a font has and typeset a sample text to see the result of every single feature? There probably is, but I couldn't find anything...
You'll get only the features with otfinfo in the terminal. For example:
iMac:~ voss$ otfinfo -f `kpsewhich LibertinusSerif-Regular.otf` c2sc Small Capitals From Capitals calt Contextual Alternates case Case-Sensitive Forms ccmp Glyph Composition/Decomposition cpsp Capital Spacing dlig Discretionary Ligatures frac Fractions hlig Historical Ligatures kern Kerning liga Standard Ligatures lnum Lining Figures mark Mark Positioning mkmk Mark to Mark Positioning onum Oldstyle Figures pnum Proportional Figures salt Stylistic Alternates smcp Small Capitals ss01 Stylistic Set 1 ss02 Stylistic Set 2 ss03 Stylistic Set 3 ss04 Stylistic Set 4 ss05 Stylistic Set 5 ss06 Stylistic Set 6 ss07 Stylistic Set 7 subs Subscript sups Superscript tnum Tabular Figures zero Slashed Zero
mtxrun --script fonts --list --info --file LibertinusSerif-Regular.otf mtx-fonts | mtx-fonts | mapping : 1 mtx-fonts | fontname : libertinusserifregular mtx-fonts | fullname : libertinusserifregular mtx-fonts | filename : LibertinusSerif-Regular.otf mtx-fonts | family : libertinusserif mtx-fonts | weight : normal mtx-fonts | style : normal mtx-fonts | width : normal mtx-fonts | variant : normal mtx-fonts | fweight : conflict: regular mtx-fonts | mtx-fonts | gpos features: mtx-fonts | mtx-fonts | feature script languages mtx-fonts | mtx-fonts | cpsp cyrl dflt mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | latn dflt mtx-fonts | kern cyrl dflt mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | latn dflt mtx-fonts | mark cyrl dflt mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn dflt mtx-fonts | mkmk cyrl dflt mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn dflt mtx-fonts | mtx-fonts | gsub features: mtx-fonts | mtx-fonts | feature script languages mtx-fonts | mtx-fonts | c2sc cyrl dflt mkd srb mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn aze crt dflt fin ism kaz lsm nor nsm sks ssm sve tat trk mtx-fonts | calt cyrl dflt mkd srb mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn aze crt dflt fin ism kaz lsm nor nsm sks ssm sve tat trk mtx-fonts | case cyrl dflt mkd srb mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn aze crt dflt fin ism kaz lsm nor nsm sks ssm sve tat trk mtx-fonts | ccmp cyrl dflt mkd srb mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn aze crt dflt fin ism kaz lsm nor nsm sks ssm sve tat trk mtx-fonts | dlig cyrl dflt mkd srb mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn aze crt dflt fin ism kaz lsm nor nsm sks ssm sve tat trk mtx-fonts | frac cyrl dflt mkd srb mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn aze crt dflt fin ism kaz lsm nor nsm sks ssm sve tat trk mtx-fonts | hlig cyrl dflt mkd srb mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn aze crt dflt fin ism kaz lsm nor nsm sks ssm sve tat trk mtx-fonts | liga cyrl dflt mkd srb mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn aze crt dflt fin ism kaz lsm nor nsm sks ssm sve tat trk mtx-fonts | lnum cyrl dflt mkd srb mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn aze crt dflt fin ism kaz lsm nor nsm sks ssm sve tat trk mtx-fonts | locl cyrl mkd srb mtx-fonts | latn aze crt fin ism kaz lsm nor nsm sks ssm sve tat trk mtx-fonts | mark cyrl dflt mkd srb mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn aze crt dflt fin ism kaz lsm nor nsm sks ssm sve tat trk mtx-fonts | onum cyrl dflt mkd srb mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn aze crt dflt fin ism kaz lsm nor nsm sks ssm sve tat trk mtx-fonts | pnum cyrl dflt mkd srb mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn aze crt dflt fin ism kaz lsm nor nsm sks ssm sve tat trk mtx-fonts | salt cyrl dflt mkd srb mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn aze crt dflt fin ism kaz lsm nor nsm sks ssm sve tat trk mtx-fonts | smcp cyrl dflt mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | latn aze crt dflt kaz tat trk mtx-fonts | ss01 cyrl dflt mkd srb mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn aze crt dflt fin ism kaz lsm nor nsm sks ssm sve tat trk mtx-fonts | ss02 cyrl dflt mkd srb mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn aze crt dflt fin ism kaz lsm nor nsm sks ssm sve tat trk mtx-fonts | ss03 cyrl dflt mkd srb mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn aze crt dflt fin ism kaz lsm nor nsm sks ssm sve tat trk mtx-fonts | ss04 cyrl dflt mkd srb mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn aze crt dflt fin ism kaz lsm nor nsm sks ssm sve tat trk mtx-fonts | ss05 cyrl dflt mkd srb mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn aze crt dflt fin ism kaz lsm nor nsm sks ssm sve tat trk mtx-fonts | ss06 cyrl dflt mkd srb mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn aze crt dflt fin ism kaz lsm nor nsm sks ssm sve tat trk mtx-fonts | ss07 cyrl dflt mkd srb mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn aze crt dflt fin ism kaz lsm nor nsm sks ssm sve tat trk mtx-fonts | subs cyrl dflt mkd srb mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn aze crt dflt fin ism kaz lsm nor nsm sks ssm sve tat trk mtx-fonts | sups cyrl dflt mkd srb mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn aze crt dflt fin ism kaz lsm nor nsm sks ssm sve tat trk mtx-fonts | tnum cyrl dflt mkd srb mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn aze crt dflt fin ism kaz lsm nor nsm sks ssm sve tat trk mtx-fonts | zero cyrl dflt mkd srb mtx-fonts | dflt dflt mtx-fonts | grek dflt mtx-fonts | hebr dflt mtx-fonts | latn aze crt dflt fin ism kaz lsm nor nsm sks ssm sve tat trk mtx-fonts | ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------