Lua-font-config – Lua-based OpenType font configuration for LuaLaTeX
Fast and simple OpenType font configuration for LuaLaTeX. Efficient auto-generation of font families providing easy access to the multiple shapes, weights, widths and features provided by many of today’s fonts. Engine callbacks, LaTeX hooks and caching are used to eliminate pre-loading, reduce lookups and minimise pre-defining. This allows very rich font families to be quicky generated, with minimal user input and zero configuration files. The core code consists of two Lua modules: one taken as-is from ConTeXt (MKIV) and one providing the LaTeX interface and data processing. The package is experimental and, while already usable in many cases, currently(?) provides only a small part of fontspec’s functionality. Implemented features include configuration of the main document font families (roman, sans, typewriter), use of these families in maths mode, creation of additional families (text mode) and support for Unicode maths (via lua-unicode-math). Missing features include support for multi-lingual typesetting, variable fonts, spot colours etc. and a user interface beyond the rudimentary.
| Sources | /macros/luatex/latex/lua-font-config |
| Documentation | |
| Repository | |
| Version | 0.1 |
| Licenses | The LaTeX Project Public License 1.3c GNU General Public License, version 2 |
| Copyright | 2026 Clea F. Rees |
| Maintainer | Clea F. Rees |
| TDS archive | lua-font-config.tds.zip |
| Topics | Font management Font use LuaTeX Font selection |
Download the contents of this package in one zip archive (289.1k).
Suggestions
Maybe you are interested in the following packages as well.
Community Comments