fix: embed portable static fonts for CV preview and PDF fidelity

This commit is contained in:
cesnimda
2026-10-24 19:27:10 +02:00
parent 57dd88322a
commit e80815f8df
50 changed files with 1114 additions and 7 deletions
@@ -0,0 +1,21 @@
"""Reuse the qualified isolated renderer lifecycle; retain each remediation attempt separately."""
import importlib.util
import re
import subprocess
import sys
from pathlib import Path
HERE = Path(__file__).resolve().parent
spec = importlib.util.spec_from_file_location('qualified_linux_runner', HERE.parent/'p9-requal-01/linux-run.py')
runner = importlib.util.module_from_spec(spec)
spec.loader.exec_module(runner)
if len(sys.argv) != 2 or not re.fullmatch(r'[a-z0-9-]+', sys.argv[1]):
raise SystemExit('Supply a unique lowercase attempt name; prior evidence is never overwritten.')
runner.OUT = runner.ROOT/'.artifacts/p9-remed-02'/sys.argv[1]/'linux'
if sys.argv[1] != 'baseline':
runner.IMAGE = 'jobtracker-p9-remed-api:fonts'
runner.VERSION = 'p9-remed-02-fonts'
runner.CONFIG = '../docs/redesign/phase-9/p9-remed-02/linux/playwright.config.ts'
runner.COMMIT = subprocess.check_output(['rtk','proxy','git','rev-parse','HEAD'],text=True).strip()
runner.main()