A (hopefully soon growing) collection of examples for various tex-formats about how to use, correct, manipulate and extend fonts with luatex.
The focus lays on methods not covered by the standard user interfaces and on examples that explain the inner working of the fontloaders.
The examples are from various sources: questions on various lists and websites or documentations.
Contribuations are welcome.
Currently the following folders for the various formats exists
- latex
- context
- plain: plaintex examples that load luaotfload.sty
- generic: for everything that doesn't fit in the folders above
- texmf: resources which should be found via kpathsea.
- resources: for code that is perhaps useful across formats but should not go in the texmf
- testfiles: these folders contain a few testfiles for the l3build system.
Every example is accompaigned by the resulting pdf.
If you think that you have an interesting example or want to extend or correct some existing example you can sent me a mail or make a pull-request.
Themes for which I would like to get good examples are e.g.
- how to reencode fonts
- how to combine fonts so that kerning and ligatures works
- how to add patches to fonts in latex in a similar way to goodies in context
- ...
- be small and to the point
- use if possible free fonts
- contain at the begin some comments to explain what the example is about
- contain a date and perhaps links to other sources
- file names should use only ASCII and give some indication what the example is about. I didn't try yet to setup some naming system.
- be compilable with a current TeX-system. As the time of writing this is TeXLive 2017 onwards.
- LaTeX:
fontspec
is not required.luaotfload
is already loaded by the format. - plain: examples that should go in
plain
folder should containinput luaotfload.sty
In general the current luaotfload version should be used. Some examples have been made/tested with an older luaotfload and in part with experimental fontloaders. If something no longer works, please add an issue.