diff options
author | Karl Berry <karl@freefriends.org> | 2022-12-26 23:52:24 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-12-26 23:52:24 +0000 |
commit | 18c46b2f0a7cce28bce091ac8430e254e53008f8 (patch) | |
tree | c32518a49130b54b4c71c4f9f2de53fda8a206b6 /Master/texmf-dist/doc/texlive/texlive-en | |
parent | 56b77016f53109f00f4ec059b2f64e38ed1f7fba (diff) |
(sysfontconfig): update to something closer to
current reality. See thread both before and after:
https://tug.org/pipermail/tex-live/2022-December/048733.html
git-svn-id: svn://tug.org/texlive/trunk@65369 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/texlive/texlive-en')
-rw-r--r-- | Master/texmf-dist/doc/texlive/texlive-en/texlive-en.tex | 72 |
1 files changed, 41 insertions, 31 deletions
diff --git a/Master/texmf-dist/doc/texlive/texlive-en/texlive-en.tex b/Master/texmf-dist/doc/texlive/texlive-en/texlive-en.tex index 6c88a9cf817..b5897ee9a6b 100644 --- a/Master/texmf-dist/doc/texlive/texlive-en/texlive-en.tex +++ b/Master/texmf-dist/doc/texlive/texlive-en/texlive-en.tex @@ -17,7 +17,7 @@ \url{https://tug.org/texlive/} } -\date{August 2022} +\date{December 2022} \begin{document} \maketitle @@ -473,8 +473,8 @@ subdirectory. \item[Net installer, Windows .exe:] Download from \CTAN{} as above, and double-click. This starts up a first-stage installer and unpacker; -see figure~\ref{fig:nsis}. It gives two choices: ``Install'' -and``Unpack only''. +see figure~\ref{fig:nsis}. It gives two choices: `Install' +and `Unpack only'. \item [\TeX{} Collection \DVD:] go to the \DVD's \dirname{texlive} subdirectory. Under Windows, the installer normally starts automatically @@ -1124,24 +1124,32 @@ specify a particular \CTAN\ mirror from the list at \label{sec:font-conf-sys} \XeTeX\ and Lua\TeX\ can use any font installed on the system, not just -those in the \TeX\ trees. They do these via related but not identical -methods. - -On Windows, fonts shipped with \TL\ are automatically made available to -\XeTeX\ by font name. On \MacOSX, supporting font name lookups requires -additional steps; please see the Mac\TeX\ web pages -(\url{https://tug.org/mactex}). For other Unix systems, the procedure to -be able to find the fonts shipped with \TL\ via font name follows. - -To facilitate this, when the \pkgname{xetex} package is installed -(either at initial installation or later), the necessary configuration -file is created in -\filename{TEXMFSYSVAR/fonts/conf/texlive-fontconfig.conf}. - -To set up the \TL{} fonts for system-wide use (assuming you have -suitable privileges), proceed as follows: +those in the \TeX\ trees. Such system fonts (not part of \TL) are +usually accessed by giving the font name, e.g., `\code{Liberation +Serif}', although the system filename can also be used. + +A related issue is making the fonts from the \TL\ distribution available +as system fonts, which will in turn make them available by font name. + +For Lua\TeX: for access by font name, nothing special need be done. All +fonts in \TL\ should be equally accessible by either font name or +filename to Lua\TeX, via the \pkgname{luaotfload} package, which +supports both \LaTeX\ and plain \TeX. The \pkgname{luaotfload} font name +index may need to be rebuilt for new fonts; this is triggered +automatically when trying to load a font which isn't known yet. + +For \XeTeX: on Windows, fonts shipped with \TL\ are automatically made +available (by running the \cmdname{fc-cache} program provided for +Windows as part of \TL). For the Mac, you'll need to consult other +documentation. For Unix systems other than \MacOSX, the procedure is the +following. + +When the \pkgname{xetex} package is installed (either at initial +installation or later), the necessary configuration file is created in +\filename{TEXMFSYSVAR/fonts/conf/texlive-fontconfig.conf}. To make the +\TL\ fonts available as system fonts, \begin{enumerate*} -\item Copy the \filename{texlive-fontconfig.conf} file to +\item Copy that \filename{texlive-fontconfig.conf} file to (typically) \dirname{/etc/fonts/conf.d/09-texlive.conf}. \item Run \Ucom{fc-cache -fsv}. \end{enumerate*} @@ -1150,14 +1158,16 @@ If you do not have sufficient privileges to carry out the steps above, or if you want to make the \TL{} fonts available to only one user, you can do the following: \begin{enumerate*} -\item Copy the \filename{texlive-fontconfig.conf} file to - \filename{~/.fonts.conf}, where \filename{~} is your home directory. +\item Copy the \filename{texlive-fontconfig.conf} file to (typically) + \filename{~/.fonts.conf.d/09-texlive.conf}, where \filename{~} is + your home directory. \item Run \Ucom{fc-cache -fv}. \end{enumerate*} -You can run \code{fc-list} to see the names of the system fonts. The -incantation \code{fc-list : family style file spacing} (all arguments -are literal strings) shows some generally interesting information. +You can run \code{fc-list} to see the names of the available system +fonts. The incantation \code{fc-list : family style file spacing} (all +those arguments are literal strings) shows some generally interesting +information. \subsubsection{\protect\ConTeXt{} Mark IV} @@ -1792,11 +1802,11 @@ These programs are all installed as part of \TL{} only on Windows. \cmdname{unzip}, and the utilities from the \cmdname{poppler} suite (\cmdname{pdfinfo}, \cmdname{pdffonts}, \ldots). -\item[fc-list, fc-cache, \ldots] The tools from the fontconfig library allow - \XeTeX{} to handle system fonts on Windows. You can use +\item[fc-list, fc-cache, \ldots] The tools from the \pkgname{fontconfig} + library allow \XeTeX{} to find system fonts on Windows. You can use \prog{fc-list} to determine the font names to pass to \XeTeX's - extended \cs{font} command. If necessary, run \prog{fc-cache} - first to update font information. + extended \cs{font} command. If necessary, run \prog{fc-cache} first to + update font information. \end{description} @@ -2761,7 +2771,7 @@ continually driving \TeX\ development. abilities. \item Hartmut Henkel, for significant development contributions to -pdf\TeX\, Lua\TeX, and more. +pdf\TeX, Lua\TeX, and more. \item Shunshaku Hirata, for much original and continuing work on DVIPDFM$x$. @@ -3048,7 +3058,7 @@ at positions 32--256, plus tab, vertical tab, and form feed are considered printable and not translated. The exceptions are plain \TeX\ (only 32--126 printable), \ConTeXt\ (0--255 printable), and the \OMEGA-related formats. This default behavior is almost the same as in -\TL\,2003, but it's implemented more cleanly, with more possibilities +\TL\ 2003, but it's implemented more cleanly, with more possibilities for customization. See \CDref{texmf-dist/doc/web2c/web2c.html\#TCX-files} {\texttt{texmf-dist/doc/web2c/web2c.html\#TCX-files}}. (By the way, with Unicode input, \TeX\ may output partial character |