Debian Codegraph @

texmf-dist/doc/luatex/luaotfload/NEWS

raw
1 Change History
2 --------------
3 2024-12-03 luaotfload v3.29
4
5 * Preserve subtypes while letterspacing.
6 * Improve logging for auxiliary functions.
7 * Improve cache path selection when parts of cache path are not writable.
8 * Fix broken luaotfload-tool.
9
10 2024-02-28 luaotfload v3.28
11
12 * Improving compatibility with Windows paths
13
14 2024-02-14 luaotfload v3.27
15
16 * Improved support for arabic mark rendering in \texttt{node} mode.
17 * Better ordering of GSUB substitutions.
18 * Avoid dropping hyphens in DVI mode
19 * Compatibility with \identifier{luatex} 1.18
20 * Various bug fixes
21
22 2023-08-31 luaotfload v3.26
23
24 * Reimplement mathsize feature recently dropped from fontloader
25
26 luaotfload v3.25 has been skipped
27
28 2023-08-19 luaotfload v3.24
29
30 * Add experimental configuration option to change default font lookup location
31 precedence.
32 * Support xdvipsk in DVI mode
33 * Preserve soft-hyphens when dropping default ignorable characters
34 * Hash cache keys to better support certain rather inflexible operating
35 systems
36 * Various bug fixes
37
38 2022-10-03 luaotfload v3.23
39
40 * More reliable ToUnicode mappings in Harf mode
41 * Various bug fixes
42
43 2022-06-15 luaotfload v3.22
44
45 * Tailored case mappings
46 * Avoid database rebuilds when switching Lua versions
47 * Improved attribute settings of ActualText nodes in harf mode
48 * Callback-based customization for color parameter
49 * Various bug fixes
50
51 2022-03-18 luaotfload v3.21
52
53 * Fix performance regression introduced in version 3.19.
54 * More reliably support TrueType based variable fonts in harf mode.
55
56 2022-02-27 luaotfload v3.20
57
58 * A bug in luaotfload-tool has been corrected.
59 * The directory for the font name database has been corrected and no
60 longer uses the development directory.
61
62 2022-02-24 luaotfload v3.19
63
64 * When used with LuaTeX 1.15.0 or newer, variable fonts are supported
65 when using the harf shaper too.
66 * A new algorithm for selecting fonts based on font family names allows
67 to more reliably load fonts based on their family name.
68 * The compiled font database gets compressed to reduce disk space and
69 improve performance on newer systems.
70 * Text automatically gets normalized to Unicode's NFC before shaping.
71 This improves rendering for text written in decomposed forms for many
72 fonts. This can be turned off by passing the -normalize font feature.
73 * The fontloader has been synced with the context code from 2022-02-24.
74 This fixes some broken rendering of TrueType based variable fonts.
75 * A number of small bugfixes.
76
77 2021-05-21 luaotfload v3.18
78
79 * Allow using variable fonts without explicitly specifying any axis values
80 * The fontloader has been synced with the context code from 2021-05-20
81 * Multiple small fixes, mostly concerning discretionaries in harf mode.
82
83 2021-01-08 luaotfload v3.17
84
85 * The fontloader has been synced with the context code from 2021-01-07.
86 This improves support for advanced CFF based OpenType variable fonts.
87
88 2020-12-31 luaotfload v3.16
89
90 * The fontloader has been synced with the context code from 2020-12-30
91 * The entry point is called luaotfload.lua instead of
92 luaotfload-main.lua (but the old name is still provided for
93 compatibility).
94 * pre/post_shaping_filter callbacks has been added.
95 * The number of lua-files and submodules shown in the log-file
96 has been reduced. But it is extended again by setting the environment
97 variable LUAOTFLOAD_TRACE_SUBMODULES=1.
98 * The HarfBuzz based shaper will in some situations drop hyphenation
99 points. This happens less frequently now since the new version uses
100 first/second discretionaries (the mechanism described in the LuaTeX manual,
101 section 5.6 for the of-f-ice example) to support a limited amount of
102 nesting.
103 * When the node shaper is used, experimental support for
104 OpenType variable fonts has been added. To use them, set the font
105 feature axis to a comma separated list of axis names and values.
106 (E.g. axis={weight=600}) The supported axis names and value
107 range depend on the font.
108 * The font features upper and lower can be used to map
109 the text of a font to upper or lowercase before displaying it. Currently
110 this implements the untailored Unicode case mapping algorithm, but it is
111 planned to add tailoring later.
112 * A number of small bugfixes.
113
114 2020-09-02 luaotfload v3.15
115 * The font database is updated more reliably if fonts get deleted.
116 * In multiple error cases, error messages are shown instead of silently
117 generating bad output.
118 * Write glyph ids instead of internal identifiers to DVI files. This
119 allows using OpenType fonts when working with dvilualatex.
120 (This requires additional support from the DVI reader)
121 * The set of font features which are enabled by default has been
122 changed to be more similar to HarfBuzz.
123 Especially Above-base mark Positioning (abvm),
124 Below-base mark Positioning (blwm), Contextual
125 Alternates (calt), Cursive Positioning (curs),
126 Distances (dist), and Required Contextual Alternates
127 (rclt) are now enabled by default for all scripts.
128 * Added a mathfontdimen font feature which allows emulating
129 fontdimen values from xetex or traditional \TeX\ math fonts.
130 * Initial support for variable fonts in node mode.
131
132
133 2020-05-01 luaotfload v3.14
134 * bug fix for luaotfload-tool, luaotfload-tool --list=basename failed (texlive list)
135 * fontloader patched to resolve issue #124
136
137 2020-05-01 luaotfload v3.13
138 * A problem with text fonts with minimal math table has been fixed (issue 148.)
139 In new luaotfload versions, math parameters will only be loaded for fonts with `script=math`.
140 If you do want to set math parameters for fonts with other scripts, add `-nomathparam`.
141 We strongly recommend against setting math parameters for text fonts because
142 these would overwrite parameters from actual math fonts.
143 * A bug in harf-mode that could lead to missing chars and freezing was corrected (issue 141).
144 * A font size problem in harf-mode has been fixed (issue 147).
145 * An error if the main function was called twice has been fixed (issue 145).
146 * Allow .ttf fonts to be loaded with a map file with luahbtex (issue 142) (issue 143).
147 * Fonts installed for a single user on windows are now found (issue 138).
148 * A problem with wrong \TeX-ligatures in harf mode has been fixed (issue 139).
149 * The debugging output has been changed (issue 131).
150 * a missing U+1E9E (Capital ß) in a font is replaced by
151 SS instead of giving a missing character.
152 * extended the color handling to be compatible with the luacolor package
153 * sync with context files from 2020-04-30
154
155 2020-02-02 luaotfload v3.12
156 * new experimental feature multiscript
157 * new experimental feature fallback
158 * extension of the color feature to color output glyphs
159 * Small bug correction
160
161 2019-11-10 luaotfload v3.11
162 * Changed the handling of the script key in harf mode to be more compatible with behaviour of the node mode.
163 It now expects the name of a script that is actually in the font instead of a ISO 15924 script tag. See issue 117.
164 * Corrected a number of small typos and bugs in harf mode.
165
166 2019-11-04 luaotfload v3.1
167 * added code to use the harfbuzz library of luahbtex ("mode=harf")
168 * fonts in ttc can now be indexed by name
169 * remove a number of lua tables from the global environment (_G) to reduce the pollution.
170 Kept there are only the tables luaotfload, fonts and nodes.
171 * sync with context files from 2019-10-29
172
173 2019-09-13 luaotfload v3.0
174 * invisible option to avoid that some glyph are shown (issue #63)
175 * correct small bug in xheight calculation
176
177 2019-08-11 luaotfload v2.99
178 * some clean up
179 * fix a bug in luaotfload.aux.resolve_fontname() (issue #76)
180 * removed dependency on slnunicode (PR#72)
181 * sync with context files from 2019-08-11
182
183 2019-06-20 luaotfload v2.98
184 * add embolden key
185 * add missing char detection issue #65
186 * sync with context files from 2019-07-04
187
188 2019-05-18 luaotfload v2.97
189 * fix issue #47
190 * fix whatsits interfering with letterspacing (issue #53)
191 * fix luaotfload-tool switches version and find not working correctly (PR#59)
192 * fix luaotfload-tool support of ttc fonts (PR#58)
193 * sync with context files from 2019-05-18 (improves handling of large fonts, see e.g. issue #55 and PR#58)
194
195 2019-01-28 luaotfload v2.96
196 * repaired broken letterspace (issue #38)
197 * changed handling of spaces in letterspacing
198 * changed handling of ligatures in letterspacing
199 * corrected detection of bold fonts (issue #41)
200
201 2019-01-28 luaotfload v2.95
202 * imported context files of 2019-01-28
203 * changed bold indification (for lucida demi bold) (issue #33)
204 * changed handling of tex file (issue #35)
205 * changed resolver code (pr #36)
206
207 2019-01-14 luaotfload v2.94
208 * imported context files of 2018-12-19
209 * removed luaotfload-characters from init - use the basics-chr instead.
210 * allow custom fontloaders through the mode-key https://github.com/u-fischer/luaotfload/pull/25
211 * resolved issue #29
212
213 2018-10-28 luaotfload v2.93
214 * reinserted forgotten man files
215 * unified and improved version/module info for automatic tagging
216
217
218 2018-10-21 luaotfload v2.92
219 * better deva support, issue #9
220 * test for --safer and abort, issue #12
221 * newest context files
222 * correct file: syntax for tfm files, issue #11.
223
224 2018-10-03 luaotfload v2.91
225 * solved copy & paste of variant glyphs, https://tex.stackexchange.com/questions/451442/localized-glyphs-locl-have-unicode-value-ufffd
226 * solved problem with PUA no longer accessible with \char, see https://github.com/u-fischer/luaotfload/issues/7
227
228 2018-09-21 luaotfload v2.9
229 * added various testfiles for the l3build system/travis tests to the github repository
230 * solved a bug regarding directions https://github.com/u-fischer/lua-font-pond/issues/12
231 * adapted luaotfload-letterspace to new fontloader
232 * solved the case problem see https://github.com/u-fischer/lua-font-pond/issues/6
233 * Fix parsing of font.conf see https://github.com/lualatex/luaotfload/pull/420
234 * imported new versions of the context files - fontloader is compatible with luatex 1.08 again
235 * adapted the files list
236 * created a luaotfload-filelist.lua which describes the files of the package
237 * removed some not functional files
238 * adapted mkstatus to use the new file list.
239
240 2017-01-29, luaotfload v2.8:
241 * Latest fontloader code.
242 * Support for Luatex 1.0.
243 * Integration of the extended AFM handler.
244 * Fixes to font family assignment.
245 * Skip initialization if Luaotfload is already loaded.
246 * Optical sizes advertised by fonts treated as big points.
247
248 2016/04/21, luaotfload v2.7:
249 * Rework lookup chaining.
250 * Combining glyphs from different fonts (``combo: ...`` requests).
251 * Glyph fallbacks.
252 * Latest fontloader code.
253 * Adapt packaging to changed upstream file layout.
254 * Remove support for builtin Fontforge libraries (this includes the PFA,
255 PFB, DFONT, and feature file readers).
256 * Allow configuration of anonymous lookups.
257
258 2015/12/09, luaotfload v2.6
259 * Add ``sign`` target to makefile for automated package signing.
260 * Add ``--dumpconf`` option to luaotfload-tool for generating configuration
261 files.
262 * Move fontloader files to subtree src/fontloader.
263 * New script ``mkimport`` facilitates maintenance of code imported from
264 Context.
265 * Revised letterspacing, now utilizing the ``node.direct`` interface.
266 * Revized colorization of fonts, utilizing ``node.direct`` (Dohyun Kim).
267 * Colorization was moved to the ``post_linebreak_filter`` stage.
268 * Move remaining functionality from ``luaotfload-override`` into
269 initialization.
270 * Write names index if fonts were removed.
271 * Separate module loading from initialization.
272 * Custom fontloader package with the files from Lualibs removed.
273 * Swappable fontloader via configuration option.
274 * Lualibs are now a dependency when used in a TeX run as well.
275 * Respect interword spaces when letterspacing.
276
277 2014/07/13, luaotfload v2.5
278 * Remove legacy code.
279 * Remove compatibility with the old mkluatexfontdb script.
280 * Remove test directory. Use https://bitbucket.org/phg/lua-la-tex-tests
281 instead.
282 * Remove luaotfload.lua from luaotfload.dtx; it is now a separate file
283 luaotfload-main.lua.
284 * Standard source tree structure: the code is now located in the ./doc,
285 ./scripts, ./src, ./build, and ./misc directories.
286 * Move the heavier LPEG parsers from luaotfload-features (syntax) and
287 luaotfload-database (fontconfig) into the new file
288 luaotfload-parsers.lua.
289 * Move logging routines from luaotfload-override in to luaotfload-log.
290 * Scan local font files (``--local`` flag to luaotfload-tool, flag
291 ``scan_local`` during TeX run).
292 * Add bisection mode (``--bisect``) to luaotfload-tool.
293 * Add functions for accessing the database: ``aux.font_index()`` and
294 ``aux.read_font_index()``.
295 * Distinguish XDG configuration paths (Reuben Thomas)
296 * Optional configuration via rc files.
297 * Configure default features via configuration file.
298
299 2013/12/31, luaotfload v2.4
300 * Additional self-tests, now in separate file (luaotfload-diagnostics.lua)
301 * Better path and directory handling, especially on Windows
302 * database now indexes Type1 fonts (PFA, PFB) and makes them accessible
303 with style modifiers (requires --format=+pfa,pfb option to luaotfload-tool)
304 * Test runner (script mktests)
305 * New luaotfload-tool option: ``--no-reload``
306 * ``luaotfload-tool --find`` now understands request syntax
307 * text (Lua script) version of the font index is filtered through gzip by
308 default, the ``--no-compress`` option of luaotfload-tool will prevent
309 this
310 * rename ``luaotfload-merged.lua`` (the fontloader package from Context)
311 to ``luaotfload-fontloader.lua``
312 * Treat arguments of the ``letterspace`` option as percentages; add
313 ``kernfactor`` option that behaves as before.
314 * Remove imported version of typo-krn.lua. Xetex-style per-font
315 letterspacing is now the canonical method.
316 * Merge functionality from extralibs (fake Context layer) into
317 luaotfload-letterspace.lua as it is only needed there anyways.
318
319 2013/07/10, luaotfload v2.3a
320 * Detect LuaJIT interpreter (LuaJITTeX)
321 * Self-test functionality for luaotfload-tool.lua (option ``--diagnose``)
322
323 2013/07/03, luaotfload v2.3:
324 * New experimental lookups: ``kpse`` (kpathsea), ``my`` (callback)
325 * Precedence of texmf over system fonts can be requested
326 using the ``--prefer-texmf`` option of luaotfload-tool
327 * Resolve file names to full paths at later stage
328 * Rewrite the output of ``\fontname`` via ``patch_font`` callback
329 * Allow blacklisting directories
330 * Drop compatibility layer
331 * Remove dependency on luaotfload-lib-dir (references to dir.glob() and
332 dir.mkdirs())
333 * luaotfload-tool now displays extensive information about a font if given
334 the argument --inspect
335
336 2013/05/20, luaotfload v2.2:
337 * There is now a central, non-personal dev repo on github:
338 https://github.com/lualatex/luaotfload
339 * Synchronisation with ConTeXt from TeXLive 2013, inducing
340 backward-incompatible changes in the font structure. A
341 backward-compatibility layer has been added for the current
342 versions of fontspec, unicode-math and microtype, but it should
343 disappear in a future version.
344 * Synchronisation with ConTeXt is now easier and can be done by just
345 updating luaotfload-merged.lua (<= luatex-fonts-merged.lua from
346 the LuaTeX-Plain format)
347 * Improved and extended documentation
348 * Font filenames are stored in the database (file: lookups more efficient)
349 * Optional caching of name: lookups (uses separate cache file)
350 * Rewriting and increased fidelity of XeTeX emulation
351 * Renaming mkluatexfontdb into luaotfload-tool (the old behavior is kept if
352 the script is symlinked or renamed mkluatexfontdb)
353 * Added options to luaotfload-tool for simple database queries
354 * Logging facilities have been rewritten and allow for more granularity
355 * All files have been renamed, abandoning cryptic acronyms; also
356 the new prefix is "luaotfload" (<= "otfl")
357 * The Adobe Glyph List (font-age.lua) is now built via script (mkglyphlist)
358 * Hans adapted the font loader to several of our requests (attribute
359 allocation, custom merged package name etc.)
360 * Auxiliary functions for package authors
361 * Man page for luaotfload-tool
362 * Unsupported v1.3 codebase is included in the luaotfload-*lua files. Crude,
363 but effective way to support older Luatex binaries
364 * implemented basic cache control/stats option for luaotfload-tool
365 * Character list is generated from char-def.lua (mkcharacters)
366
367 2013/04/27, luaotfload v1.3:
368 * blacklisting lingoes.ttf (segfaults)
369 * unblacklisting ttc fonts (warning: may break LuaTeX < 0.65)
370 * fixing font cache file name with non-ascii characters
371
372 2013/04/25, luaotfload v1.29:
373 * Reverting the unified resolver, as the database was rebuilt too often
374 which made the compilation longer. This will come back improved
375 in the next version, hopefully for TeXLive 2013.
376 * Fix resolving of Libertine Mono
377 * Fix a bug that made fontconfig files not parsed when OSFONTDIR is set
378
379 2013/04/11, luaotfload v1.28:
380 * Adapting to LuaTeX 0.75
381 * Fix small documentation issues in mkluatexfontdb
382 * Fix possible infinite loop with fontconfig config files references
383 * Adding semibold synonym for bold
384 * file:xxx syntax now uses the same search function as name: which
385 make more fonts recognized
386
387 2012/05/28, luaotfload v1.27:
388 * Fix "endless loop in charlist" with some OpenType math fonts
389
390 2012/03/27, luaotfload v1.26:
391 * Enable setting italic correction values by default
392 * Fix finding demibold italic fonts
393
394 2011/04/21, luaotfload v1.25:
395 * Fix bug loading *.dfont fonts
396 * Misc. documentation fixes
397 * Fix the need to manually delete font cache when feature file is changed
398 * Hack to support Demi fonts
399
400 2011/02/16, luaotfload v1.24:
401 * Fix infinite loop first time creating a name list
402
403 2011/02/04, luaotfload v1.23:
404 * Fix a typo breaking fonts.names.scan()
405
406 2011/01/25, luaotfload v1.22:
407 * Remove --database-dir and --sys options from mkluatexfontdb
408 * Provide a "luaotfload.patch_font" callback for on the fly patching of fonts
409 * Some documentation improvements
410
411 2010/11/11, luaotfload v1.21:
412 * Adapt to luatexbase v3.0
413
414 2010/10/16, luaotfload v1.20:
415 * Make cache directory creation more robust
416 * Fix GPOS mark placement in left-to-right direction
417 * Reject fonts missing 'names' table
418 * Sanitize color value before attempting to use it
419
420 2010/09/12, luaotfload v1.19:
421 * fix LaTeX's detection (made Tikz fail under a non-LaTeX format)
422
423 2010/07/15, luaotfload v1.18:
424 * fix for \overwithdelims and brothers
425
426 2010/07/14, luaotfload v1.17:
427 * allow stylistic sets features in base mode
428 * don't scale percent math constants
429
430 2010/07/12, luaotfload v1.16:
431 * support keys prefixed by "+", for compatibility with XeTeX
432 * remove the progress bar from mkluatexfontdb, it is of little use now
433 * minor code a documentation cleanups
434
435 2010/06/28, luaotfload v1.15:
436 * anum feature did not work as advertised
437 * add system shipped TTC fonts on Mac OS X to the blacklist, until the
438 culprit ones are isolated
439
440 2010/06/25, luaotfload v1.14:
441 * fix mkluatexfontdb which was broken in the last version
442 * support general font blacklisting feature
443 * temporally re-enable ttc fonts on Mac OS X
444 * make sure mkluatexfontdb in verbose mode prints font filename before
445 attempting to load it
446
447 2010/06/24, luaotfload v1.13:
448 * fix typo in font cache path
449
450 2010/06/18, luaotfload v1.12:
451 * populate MathConstants table for OpenType math fonts, now such fonts
452 can be really used in math mode.
453 * sync with ConTeXt beta 2010.06.18
454 * change cache dir to $TEXMFCACHE/luatex-cache/generic
455
456 2010/06/09, luaotfload v1.11:
457 * when asking for a font with style that doesn't exist, we would return
458 nothing, now we fallback to the regular font
459
460 2010/06/07, luaotfload v1.10:
461 * provide a fonts.names.scan(dir) function that temporally loads fonts
462 from the specified dir into the names database
463 * Log loaded font file before attempting to open it
464 * fix XeTeX's square brackets syntax so that it doesn't trigger database
465 update
466 * fix loading fonts with absolute path
467 * add \fontdimen8 support, for XeTeX compatibility
468 * be more verbose when updating the font database
469 * improve fonts.conf parsing
470 * make sure when a TFM font is requested we don't end up loading a non-TFM
471 font with a similar name instead
472 * Remove --fc-cache option from mkluatexfontdb.lua, since we no longer use
473 fontconfig tools
474 * misc. bug fixes
475
476 2010/05/30, luaotfload v1.09:
477 * the last release didn't even load
478 * fix passing --destdir to mkluatexfontdb
479
480 2010/05/28, luaotfload v1.08a:
481 * revert experimental code that was committed by mistake
482
483 2010/05/28, luaotfload v1.08:
484 * fix misc. bugs with system fonts scanning
485 * parse fontconfig configuration directly, no longer dependent on 'fc-list'
486 * now if no font names database is found, luaotfload will generate it, also
487 it will force an update of the database if the asked font can not be
488 found
489 * avoid loading non-tfm fonts when the user asks for tfm font
490 * update the documentation
491 * blacklist .ttc and LastResort font on mac.
492 * sync with ConTeXt beta 2010.05.22
493 * fix attribute handling
494 * clarify license
495 * misc. bug fixes
496
497 2010/05/10, luaotfload v1.07:
498 * using the new luatexbase package
499 * synchronizing with latest ConTeXt stable 2010.05.08
500 * adding support for microtypography
501 * adding support for color and transparency
502 * adding a script to generate a font database with TeX and system fonts
503 * more verbose log file
504
505 2010/02/07, luaotfload v1.06a:
506 * more complete tlig and trep
507 * defaults options changed to "+ccmp;+locl;+rlig;+liga;+clig;+kern;
508 +mark;+mkmk;"
509 * supporting windows absolute path
510
511 2009/12/01, luaotfload v1.06:
512 * synchronizing with ConTeXt stable 2009.11.26
513 * adding backward compatibility with LuaTeX 0.40.6
514