Captions: allow manually loading a custom font for Font Family
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 48/100
研究方向
Start by locating the captions Font Family picker and reading how it currently gets and saves its options; inspect the caption settings in project-config.json to understand the existing fontFamily behavior. The issue offers two possible approaches—importing a font file or entering a family name—so clarify which to implement before starting. Done means a custom font can be selected in the UI and used for caption rendering.
由索引模型根據 Issue 內容生成。
描述
The Font Family selector for captions only offers a handful of hardcoded options (System Sans-Serif, System Serif, Inter, Georgia, Times New Roman). There's no way to use a custom typeface from the UI.
I understand that listing every installed system font could bloat the picker and add rendering/lookup overhead — that makes sense. A lighter alternative would be enough:
- A "Load font…" / custom font option in the Font Family picker, where I can manually import a font file (ttf/otf) or type a font family name that Cap then resolves via NSFont/CoreText.
That way the default list stays small, but manual font loading becomes possible for people who want a consistent brand typeface on their captions.
Editing project-config.json and setting fontFamily in the caption settings does work today (the renderer resolves it fine), but it's undocumented and has to be repeated for every project — a built-in option would be much appreciated.
- 主要語言
- Rust
- 星號
- 24.2k
- 分支
- 2.2k
- 平均合併
- 1 天 2 分鐘
- 30 天內合併 PR
- 677
環境準備
- 提供 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
CapSoftware/Cap 的其他 Issue
-
Web player intercepts ⌘⇧M and blocks Chrome profile-menu shortcut可能已有人在做 @AatmanAJ 於 16 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 80/100
CapSoftware/Cap#2596 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
CapSoftware/Cap#2384 · 2 則留言 ·
維護者通常 1 天內回覆
-
Dashboard pagination causes full page reloads on self-hosted Cap可能已有人在做 @Dewin 於 44 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 88/100
CapSoftware/Cap#2305 · 2 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
CapSoftware/Cap#1714 · 3 則留言 ·
維護者通常 1 天內回覆
-
難度 3/5 1-2 天 新手友好度 52/100
CapSoftware/Cap#3606 · 1 則留言 ·
維護者通常 1 天內回覆
相似的 Issue
-
Published SDL drops input-field default values: a non-null field with a default renders as required未關閉
難度 2/5 1-3 小時 新手友好度 75/100
維護者通常 1 天內回覆
-
色変記事を追加未關閉priority middle
難度 1/5 1 小時以內 新手友好度 62/100
KATO-Hiro/AtCoderClans#12955 ·
維護者通常 1 天內回覆
-
auto:doc-drift auto:producer
難度 2/5 1-3 小時 新手友好度 60/100
fritzprix/libr-agent#2458 ·
維護者通常 1 天內回覆
-
Flaky test: terminal parity an_exited_shell_says_how reads status before the exit is seen可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 2/5 1-3 小時 新手友好度 72/100
yantrikos/yantrik-os#1048 ·
維護者通常 1 天內回覆
-
rust
難度 2/5 1-3 小時 新手友好度 80/100
vllm-project/vllm#64939 ·
維護者通常 1 天內回覆