summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-main.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/luatex/luaotfload/luaotfload-main.tex')
-rw-r--r--Master/texmf-dist/doc/luatex/luaotfload/luaotfload-main.tex71
1 files changed, 69 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-main.tex b/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-main.tex
index 69502b5b122..a1f79b7da40 100644
--- a/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-main.tex
+++ b/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-main.tex
@@ -32,7 +32,7 @@
\beginfrontmatter
\setdocumenttitle {The \identifier{luaotfload} package}
- \setdocumentdate {2020-05-06 v3.14}
+ \setdocumentdate {2020-09-02 v3.15}
\setdocumentauthor {LaTeX3 Project\\
Elie Roux · Khaled Hosny · Philipp Gesang · Ulrike Fischer · Marcel Krüger\\
Home: \hyperlink {https://github.com/latex3/luaotfload}}
@@ -62,6 +62,27 @@ Supported is the \identifier{luatex} versions of a current TeXLive 2019 (and a c
\endsection
\beginsection{Changes}
+\beginsubsection {New in version 3.15 (by Ulrike Fischer/Marcel Krüger)}
+\begin{itemize}
+ \item The font database is updated more reliably if fonts get deleted.
+ \item In multiple error cases, error messages are shown instead of silently
+ generating bad output.
+ \item Write glyph ids instead of internal identifiers to DVI files. This
+ allows using OpenType fonts when working with \identifier{dvilualatex}.
+ (This requires additional support from the DVI reader)
+ \item The\marginpar{\mbox{}\hfill \textbf{Change!}} set of font features which
+ are enabled by default has been changed to be more similar to HarfBuzz.
+ Especially \enquote{Above-base mark Positioning} (abvm),
+ \enquote{Below-base mark Positioning} (blwm), \enquote{Contextual
+ Alternates} (calt), \enquote{Cursive Positioning} (curs),
+ \enquote{Distances} (dist), and \enquote{Required Contextual Alternates}
+ (rclt) are now enabled by default for all scripts.
+ \item Added a \identifier{mathfontdimen} font feature which allows emulating
+ fontdimen values from xetex or traditional \TeX\ math fonts.
+ \item Initial support for variable fonts in \identifier{node} mode.
+\end{itemize}
+\endsubsection
+
\beginsubsection {New in version 3.14 (by Ulrike Fischer/Marcel Krüger)}
\begin{itemize}
\item a bug in luaotfload-tool has been corrected (reported on the texlive list)
@@ -217,7 +238,7 @@ On the other side there is a lot new:
\beginaltitem {Lualibs} The update of the fontloader files also required an update of the \identifier{Lualibs} package. This \identifier{Luaotfload} version needs version 2.6 of \identifier{Lualibs}.
\endaltitem
- \beginaltitem {Maintenance} As the current maintainer wasn't available and it was urgent to get a \identifier{Luaotfload} compatible with \LUATEX 1.08/1.09 maintenance has been transfered to Ulrike Fischer and Marcel Krüger. The package was maintained and developed at \hyperlink{https://github.com/u-fischer/luaotfload}. Issues should be reported there.
+ \beginaltitem {Maintenance} As the current maintainer wasn't available and it was urgent to get a \identifier{Luaotfload} compatible with \LUATEX 1.08/1.09 maintenance has been transfered to Ulrike Fischer and Marcel Krüger. The package was maintained and developed at \hyperlink{https://github.com/u-fischer/luaotfload}.
\endaltitem
\beginaltitem {Documentation}
@@ -915,6 +936,52 @@ obviously, \inlinecode{random}.
\endaltitem
+ \beginaltitem {axis\&instance}
+ Experimental!\marginpar{\mbox{}\hfill NEW in v3.15!} Support for OpenType variable fonts. \emph{Varible fonts are only
+ supported in \texttt{base} and \texttt{node} mode, not in \texttt{harf}
+ mode.}
+
+ To specify the parameters of a variable font, you can either specify a
+ predefined instance of the font by passing the associated
+ \enquote{subfamily} name to \texttt{instance} or parameters for individual
+ axis can be provided using the \texttt{axis} feature. You can \emph{not}
+ use \texttt{instance} and \texttt{axis} together.
+
+ For example (needs the variable Fraunces font installed)
+
+ \beginlisting
+ \def\fraunces#1#2{%
+ \font\varfont = "Fraunces/B:mode=node;#1;" at #2pt\varfont
+ }
+ \fraunces{axis={wght=Regular}}{10}Regular font\par
+ \fraunces{axis={wght=Black}}{10}Black variant (aka. very bold)\par
+ \fraunces{axis={wght=Black,opsz=10}}{10}Black again, but with
+ correct optical size\par
+ \fraunces{axis={weight=100,opsz=10}}{10}Let's try giving axis values
+ numerically\par
+ \fraunces{instance=semibold}{10}A semi-bold one given as
+ a instance
+ (Corresponding to
+ \verb|axis={opsz=144,wght=600,SOFT=100,WONG=1}|)\par
+ \endlisting
+
+ {\def\fraunces#1#2{%
+ \font\varfont = "Fraunces/B:mode=node;#1;" at #2pt\varfont
+ }
+ \fraunces{axis={wght=Regular}}{10}Regular font\par
+ \fraunces{axis={wght=Black}}{10}Black variant (aka. very bold)\par
+ \fraunces{axis={wght=Black,opsz=10}}{10}Black again, but with
+ correct optical size\par
+ \fraunces{axis={weight=100,opsz=10}}{10}Let's try giving axis values
+ numerically\par
+ \fraunces{instance=semibold}{10}A semi-bold one given as a
+ instance\\
+ (Corresponding to
+ \verb|axis={opsz=144,wght=600,SOFT=100,WONG=1}|)\par
+ }
+
+ \endaltitem
+
\beginaltitem {embolden}
A factor, defined as a decimal number.