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 quicky generated, with minimal user input and zero configuration files. 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) 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
Version0.1
LicensesThe Project Public License 1.3c
GNU General Public License, version 2
Copyright2026 Clea F. Rees
MaintainerClea F. Rees
TDS archivelua-font-config.tds.zip
TopicsFont management
Font use
Lua
Font selection

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

Community Comments

Loading...

Package Links

Guest Book Sitemap Contact Contact Author