mirror of
https://github.com/storytold/font-preview-service.git
synced 2026-11-20 06:20:53 +01:00
- 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.