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