Enlarge watermark badge for preview/encode parity and document video title fields.

Fix double-scaled badge preview, bump default watermark to 42% frame width, and update OSS docs/API for title vs songTitle separation and shared typography.
This commit is contained in:
Atakan Doğan Özban
2026-07-27 18:28:07 +02:00
parent 9404efd86c
commit 0c9b07bcb5
8 changed files with 76 additions and 45 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ function testFontSizesMatchLayout() {
const width = 1280;
assert.equal(titleFontSizeForWidth(width), Math.max(22, Math.round(width * 0.032)));
assert.equal(artistFontSizeForWidth(width), Math.max(16, Math.round(width * 0.02)));
assert.equal(watermarkFontSizeForWidth(width), Math.max(16, Math.round(width * 0.018)));
assert.equal(watermarkFontSizeForWidth(width), Math.max(22, Math.round(width * 0.028)));
}
function testPreviewScaling() {