Files
copilot-swe-agent[bot]andCorgiking0127 3c198cbdbc feat: bundle fonts locally for reliable SVG embedding in GitHub README
- Add fonts/ directory for bundled woff2/ttf font files
- Add scripts/download-fonts.js to download all 8 fonts from Google Fonts
- loadFont() now reads from local fonts/ first, falls back to runtime fetch
- Extract _fontFaceCSS() helper supporting both woff2 and truetype formats
- Resolve FONTS_DIR via __dirname and process.cwd() for Vercel compatibility

Co-authored-by: Corgiking0127 <54504179+Corgiking0127@users.noreply.github.com>
2026-03-07 17:34:28 +00:00
..