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