From ab8a74099e59b1e4a16672820198419ae0b07ce0 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 25 Feb 2019 22:22:50 +0000 Subject: luaotfload (25feb19) git-svn-id: svn://tug.org/texlive/trunk@50131 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/luatex/luaotfload/NEWS | 6 +++ Master/texmf-dist/doc/luatex/luaotfload/README.md | 4 +- .../texmf-dist/doc/luatex/luaotfload/filegraph.pdf | Bin 39030 -> 39030 bytes .../doc/luatex/luaotfload/luaotfload-conf.pdf | Bin 77372 -> 77199 bytes .../doc/luatex/luaotfload/luaotfload-latex.pdf | Bin 329635 -> 335773 bytes .../doc/luatex/luaotfload/luaotfload-latex.tex | 2 +- .../doc/luatex/luaotfload/luaotfload-main.tex | 58 +++++++++++++++++++-- .../doc/luatex/luaotfload/luaotfload-tool.pdf | Bin 76593 -> 76424 bytes .../doc/luatex/luaotfload/luaotfload-tool.rst | 4 +- .../doc/luatex/luaotfload/luaotfload.conf.rst | 4 +- Master/texmf-dist/doc/man/man1/luaotfload-tool.1 | 2 +- .../doc/man/man1/luaotfload-tool.man1.pdf | Bin 44635 -> 44499 bytes Master/texmf-dist/doc/man/man5/luaotfload.conf.5 | 2 +- .../doc/man/man5/luaotfload.conf.man5.pdf | Bin 45660 -> 45525 bytes 14 files changed, 68 insertions(+), 14 deletions(-) (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/luatex/luaotfload/NEWS b/Master/texmf-dist/doc/luatex/luaotfload/NEWS index f37ea2139a3..7c8085ee562 100644 --- a/Master/texmf-dist/doc/luatex/luaotfload/NEWS +++ b/Master/texmf-dist/doc/luatex/luaotfload/NEWS @@ -1,5 +1,11 @@ Change History -------------- +2019-01-28 luaotfload v2.96 + * repaired broken letterspace (issue #38) + * changed handling of spaces in letterspacing + * changed handling of ligatures in letterspacing + * corrected detection of bold fonts (issue #41) + 2019-01-28 luaotfload v2.95 * imported context files of 2019-01-28 * changed bold indification (for lucida demi bold) (issue #33) diff --git a/Master/texmf-dist/doc/luatex/luaotfload/README.md b/Master/texmf-dist/doc/luatex/luaotfload/README.md index 1cb6f02e702..97164c8be48 100644 --- a/Master/texmf-dist/doc/luatex/luaotfload/README.md +++ b/Master/texmf-dist/doc/luatex/luaotfload/README.md @@ -1,8 +1,8 @@ # The Luaotfload Package -VERSION: 2.95 +VERSION: 2.96 -DATE: 2019-01-28 +DATE: 2019-02-14 ## Description diff --git a/Master/texmf-dist/doc/luatex/luaotfload/filegraph.pdf b/Master/texmf-dist/doc/luatex/luaotfload/filegraph.pdf index 5aa4a359f4f..400ca4408d7 100644 Binary files a/Master/texmf-dist/doc/luatex/luaotfload/filegraph.pdf and b/Master/texmf-dist/doc/luatex/luaotfload/filegraph.pdf differ diff --git a/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-conf.pdf b/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-conf.pdf index 32b43817ad7..22342387768 100644 Binary files a/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-conf.pdf and b/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-conf.pdf differ diff --git a/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-latex.pdf b/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-latex.pdf index 762c8f52cab..6b5628bbfdc 100644 Binary files a/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-latex.pdf and b/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-latex.pdf differ diff --git a/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-latex.tex b/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-latex.tex index 5cde1893267..e85ab5451e0 100644 --- a/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-latex.tex +++ b/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-latex.tex @@ -65,7 +65,7 @@ ]{Linux Libertine O} \setmonofont[Ligatures=TeX,Scale=MatchLowercase]{InconsolataN-Regular.otf} %setsansfont[Ligatures=TeX]{Linux Biolinum O} -\setsansfont[Ligatures=TeX,Scale=MatchLowercase]{Iwona Medium} +\setsansfont[Ligatures=TeX,Scale=MatchLowercase]{IwonaMedium-Regular.otf} %setmathfont{XITS Math} \usepackage{hologo} diff --git a/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-main.tex b/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-main.tex index e10532efb73..f4a9bf06359 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 {2019-01-28 v2.95} + \setdocumentdate {2019-02-14 v2.96} \setdocumentauthor {Elie Roux · Khaled Hosny · Philipp Gesang · Ulrike Fischer\\ Home: \hyperlink {https://github.com/lualatex/luaotfload}\\ New Home: \hyperlink {https://github.com/u-fischer/luaotfload}\\ @@ -56,6 +56,18 @@ \pdfbookmark[1]{\contentsname}{table} \typesetcontent +\beginsection {New in version 2.96 (by Ulrike Fischer)} +\begin{itemize} +\item In\marginpar{\mbox{}\hfill \textbf{Incompatible change!}} +version 2.95 letterspacing was broken due to a change in the fontloader (issue 38). This has been repaired. At the same time a number of oddities and bugs in the letterspacing has been corrected. This can change existing documents. See page~\pageref{p:letterspace} for more information. + +\item A problem with the detection of bold fonts has been corrected (issue 41, pull request 42). + +\end{itemize} +\endsection + + + \beginsection {New in version 2.95 (by Ulrike Fischer)} \begin{itemize} \item @@ -748,7 +760,7 @@ obviously, \inlinecode{random}. \endlisting \endaltitem - \beginaltitem {kernfactor \& letterspace} + \beginaltitem {kernfactor \& letterspace}\label{p:letterspace} Define a font with letterspacing (tracking) enabled. % In \identifier{luaotfload}, letterspacing is implemented by @@ -771,8 +783,41 @@ obviously, \inlinecode{random}. results in $4.2$ pt of additional kerning applied to each pair of glyphs. % - Ligatures are split into their component glyphs unless - explicitly ignored (see below). + + Spaces\marginpar{\mbox{}\hfill NEW in v2.96!} between words are now stretched too. This is consistent with the \XETEX behaviour (and the amount of stretching should be similar). This + naturally changes the output of a document. In case you want the old behaviour back use + \beginlisting + \directlua{luaotfload.letterspace.keepwordspacing = true} + \endlisting + + The difference between both options is obvious: + + \begingroup + \fontspec{IwonaMedium-Regular.otf}[LetterSpace=60] + New: hello world + + \directlua{luaotfload.letterspace.keepwordspacing = true} + + Old: hello world + + \directlua{luaotfload.letterspace.keepwordspacing = false} + \endgroup + + + Ligatures\marginpar{\mbox{}\hfill NEW in v2.96!} are no longer split into their component glyphs. + This change too make the \identifier{luaotfload} more compatible with \XETEX. It also makes it much easier to activate or deactivate ligature sets in letterspaced fonts. + If you want to split ligatures, you should deactivate as you would do it with a not-letterspaced font, e.g. with the fontspec \identifier{Ligatures} option, or the low-level \identifier{-liga} and similar. + + + {\font \test = "file:Iwona-Regular.otf:mode=base;+liga;+tlig;letterspace=12.5" + \test With standard ligatures: fi -- ff\par + + \font \test = "file:Iwona-Regular.otf:mode=base;-liga;+tlig;letterspace=12.5" + \test Only with tlig: fi -- ff \par + + \font \test = "file:Iwona-Regular.otf:mode=base;-liga;letterspace=12.5" + \test No ligatures: fi -- ff \par + } For compatibility with \XETEX an alternative \identifier{letterspace} option is supplied that interprets the @@ -787,7 +832,10 @@ obviously, \inlinecode{random}. \font \iwonakernedB = "file:Iwona-Regular.otf:letterspace=12.5" \endlisting - Specific pairs of letters and ligatures may be exempt from + The \identifier{microtype} package uses a special implementation of letterspacing, and the commands \inlinecode{\lsstyle} and \inlinecode{\textls} are not affected by these changes. + + Setting the ligatures with the font options is the recommended way, to activate or deactivate them. In case of special requirements + specific pairs of letters and ligatures may be exempt from letterspacing by defining the \LUA functions \luaident{keeptogether} and \luaident{keepligature}, respectively, inside the namespace \inlinecode {luaotfload.letterspace}. diff --git a/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-tool.pdf b/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-tool.pdf index 9d581e36b49..3289076c15d 100644 Binary files a/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-tool.pdf and b/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-tool.pdf differ diff --git a/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-tool.rst b/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-tool.rst index 8dbaeadcd68..440e8158608 100644 --- a/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-tool.rst +++ b/Master/texmf-dist/doc/luatex/luaotfload/luaotfload-tool.rst @@ -6,9 +6,9 @@ generate and query the Luaotfload font names database ----------------------------------------------------------------------- -:Date: 2019-01-28 +:Date: 2019-02-14 :Copyright: GPL v2.0 -:Version: 2.95 +:Version: 2.96 :Manual section: 1 :Manual group: text processing diff --git a/Master/texmf-dist/doc/luatex/luaotfload/luaotfload.conf.rst b/Master/texmf-dist/doc/luatex/luaotfload/luaotfload.conf.rst index dd75e365084..a03b4831508 100644 --- a/Master/texmf-dist/doc/luatex/luaotfload/luaotfload.conf.rst +++ b/Master/texmf-dist/doc/luatex/luaotfload/luaotfload.conf.rst @@ -6,9 +6,9 @@ Luaotfload configuration file ----------------------------------------------------------------------- -:Date: 2019-01-28 +:Date: 2019-02-14 :Copyright: GPL v2.0 -:Version: 2.95 +:Version: 2.96 :Manual section: 5 :Manual group: text processing diff --git a/Master/texmf-dist/doc/man/man1/luaotfload-tool.1 b/Master/texmf-dist/doc/man/man1/luaotfload-tool.1 index 50606371960..df30b840a57 100644 --- a/Master/texmf-dist/doc/man/man1/luaotfload-tool.1 +++ b/Master/texmf-dist/doc/man/man1/luaotfload-tool.1 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH LUAOTFLOAD-TOOL 1 "2019-01-28" "2.95" "text processing" +.TH LUAOTFLOAD-TOOL 1 "2019-02-14" "2.96" "text processing" .SH NAME luaotfload-tool \- generate and query the Luaotfload font names database . diff --git a/Master/texmf-dist/doc/man/man1/luaotfload-tool.man1.pdf b/Master/texmf-dist/doc/man/man1/luaotfload-tool.man1.pdf index 010c69228dc..3a58eb2cd2a 100644 Binary files a/Master/texmf-dist/doc/man/man1/luaotfload-tool.man1.pdf and b/Master/texmf-dist/doc/man/man1/luaotfload-tool.man1.pdf differ diff --git a/Master/texmf-dist/doc/man/man5/luaotfload.conf.5 b/Master/texmf-dist/doc/man/man5/luaotfload.conf.5 index 9b92e543833..67b2e125867 100644 --- a/Master/texmf-dist/doc/man/man5/luaotfload.conf.5 +++ b/Master/texmf-dist/doc/man/man5/luaotfload.conf.5 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH LUAOTFLOAD.CONF 5 "2019-01-28" "2.95" "text processing" +.TH LUAOTFLOAD.CONF 5 "2019-02-14" "2.96" "text processing" .SH NAME luaotfload.conf \- Luaotfload configuration file . diff --git a/Master/texmf-dist/doc/man/man5/luaotfload.conf.man5.pdf b/Master/texmf-dist/doc/man/man5/luaotfload.conf.man5.pdf index ea7d1f25e24..61af4259ad9 100644 Binary files a/Master/texmf-dist/doc/man/man5/luaotfload.conf.man5.pdf and b/Master/texmf-dist/doc/man/man5/luaotfload.conf.man5.pdf differ -- cgit v1.2.3