1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# blopentype
Basic LuaTeX OpenType Handler
# Description
In his terse documentation for `PiTeX`, Paul Isambert lists, among the "mandatory PiTeX" files, the following:
| file name | Description |
|-|-|
| fonts.ptx | Interface for fonts; relies on the next file. |
| fonts.ptxlua | The Lua fontloader; should become independant some day. |
| foundry-settings.lua | Default settings for the fontloader. |
Well: the day has come, and the fontloader has now become `blopentype`: a *Basic LuaTeX OpenType Handler*.
The basic code is copied almost verbatim from Isambert's `PiTeX`, save the adoption of the filename extensions `ltm` for *LuaTeX macros*, `lts` for *LuaTeX scripts*, and `blot-sets.lua` for the basic basic settings.
The required dependencies are Isambert packages [texapi](https://ctan.org/pkg/texapi), [YaX](https://ctan.org/pkg/yax) and [Gates](https://ctan.org/pkg/gates), as stated in `DEPENDS.txt`.
You may find an example of usage in the `blottest.[tex|pdf]` files, and some basic documentation in `blopentype.md`.
# Bugs and caveats
The macros are still barely documented, and massively keep the names of their parent (`PiTeX`) package; that may be fixed some day.
The font database is loaded at `$HOME/texmf/luatex/foundry/readable.txt`; it is not updated automatically after installing new fonts: you have to edit it manually, or else delete/rename(backup) it and rerun LuaTeX to rebuild it.
The character table for each typeface is stored in the `luatex/foundry` directory as a flat `lua` file; it would be nice to have it compiled as a `luac` file to save some space.
Good luck, and happy LuaTeXing
# Authors
Version 0.0.0 (C) 2022 Paul Isambert (massively) and Luis Rivera (minor surgeon; or rather: kludger).
LaTeX Project Public License, LPPL Version 1.3c 2008-05-04 or MIT License
December 28, 2022
|