commit 7c83418a1e83c800962af9aa92bfdaf5413f8164
parent 35b107c7e5f3f8682d97c65c0e1ebc91759cce2f
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Mon, 26 Oct 2026 13:26:23 -0400
Brand intro: the URL lines take the generated table's cap height
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/umtool/report-to-video/chrome-intro.mjs b/umtool/report-to-video/chrome-intro.mjs
@@ -19,7 +19,7 @@
// `introCues`, so the tests read every time it uses.
import { INTRO_BEATS, INTRO_SITE_DEFAULTS, INTRO_STYLE_MARK, introSitePrefix } from "yt-dlp-transcript-common/lib/report/intro.mjs";
import { pageDuration } from "./deck.mjs";
-import { INTRO_GLYPHS, INTRO_GLYPH_UPEM } from "./intro-glyphs.mjs";
+import { INTRO_GLYPHS, INTRO_GLYPH_CAP, INTRO_GLYPH_UPEM } from "./intro-glyphs.mjs";
const r3 = (v) => Math.round(v * 1000) / 1000;
@@ -311,7 +311,7 @@ export function swapPlan({ parts, site, url = INTRO_SITE_DEFAULTS.url, urlPlace
if ((url === "both" || url === "site") && siteUrl) texts.push({ text: siteUrl, tone: "site" });
if (url === "both" || url === "project") texts.push({ text: PROJECT_URL_TEXT, tone: "project" });
const urls = [];
- const cap = 686 / INTRO_GLYPH_UPEM;
+ const cap = INTRO_GLYPH_CAP / INTRO_GLYPH_UPEM;
let bottom = parts.bottom;
if (texts.length) {
const unit = (t) => setRun(t, { size: 100, track: 2 });