From e2ec66afb81fc83bf90ffdfc9b049c7d3a604eab Mon Sep 17 00:00:00 2001 From: "Kreinsen, Moritz" <moritz.kreinsen@uni-hamburg.de> Date: Sun, 12 Mar 2023 20:03:18 +0000 Subject: [PATCH] Update index.php --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 6c29c72..01e1df4 100644 --- a/index.php +++ b/index.php @@ -15,7 +15,7 @@ $text = 'A longer text which should wrap automatically'; $width = 640 * 0.25 - 10; $height = 640 * 0.33333 - 10; - $textSize = min($width, $height) * 0.4; + $textSize = min($width, $height) * 0.32; $style = 'background-color: #FFCCCB; font-size: ' . $textSize . 'px; font-family: sans-serif; fill: #000000; text-anchor: middle; dominant-baseline: middle; word-wrap: break-word; text-align: center;'; $words = explode(' ', $text); -- GitLab