1
0
Fork 0
mirror of synced 2024-07-01 04:30:59 +12:00

Changed font weight

This commit is contained in:
Eldad Fux 2020-06-11 11:41:03 +03:00
parent 8da4200fe2
commit ce3f2037a3

View file

@ -444,8 +444,8 @@ $utopia->get('/v1/avatars/initials')
$draw = new \ImagickDraw(); $draw = new \ImagickDraw();
$fontSize = min($width, $height) / 2; $fontSize = min($width, $height) / 2;
$draw->setFont(__DIR__."/../../../public/fonts/poppins-v9-latin-600.ttf"); $draw->setFont(__DIR__."/../../../public/fonts/poppins-v9-latin-500.ttf");
$image->setFont(__DIR__."/../../../public/fonts/poppins-v9-latin-600.ttf"); $image->setFont(__DIR__."/../../../public/fonts/poppins-v9-latin-500.ttf");
$draw->setFillColor(new \ImagickPixel($color)); $draw->setFillColor(new \ImagickPixel($color));
$draw->setFontSize($fontSize); $draw->setFontSize($fontSize);