diff --git a/index.php b/index.php index 6c29c72e23a535f4441603bfde1259d17ebbcdb9..01e1df45578d24689282db0d670bc309304e6d27 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);