mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 19:01:54 +00:00
On a fresh Fedora dev container lint-mermaid failed most files with ConnectionClosedError: the browser aborted with `FATAL:third_party/skia/src/ports/SkFontMgr_FontConfigInterface.cpp:163] Not implemented.` in its font fallback, because the host had no font at all. install-lint provisions the browser's libraries by soname on dnf, yum and pacman, and a font is not a soname; apt-get gets fonts through puppeteer's --install-deps. It looked load-dependent because lint-packages installs rpmlint in the same parallel phase, which pulls fontconfig and Noto Sans: renders crashed until that transaction landed, and every later run was green. With every font removed, lint-mermaid alone fails 274 of 289 files the same way. ensure() now installs the distribution's font provide when /usr/share/fonts holds no file (`font(:lang=en)` on dnf and yum, `ttf-font` on pacman), and browser_installed() counts the font, so the install-lint stamp is not fresh on a font-less host. Closes #1154 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>