| 1 |
.\" Manpage for luafindfont. |
| 2 |
.\" Contact [email protected] to correct errors or typos. |
| 3 |
.TH luafindfont 1 "4 july 2025" "0.16" "luafindfont man page" |
| 4 |
.SH NAME |
| 5 |
luafindfont |
| 6 |
\- retrieve font informations of all installed system and TeX fonts. |
| 7 |
.SH SYNOPSIS |
| 8 |
luafindfont [options] <fontname> |
| 9 |
.SH DESCRIPTION |
| 10 |
This command lists informations about installed otf|ttf|ttc fonts, |
| 11 |
installed by the system and by the TeX distribution |
| 12 |
.SH OPTIONS |
| 13 |
.IP -h,--help |
| 14 |
obvious ... :-) |
| 15 |
.IP -V,--version |
| 16 |
obvious ... :-) |
| 17 |
.IP -o,--otfinfo (default 0) |
| 18 |
Use the program otfinfo for the font with the given number. The number |
| 19 |
can be followed by an optional argument for otfinfo, e.g. -o 2f, list |
| 20 |
all features for font no 2. Without an additional character, otfinfo is |
| 21 |
called with -i |
| 22 |
.IP -i,--info (default 0) |
| 23 |
List the given fontstyles (regular, bold, italic, bolditalic) |
| 24 |
for the font with the given number |
| 25 |
.IP -I,--Info (default 0) |
| 26 |
Siliar to i but uses the program mtxrun to get ll informations |
| 27 |
including features and corresponding languages. List can be very long. |
| 28 |
.IP -l, --listonlynames |
| 29 |
The output is a sorted long list of the symbilc names of the available fonts. |
| 30 |
.IP -L, --listonlyfiles |
| 31 |
The same with filenames (without the path!) |
| 32 |
.IP -v,--verbose Verbosity level |
| 33 |
Give more informations, by now only -v works |
| 34 |
.IP -x,--xetex |
| 35 |
test, if font is found by xetex via kpsewhich 0->no; 1->yes |
| 36 |
.IP -m,--max_string (default 90) |
| 37 |
The maximum of the stringlength of the full path of fonts |
| 38 |
.IP -n,--no-symbolic-names (altenatively --nosymbolicnames) |
| 39 |
The fontlist contains only fontfile and fontpath |
| 40 |
.IP <fontname> |
| 41 |
Can be a substring, e.g. times, or a combination of two substrings |
| 42 |
which act like a boolean and, e.g. "times & bold" (must be in quotes). |
| 43 |
All strings are not case sensitive. Upper and lowercase can be mixed. |
| 44 |
.SH EXAMPLES |
| 45 |
|
| 46 |
$ luafindfont libertinussans |
| 47 |
|
| 48 |
.Pp |
| 49 |
Lists all fonts which have names or part of like libertinussans |
| 50 |
|
| 51 |
.nf |
| 52 |
.ft CW |
| 53 |
bash-3.2$ ./luafindfont.lua libertinussans |
| 54 |
No. Fontname Symbolic Name Path |
| 55 |
1. LibertinusSans-Bold.otf libertinussans /usr/local/texlive/2022/texmf-dist/fonts/opentype/public/libertinus-fonts/ |
| 56 |
2. LibertinusSans-Italic.otf libertinussans /usr/local/texlive/2022/texmf-dist/fonts/opentype/public/libertinus-fonts/ |
| 57 |
3. LibertinusSans-Regular.otf libertinussans /usr/local/texlive/2022/texmf-dist/fonts/opentype/public/libertinus-fonts/ |
| 58 |
|
| 59 |
.ft R |
| 60 |
.fi |
| 61 |
|
| 62 |
.Pp |
| 63 |
The --otfinfo: |
| 64 |
|
| 65 |
$ luafindfont -o 3 libertinussans |
| 66 |
|
| 67 |
.Pp |
| 68 |
This produces the following output: |
| 69 |
|
| 70 |
.nf |
| 71 |
.ft CW |
| 72 |
1. LibertinusSans-Bold.otf libertinussans /Users/voss/Library/Fonts/libertinus-fonts/LibertinusSans-Bold.otf |
| 73 |
2. LibertinusSans-Bold.otf libertinussans /usr/local/texlive/texmf-d...onts/opentype/public/libertinus-fonts/LibertinusSans-Bold.otf |
| 74 |
3. LibertinusSans-Italic.otf libertinussans /Users/voss/Library/Fonts/libertinus-fonts/LibertinusSans-Italic.otf |
| 75 |
4. LibertinusSans-Italic.otf libertinussans /usr/local/texlive/texmf-d...ts/opentype/public/libertinus-fonts/LibertinusSans-Italic.otf |
| 76 |
5. LibertinusSans-Regular.otf libertinussans /Users/voss/Library/Fonts/libertinus-fonts/LibertinusSans-Regular.otf |
| 77 |
6. LibertinusSans-Regular.otf libertinussans /usr/local/texlive/texmf-d...s/opentype/public/libertinus-fonts/LibertinusSans-Regular.otf |
| 78 |
|
| 79 |
Running otfinfo on font no.3 |
| 80 |
Family: Libertinus Sans |
| 81 |
Subfamily: Italic |
| 82 |
Full name: Libertinus Sans Italic |
| 83 |
PostScript name: LibertinusSans-Italic |
| 84 |
Version: Version 7.020;RELEASE |
| 85 |
Unique ID: 1.000;QUE ;LibertinusSans-Italic |
| 86 |
Designer: Philipp H. Poll, Khaled Hosny |
| 87 |
Manufacturer: Caleb Maclennan |
| 88 |
Vendor URL: https://github.com/alerque/libertinus |
| 89 |
Copyright: Copyright © 2012-2020 The Libertinus Project Authors. |
| 90 |
License URL: https://scripts.sil.org/OFL |
| 91 |
License Description: This Font Software is licensed under the SIL Open Font License, Version 1.1 |
| 92 |
Vendor ID: QUE |
| 93 |
|
| 94 |
.ft R |
| 95 |
.fi |
| 96 |
|
| 97 |
.Pp |
| 98 |
The --no-symbolc-names: |
| 99 |
|
| 100 |
$ luafindfont -n |
| 101 |
|
| 102 |
.Pp |
| 103 |
This produces the following output: |
| 104 |
|
| 105 |
.nf |
| 106 |
.ft CW |
| 107 |
bash-3.2$ luafindfont -n minion |
| 108 |
Nr. Fontname Path |
| 109 |
1. MinionMath-Bold.otf /Users/voss/Library/Fonts/MinionMath/ |
| 110 |
2. MinionMath-Regular.otf /Users/voss/Library/Fonts/MinionMath/ |
| 111 |
3. MinionPro-Bold.otf /Users/voss/Library/Fonts/MinionPro/ |
| 112 |
4. MinionPro-BoldCn.otf /Users/voss/Library/Fonts/MinionPro/ |
| 113 |
5. MinionPro-BoldCnIt.otf /Users/voss/Library/Fonts/MinionPro/ |
| 114 |
6. MinionPro-BoldIt.otf /Users/voss/Library/Fonts/MinionPro/ |
| 115 |
7. MinionPro-Capt.otf /Users/voss/Library/Fonts/MinionPro/ |
| 116 |
8. MinionPro-Disp.otf /Users/voss/Library/Fonts/MinionPro/ |
| 117 |
9. MinionPro-It.otf /Users/voss/Library/Fonts/MinionPro/ |
| 118 |
10. MinionPro-Medium.otf /Users/voss/Library/Fonts/MinionPro/ |
| 119 |
11. MinionPro-MediumIt.otf /Users/voss/Library/Fonts/MinionPro/ |
| 120 |
12. MinionPro-Regular.otf /Users/voss/Library/Fonts/MinionPro/ |
| 121 |
13. MinionPro-Semibold.otf /Users/voss/Library/Fonts/MinionPro/ |
| 122 |
14. MinionPro-SemiboldIt.otf /Users/voss/Library/Fonts/MinionPro/ |
| 123 |
15. MinionPro-Subh.otf /Users/voss/Library/Fonts/MinionPro/ |
| 124 |
.ft R |
| 125 |
.fi |
| 126 |
|
| 127 |
.SH See also |
| 128 |
See luafindfont-doc.pdf for more details |
| 129 |
.SH BUGS |
| 130 |
No known bugs. |
| 131 |
.SH AUTHOR |
| 132 |
Herbert Voß ([email protected]) |
| 133 |
.SH LICENSE |
| 134 |
Permission is granted to copy, distribute and/or modify this software |
| 135 |
under the terms of the LaTeX Project Public License, version 1.3. |
| 136 |
|