CTAN Comprehensive TeX Archive Network

Lua-font-config

Lua-based OpenType font configuration for Lua

Fast and simple OpenType font configuration for Lua. 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, hooks and caching are used to eliminate pre-loading, reduce lookups and minimise pre-defining. This allows very rich font families to be quickly generated, with minimal user input and zero configuration files. Font sets support the use of multiple font configurations (text and math modes), and delayed setup of non-default sets minimises overhead.

The core code consists of two Lua modules: one taken as-is from Cont (MkIV) and one providing the 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), support for Unicode maths (via lua-unicode-math) and font sets. Missing features include support for automated multilingual typesetting, an interface for variable fonts, spot colours etc. and a more extensive and intuitive user interface.

Sources/macros/luatex/latex/lua-font-config
Documentation
Bug tracker
Repository
Version0.3
LicensesGNU General Public License, version 2
The Project Public License 1.3c
Copyright2026 Clea F. Rees
MaintainerClea F. Rees
Contained inTeX Live as lua-font-config
TopicsFont management
Font selection
Lua
Font use

Download the contents of this package in one zip archive (934.3k).

Community Comments

Loading...

Announcements

Here you can see a respective diagram in newer browsers.

more

Package Links

Guest Book Sitemap Contact Contact Author