-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
SVG output, text is not centered vertically #66
Comments
|
Hi @neoteknic, sorry I little bit busy in recent weeks. Any help welcome for this issue :) |
I extend Avatar class and in method toSvg add 4px to "y" coordinate.
With this modification content is now aligned correctly
|
Just found https://github.com/meyfa/php-svg, will try to refactor the svg part using it. |
Poor (but fast 😶) workaround: |
Fixed in 4.1.4 |
With SVG output, text is not centered vertically.
Chrome : not well centered
Edge : text is on top
Solution : correct default value + add parameters to give an offset X, Y to the text.
version : 2.1.0
The text was updated successfully, but these errors were encountered: