summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-11-04 20:00:59 +0000
committerKarl Berry <karl@freefriends.org>2022-11-04 20:00:59 +0000
commit198d882419df89da6879d2319d06f3949cf1d60e (patch)
treee4995bd5b8dc7e0c564cb2c24c1eb054c2b1e398 /Master/texmf-dist/doc/support
parent979571e4e9dfce7bdc9fb50814a21732113b0794 (diff)
luafindfont (4nov22)
git-svn-id: svn://tug.org/texlive/trunk@64936 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/support')
-rw-r--r--Master/texmf-dist/doc/support/luafindfont/CHANGELOG3
-rw-r--r--Master/texmf-dist/doc/support/luafindfont/README.md9
-rw-r--r--Master/texmf-dist/doc/support/luafindfont/exa01.txt11
-rw-r--r--Master/texmf-dist/doc/support/luafindfont/exa02.txt16
-rw-r--r--Master/texmf-dist/doc/support/luafindfont/exa03.txt34
-rw-r--r--Master/texmf-dist/doc/support/luafindfont/exa04.txt14
-rw-r--r--Master/texmf-dist/doc/support/luafindfont/exa05.txt26
-rw-r--r--Master/texmf-dist/doc/support/luafindfont/exa06.txt19
-rw-r--r--Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.pdfbin92140 -> 98556 bytes
-rw-r--r--Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.tex32
10 files changed, 156 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/support/luafindfont/CHANGELOG b/Master/texmf-dist/doc/support/luafindfont/CHANGELOG
index 2dde2ffbc7d..9c2bf6debf4 100644
--- a/Master/texmf-dist/doc/support/luafindfont/CHANGELOG
+++ b/Master/texmf-dist/doc/support/luafindfont/CHANGELOG
@@ -1,3 +1,6 @@
+0.11 2022-11-03 - added option -V (--version) and -I (--Info),
+ -I uses mtxrun for a long list of features,
+ corresponding languages and font names
0.10 2022-09-02 - fix for Windows and path setting
0.09 2022-05-07 - load first a luc.gz database, if present
0.08 2022-05-05 - added --no-symbolic-names as a synonym
diff --git a/Master/texmf-dist/doc/support/luafindfont/README.md b/Master/texmf-dist/doc/support/luafindfont/README.md
index 6298fc3f95a..90229178e43 100644
--- a/Master/texmf-dist/doc/support/luafindfont/README.md
+++ b/Master/texmf-dist/doc/support/luafindfont/README.md
@@ -12,12 +12,15 @@ luafindfont [options] <font name>
parameter handling
- -h,--help
+- -n,--nosymbolicnames
+- ,--no-symbolic-names
- -o,--otfinfo (default 0)
- -i,--info (default 0)
-- -x,--xetex
-- -v,--verbose
+- -I,--Info (default 0)
+- -x, --xetex
+- -v, --verbose
+- -V, --version
- -m,--max_string (default 90)
-- -n,--nosymbolicnames
- <font> (string)
diff --git a/Master/texmf-dist/doc/support/luafindfont/exa01.txt b/Master/texmf-dist/doc/support/luafindfont/exa01.txt
new file mode 100644
index 00000000000..e530f26082d
--- /dev/null
+++ b/Master/texmf-dist/doc/support/luafindfont/exa01.txt
@@ -0,0 +1,11 @@
+We are using Lua 5.3
+Check for file /usr/local/texlive/2021/texmf-var/luatex-cache/generic/names/luaotfload-names
+ 1. Segoe UI Symbol.ttf segoeuisymbol /Users/voss/Library/Fonts/Segoe/Segoe UI Symbol.ttf
+ 2. Segoe_Print.ttf segoeprint /Users/voss/Library/Fonts/Segoe/Segoe_Print.ttf
+ 3. Segoe_Print_Bold.ttf segoeprint /Users/voss/Library/Fonts/Segoe/Segoe_Print_Bold.ttf
+ 4. Segoe_Script.ttf segoescript /Users/voss/Library/Fonts/Segoe/Segoe_Script.ttf
+ 5. Segoe_Script_Bold.ttf segoescript /Users/voss/Library/Fonts/Segoe/Segoe_Script_Bold.ttf
+ 6. Segoe_UI.ttf segoeui /Users/voss/Library/Fonts/Segoe/Segoe_UI.ttf
+ 7. Segoe_UI_Bold.ttf segoeui /Users/voss/Library/Fonts/Segoe/Segoe_UI_Bold.ttf
+ 8. Segoe_UI_Bold_Italic.ttf segoeui /Users/voss/Library/Fonts/Segoe/Segoe_UI_Bold_Italic.ttf
+ 9. Segoe_UI_Italic.ttf segoeui /Users/voss/Library/Fonts/Segoe/Segoe_UI_Italic.ttf
diff --git a/Master/texmf-dist/doc/support/luafindfont/exa02.txt b/Master/texmf-dist/doc/support/luafindfont/exa02.txt
new file mode 100644
index 00000000000..8c113341de4
--- /dev/null
+++ b/Master/texmf-dist/doc/support/luafindfont/exa02.txt
@@ -0,0 +1,16 @@
+We are using Lua 5.3
+Check for file /usr/local/texlive/2021/texmf-var/luatex-cache/generic/names/luaotfload-names
+ 1. LibertinusKeyboard-Regular.otf libertinuskeyboard /usr/local/texlive/2021/te...Regular.otf
+ 2. LibertinusMath-Regular.otf libertinusmath /usr/local/texlive/2021/te...Regular.otf
+ 3. LibertinusMono-Regular.otf libertinusmono /usr/local/texlive/2021/te...Regular.otf
+ 4. LibertinusSans-Bold.otf libertinussans /usr/local/texlive/2021/te...ns-Bold.otf
+ 5. LibertinusSans-Italic.otf libertinussans /usr/local/texlive/2021/te...-Italic.otf
+ 6. LibertinusSans-Regular.otf libertinussans /usr/local/texlive/2021/te...Regular.otf
+ 7. LibertinusSerif-Bold.otf libertinusserif /usr/local/texlive/2021/te...if-Bold.otf
+ 8. LibertinusSerif-BoldItalic.otf libertinusserif /usr/local/texlive/2021/te...dItalic.otf
+ 9. LibertinusSerif-Italic.otf libertinusserif /usr/local/texlive/2021/te...-Italic.otf
+10. LibertinusSerif-Regular.otf libertinusserif /usr/local/texlive/2021/te...Regular.otf
+11. LibertinusSerif-Semibold.otf libertinusserif /usr/local/texlive/2021/te...emibold.otf
+12. LibertinusSerif-SemiboldItalic.otf libertinusserif /usr/local/texlive/2021/te...dItalic.otf
+13. LibertinusSerifDisplay-Regular.otf libertinusserifdisplay /usr/local/texlive/2021/te...Regular.otf
+14. LibertinusSerifInitials-Regular.otf libertinusserifinitials /usr/local/texlive/2021/te...Regular.otf
diff --git a/Master/texmf-dist/doc/support/luafindfont/exa03.txt b/Master/texmf-dist/doc/support/luafindfont/exa03.txt
new file mode 100644
index 00000000000..2bb02df1a6a
--- /dev/null
+++ b/Master/texmf-dist/doc/support/luafindfont/exa03.txt
@@ -0,0 +1,34 @@
+We are using Lua 5.3
+Check for file /usr/local/texlive/2021/texmf-var/luatex-cache/generic/names/luaotfload-names
+ 1. Arial Black.ttf arialblack /System/Library/Fonts/Supplemental/Arial Black.ttf
+ 2. Arial Bold Italic.ttf arial /System/Library/Fonts/Supplemental/Arial Bold Italic.ttf
+ 3. Arial Bold.ttf arial /System/Library/Fonts/Supplemental/Arial Bold.ttf
+ 4. Arial Italic.ttf arial /System/Library/Fonts/Supplemental/Arial Italic.ttf
+ 5. Arial Narrow Bold Italic.ttf arialnarrow /System/Library/Fonts/Supplemental/Arial Narrow Bold Italic.ttf
+ 6. Arial Narrow Bold.ttf arialnarrow /System/Library/Fonts/Supplemental/Arial Narrow Bold.ttf
+ 7. Arial Narrow Italic.ttf arialnarrow /System/Library/Fonts/Supplemental/Arial Narrow Italic.ttf
+ 8. Arial Narrow.ttf arialnarrow /System/Library/Fonts/Supplemental/Arial Narrow.ttf
+ 9. Arial Rounded Bold.ttf arialroundedmtbold /System/Library/Fonts/Supplemental/Arial Rounded Bold.ttf
+10. Arial Unicode.ttf arialunicodems /Library/Fonts/Arial Unicode.ttf
+11. Arial Unicode.ttf arialunicodems /System/Library/Fonts/Supplemental/Arial Unicode.ttf
+12. Arial.ttf arial /System/Library/Fonts/Supplemental/Arial.ttf
+13. Arial.ttf arial /Users/voss/Library/Fonts/Arial/Arial.ttf
+14. ArialHB.ttc arialhebrew /System/Library/Fonts/ArialHB.ttc
+15. ArialHB.ttc arialhebrewdeskinterface /System/Library/Fonts/ArialHB.ttc
+16. ArialHB.ttc arialhebrewscholar /System/Library/Fonts/ArialHB.ttc
+17. ArialHB.ttc arialhebrew /System/Library/Fonts/ArialHB.ttc
+
+Run otfinfo:6
+Family: Arial Narrow
+Subfamily: Bold
+Full name: Arial Narrow Bold
+PostScript name: ArialNarrow-Bold
+Version: Version 2.38.1x
+Unique ID: Arial Narrow Bold : 2007
+Description: Monotype Drawing Office 1982. A contemporary sans serif design, Arial contains more humanist characteristics than many of its predecessors and as such is more in tune with the mood of the last decades of the twentieth century. The overall treatment of curves is softer and fuller than in most industrial-style sans serif faces. Terminal strokes are cut on the diagonal which helps to give the face a less mechanical appearance. Arial is an extremely versatile family of typefaces which can be used with equal success for text setting in reports, presentations, magazines etc, and for display use in newspapers, advertising and promotions.
+Designer: Robin Nicholas, Patricia Saunders
+Manufacturer: The Monotype Corporation
+Trademark: Arial is a trademark of The Monotype Corporation in the United States and/or other countries.
+Copyright: © 2007 The Monotype Corporation. All Rights Reserved.
+License Description: You may use this font to display and print content as permitted by the license terms for the product in which this font is included. You may only (i) embed this font in content as permitted by the embedding restrictions included in this font; and (ii) temporarily download this font to a printer or other output device to help print content.
+Vendor ID: TMC \ No newline at end of file
diff --git a/Master/texmf-dist/doc/support/luafindfont/exa04.txt b/Master/texmf-dist/doc/support/luafindfont/exa04.txt
new file mode 100644
index 00000000000..5de45e30c6a
--- /dev/null
+++ b/Master/texmf-dist/doc/support/luafindfont/exa04.txt
@@ -0,0 +1,14 @@
+We are using Lua 5.3
+Check for file /usr/local/texlive/2021/texmf-var/luatex-cache/generic/names/luaotfload-names
+ 1. Segoe UI Symbol.ttf segoeuisymbol /Users/voss/Library/Fonts/Segoe/Segoe UI Symbol.ttf
+ 2. Segoe_Print.ttf segoeprint /Users/voss/Library/Fonts/Segoe/Segoe_Print.ttf
+ 3. Segoe_Print_Bold.ttf segoeprint /Users/voss/Library/Fonts/Segoe/Segoe_Print_Bold.ttf
+ 4. Segoe_Script.ttf segoescript /Users/voss/Library/Fonts/Segoe/Segoe_Script.ttf
+ 5. Segoe_Script_Bold.ttf segoescript /Users/voss/Library/Fonts/Segoe/Segoe_Script_Bold.ttf
+ 6. Segoe_UI.ttf segoeui /Users/voss/Library/Fonts/Segoe/Segoe_UI.ttf
+ 7. Segoe_UI_Bold.ttf segoeui /Users/voss/Library/Fonts/Segoe/Segoe_UI_Bold.ttf
+ 8. Segoe_UI_Bold_Italic.ttf segoeui /Users/voss/Library/Fonts/Segoe/Segoe_UI_Bold_Italic.ttf
+ 9. Segoe_UI_Italic.ttf segoeui /Users/voss/Library/Fonts/Segoe/Segoe_UI_Italic.ttf
+
+Font: segoeui
+Fonttype ttf(system) --> | Regular | Bold | Italic | BoldItalic |
diff --git a/Master/texmf-dist/doc/support/luafindfont/exa05.txt b/Master/texmf-dist/doc/support/luafindfont/exa05.txt
new file mode 100644
index 00000000000..d2353f923d6
--- /dev/null
+++ b/Master/texmf-dist/doc/support/luafindfont/exa05.txt
@@ -0,0 +1,26 @@
+Looking for font "*"
+ Nr. Filename Path
+ 1. Aboensis-Regular.otf /usr/local/texlive/texmf-dist/fonts/opentype/public/aboensis/
+ 2. academicons.ttf /usr/local/texlive/texmf-dist/fonts/truetype/public/academicons/
+ 3. Academy Engraved LET Fonts.ttf /System/Library/Fonts/Supplemental/
+ 4. ACaslonPro-Bold.otf /Users/voss/Library/Fonts/Caslon/
+ 5. ACaslonPro-BoldItalic.otf /Users/voss/Library/Fonts/Caslon/
+ 6. ACaslonPro-Italic.otf /Users/voss/Library/Fonts/Caslon/
+ 7. ACaslonPro-Regular.otf /Users/voss/Library/Fonts/Caslon/
+ 8. ACaslonPro-Semibold.otf /Users/voss/Library/Fonts/Caslon/
+ 9. ACaslonPro-SemiboldItalic.otf /Users/voss/Library/Fonts/Caslon/
+ 10. Acathist-Regular.otf /usr/local/texlive/texmf-dist/fonts/opentype/public/fonts-churchslavonic/
+ 11. AccanthisADFStdNo3-Bold.otf /usr/local/texlive/texmf-dist/fonts/opentype/arkandis/accanthis/
+ 12. AccanthisADFStdNo3-BoldItalic.otf /usr/local/texlive/texmf-dist/fonts/opentype/arkandis/accanthis/
+ 13. AccanthisADFStdNo3-Italic.otf /usr/local/texlive/texmf-dist/fonts/opentype/arkandis/accanthis/
+ 14. AccanthisADFStdNo3-Regular.otf /usr/local/texlive/texmf-dist/fonts/opentype/arkandis/accanthis/
+ 15. ACE.ttc /Users/voss/Library/Fonts/AppleSymbols/
+ 16. ACE.ttc /Users/voss/Library/Fonts/AppleSymbols/
+ 17. AdineKirnberg-Script.otf /Users/voss/Library/Fonts/AdineScript/
+ 18. AdobeArabic-Bold.otf /Users/voss/Library/Fonts/Adobe/
+ 19. AdobeArabic-BoldItalic.otf /Users/voss/Library/Fonts/Adobe/
+[...] [...] [...]
+6847. 儷宋_Pro.ttf /Users/voss/Library/Fonts/KozukaPro/
+6848. 华文仿宋.ttf /Users/voss/Library/Fonts/KozukaPro/
+6849. 华文宋体.ttf /Users/voss/Library/Fonts/KozukaPro/
+6850. 华文楷体.ttf /Users/voss/Library/Fonts/KozukaPro/
diff --git a/Master/texmf-dist/doc/support/luafindfont/exa06.txt b/Master/texmf-dist/doc/support/luafindfont/exa06.txt
new file mode 100644
index 00000000000..c076ffffd3d
--- /dev/null
+++ b/Master/texmf-dist/doc/support/luafindfont/exa06.txt
@@ -0,0 +1,19 @@
+We are using Lua 5.3
+Looking for font "minion"
+Check for file /usr/local/texlive/2021/texmf-var/luatex-cache/generic/names/luaotfload-names
+ Nr. Fontname Path
+ 1. MinionMath-Bold.otf /Users/voss/Library/Fonts/MinionMath/
+ 2. MinionMath-Regular.otf /Users/voss/Library/Fonts/MinionMath/
+ 3. MinionPro-Bold.otf /Users/voss/Library/Fonts/MinionPro/
+ 4. MinionPro-BoldCn.otf /Users/voss/Library/Fonts/MinionPro/
+ 5. MinionPro-BoldCnIt.otf /Users/voss/Library/Fonts/MinionPro/
+ 6. MinionPro-BoldIt.otf /Users/voss/Library/Fonts/MinionPro/
+ 7. MinionPro-Capt.otf /Users/voss/Library/Fonts/MinionPro/
+ 8. MinionPro-Disp.otf /Users/voss/Library/Fonts/MinionPro/
+ 9. MinionPro-It.otf /Users/voss/Library/Fonts/MinionPro/
+ 10. MinionPro-Medium.otf /Users/voss/Library/Fonts/MinionPro/
+ 11. MinionPro-MediumIt.otf /Users/voss/Library/Fonts/MinionPro/
+ 12. MinionPro-Regular.otf /Users/voss/Library/Fonts/MinionPro/
+ 13. MinionPro-Semibold.otf /Users/voss/Library/Fonts/MinionPro/
+ 14. MinionPro-SemiboldIt.otf /Users/voss/Library/Fonts/MinionPro/
+ 15. MinionPro-Subh.otf /Users/voss/Library/Fonts/MinionPro/
diff --git a/Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.pdf b/Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.pdf
index f63d3e5ebc9..80155cf2bd9 100644
--- a/Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.pdf
+++ b/Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.tex b/Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.tex
index 82225231529..259af15f038 100644
--- a/Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.tex
+++ b/Master/texmf-dist/doc/support/luafindfont/luafindfont-doc.tex
@@ -81,7 +81,7 @@
\def\setVersion#1{\setVVersion#1!!}
\def\setVVersion#1=#2!!{\def\luafindfontVersion{#2}}
-\setVersion{version = 0.10}% can be automatically changed by perl
+\setVersion{version = 0.11}% can be automatically changed by perl
\setkeys{hv}{cleanup={},force}
@@ -148,11 +148,14 @@ long form which, of course, can be mixed:
\begin{Verbatim}[frame=lines,label=Parameter]
parameter handling
-h,--help
+ -n,--nosymbolicnames
+ ,--no-symbolic-names
-o,--otfinfo (default 0)
-i,--info (default 0)
- -x,--xetex
- -n,--no-symbolic-names
- -v... Verbosity output
+ -I,--Info (default 0)
+ -x, --xetex
+ -v, --verbose
+ -V, --version
-m,--max_string (default 90)
<(partial) fontname>
\end{Verbatim}
@@ -187,6 +190,12 @@ are the same. It is possible to combine two search strings which will act like a
\texttt{"Myriad \& bold"} (in quotes) will list all files which have \texttt{myriad} \emph{and} \texttt{bold} in its name.
+
+\subsection{Option \texttt{-V}}
+Prints the version number and exits.
+
+
+
\subsection{Option \texttt{-o}}\label{otfinfo}
This needs an installed program \Lprog{otfinfo}, which should be the default for all \TeX\ distributions.
This program lists some useful informations of a given fontnumber. The fontnumber can be combined by an
@@ -232,11 +241,24 @@ luafindfont -i 4 "myriad & semibold"
\end{externalDocument}
-
For the font number 4 there also exists a Regular, Bold, and a Italic font. The font no 4 itself
is a BoldItalic version.
+\subsection{Option \texttt{-I}}
+This similiar to option \texttt{-i}, but uses \texttt{mtxrun} to get a long list of all informations
+of the font, including features and corresponding languages. The list can be very long!
+
+\begin{externalDocument}[redirect,includegraphic=false,force,code,docType=sh,ext=sh,compiler=sh]{exa}
+#StartVisibleMain
+luafindfont -I 4 "myriad & semibold"
+#StopVisibleMain
+\end{externalDocument}
+
+
+
+
+
\subsection{Option \texttt{-x}}\label{xetex}
\XeTeX\ will find OpenType and TrueType fonts only, if they are part of the system fonts or