laravolt/avatar

Text vertical alignment issue with imagick and toBase64

Closed this issue · 5 comments

Had to switch to imagick for better image quality but now text is not aligned properly inside the icon with toBase64, text was aligned correctly with GD Library without any issues. I am using an Arabic font.

Image of Avatar

Thanks :)

on
vendor\laravolt\avatar\src\Avatar.php
line 394
change
$y = $this->height / 2;
to
$y = $this->height / 3;

Having this same issue using the default font and just returning as a response. GD works without issue.

uyab commented

Probably related issue: php-imagine/Imagine#32

has anyone solved?