Files
aiongg 489d31c9cb Precompute: survive panics, bound threads and memory, fsync before switching, gate on failures
- A face that panics is reported as a failure; the worker goes on.
- SYNC_THREADS (default available parallelism, at most 4) and SYNC_MEMORY_MB (default 512, summed
  font sizes in progress; a larger face runs alone).
- Every file and directory of the generation is fsynced before current switches.
- Above SYNC_MAX_FAILED_PERCENT (default 1) of faces failing, the generation is dropped, current
  stays, the report goes to manifest.failed.json and sync exits non-zero.
- A run with nothing new for current's index and sources keeps current (SYNC_FORCE=1 rebuilds).
- After a switch: keep the two previous generations, remove older ones and stale root manifests;
  removal problems are warnings.
- Check (c): the shaped sample has the same glyph count and summed advance as the full font at
  the subset's location.
- Index data precompute cannot use is listed in precompute.warnings.
2026-10-27 04:50:31 +00:00
..