Files
Ruben Vereecken 0cd6c782d0 Set FONTCONFIG_FILE to isolate bundled fonts on Linux (#561)
Without FONTCONFIG_FILE, fontconfig loads the system's /etc/fonts/fonts.conf
which includes system font directories. This means system fonts leak into the
rendering pipeline for fallback glyphs (emoji, CJK, etc.), even though the
font enumeration whitelist hides them from JavaScript. The result is
environment-dependent font metrics that differ between machines with different
system font packages installed.

Generate a runtime fontconfig at ~/.cache/camoufox/fontconfig/ that resolves
the bundled font directory absolutely (the bundled fonts.conf uses
prefix="cwd" relative paths which break under Playwright), and point
FONTCONFIG_FILE at it.
2026-04-14 20:21:42 -04:00
..
2026-03-07 02:21:15 -06:00
2026-03-07 02:21:15 -06:00
2025-03-21 14:59:04 +01:00
2024-12-17 17:58:18 +00:00
2026-03-07 02:21:15 -06:00
2024-12-17 17:57:50 +00:00