clipwright/fonts/clipwright-fontmap.conf
pedro-bento ace54c6e77
Some checks are pending
CI / backend-tests (push) Waiting to run
CI / frontend-build (push) Waiting to run
chore: rename OpenShorts to Clipwright
- Rebrand all text, package/CLI (clipwright_cli), env vars (CLIPWRIGHT_*),
  localStorage keys, Docker container names and webhook header
- Rename/relocate assets, skills/, n8n examples, font map; delete dead MCP
  metadata (server.json, glama.json) and generated egg-info
- Canonical site URL -> https://git.pbento.pt/pedro-bento/clipwright
- Preserve fork provenance (upstream OpenShorts attribution in README/NOTICE/LICENSE)
2026-10-04 18:07:07 +01:00

16 lines
1,006 B
XML

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!--
Map the font names offered by the subtitle UI to fonts that actually exist
in the Docker image. Without this, libass silently falls back to DejaVu for
every choice, so the burned captions never match the in-browser preview
(github issue #57). Liberation fonts are metric-compatible substitutes for
the MS core fonts; Anton is the standard open substitute for Impact.
-->
<fontconfig>
<alias binding="strong"><family>Verdana</family><prefer><family>Liberation Sans</family></prefer></alias>
<alias binding="strong"><family>Arial</family><prefer><family>Liberation Sans</family></prefer></alias>
<alias binding="strong"><family>Helvetica</family><prefer><family>Liberation Sans</family></prefer></alias>
<alias binding="strong"><family>Georgia</family><prefer><family>Liberation Serif</family></prefer></alias>
<alias binding="strong"><family>Impact</family><prefer><family>Anton</family></prefer></alias>
</fontconfig>