Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text vertical alignment issue with imagick and toBase64 #76

Closed
knoufal opened this issue May 29, 2019 · 5 comments
Closed

Text vertical alignment issue with imagick and toBase64 #76

knoufal opened this issue May 29, 2019 · 5 comments

Comments

@knoufal
Copy link

knoufal commented May 29, 2019

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 :)

@AngusDV
Copy link

AngusDV commented Dec 14, 2019

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

@aaronhuisinga
Copy link

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

@uyab
Copy link
Contributor

uyab commented Jun 16, 2021

Probably related issue: php-imagine/Imagine#32

@uyab uyab closed this as completed Feb 9, 2022
@danpalmieri
Copy link

has anyone solved?

@danpalmieri
Copy link

(Avatar.php) toSvg() has dy=".1em"
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/dy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants