filmcraft/docs
Brandon Thomas 9953befe28 Fonts: use craft-fonts as an optional build input
crates/text/build.rs embeds the fonts of a storytold/craft-fonts checkout
named by CRAFT_FONTS_DIR as filmcraft_text::fonts::CRAFT_FONTS (native:
all of them; wasm32: only BIZ UDPGothic Regular). Unset, CRAFT_FONTS is
empty and nothing changes. A bad CRAFT_FONTS_DIR is a warning, or an
error with CRAFT_FONTS_REQUIRED=1. Never a Cargo dependency, no network.

- UI: the Japanese faces are the last fallback of every egui font family
  (BIZ UDPGothic first, Bold first in the semibold/medium families).
- Text engine: registered after the bundled faces; fallback_for picks
  them after the bundled faces and before system faces (Mincho for serif
  text, Gothic otherwise, nearest weight).
- Tests: Japanese glyphs (no tofu) in the UI and title paths, skipped
  without craft-fonts; the theme works with CRAFT_FONTS empty.
- Release: every build job checks out craft-fonts at a pinned commit and
  builds with CRAFT_FONTS_DIR + CRAFT_FONTS_REQUIRED; packages carry
  OFL-<family>.txt. NOTICE, ATTRIBUTION.md (optional build input), AGENTS.md,
  CLAUDE.md, README and docs/contributing.md describe it.

FilmCraft main bundles no Japanese font, so no font files move.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 11:40:29 -04:00
..
adr HW1: platform crate + VideoToolbox H.264/HEVC hardware decode (#30) 2026-10-05 04:53:28 -04:00
brand Licensing: standard LICENSE files, NOTICE, ArtCraft brand terms 2026-10-04 10:05:12 -04:00
images README: new hero — Apollo 11 documentary edit (public domain) 2026-10-01 11:17:08 -04:00
agents.md Merge pull request #45 from punkhop/fix/move-linked-partners 2026-10-06 11:37:38 -04:00
architecture.md Merge pull request #46 from punkhop/fix/export-interchange-unknown-format 2026-10-06 11:36:36 -04:00
captions.md fix: document that the caption track margin is a fraction of the frame height 2026-10-01 11:18:06 -04:00
contributing.md Fonts: use craft-fonts as an optional build input 2026-10-06 11:40:29 -04:00
control-protocol.md Merge pull request #41 from justjohn12345/pr/decode-memory 2026-10-06 11:38:03 -04:00
graphics.md M10.7: Essential Graphics Browse/Edit UI, template/font dialogs, golden scenes 2026-10-03 01:02:24 -04:00
keyboard.md M12.7: Project panel and Media Browser parity 2026-10-03 02:14:31 -04:00
monitors.md M4.7: View menu and monitor view options: Paused Resolution, 1/16, High Quality Playback, Display Mode (alpha/RGB channels, comparison, multi-camera, source audio waveform, video+waveform split), Magnification with panning, rulers, guides (drag from rulers, lock, clear, Add Guide, templates in preferences), Snap in Program Monitor 2026-10-01 23:23:27 -04:00
performance.md MEM4: decode into the planes of evicted frames 2026-10-05 16:57:16 -04:00
project-files.md engine: a project saved after an interchange import opens again 2026-10-05 20:28:54 -07:00
testing.md codecs: resampled MP4 audio reads apply the edit list once 2026-10-05 19:29:26 -07:00
transcripts.md M10.5: Text-based editing / transcripts 2026-10-01 23:25:49 -04:00
web.md Crash and blank-screen fixes (desktop + web) 2026-10-04 00:26:19 -04:00