fix by musicland ai and new club advantages

This commit is contained in:
2026-02-25 11:36:28 +01:00
parent 5bdf268ebf
commit 0618afa3a4
4 changed files with 193 additions and 257 deletions
+2 -2
View File
@@ -42,7 +42,8 @@ const buildBrandSvg = ({ width = 1024, height = 1024, text = BRAND_TEXT } = {})
const rectX = Math.max(0, Math.round(safeWidth - margin - rectWidth))
const rectY = Math.max(0, Math.round(safeHeight - margin - rectHeight))
const textX = rectX + rectWidth / 2
const textY = rectY + rectHeight / 2
const baselineShift = Math.round(fontSize * 0.3)
const textY = rectY + rectHeight / 2 + baselineShift
const rectRadius = Math.max(6, Math.round(rectHeight * 0.35))
return Buffer.from(`
@@ -65,7 +66,6 @@ const buildBrandSvg = ({ width = 1024, height = 1024, text = BRAND_TEXT } = {})
x="${textX}"
y="${textY}"
text-anchor="middle"
dominant-baseline="middle"
font-family="${BRAND_FONT_FAMILY}"
font-size="${fontSize}"
font-style="italic"