The Wayback Machine - https://web.archive.org/web/20201026224004/https://github.com/Intervention/image/pull/919
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

Bugfix: Imagic Font.php when using default "top" vertical allignmnent #919

Open
wants to merge 1 commit into
base: master
from

Conversation

@stevenbuehner
Copy link

@stevenbuehner stevenbuehner commented Dec 6, 2018

When setting vertical position to "top" ImageMagic requires the "Vertical offset in pixels to the baseline of text" according to
http://php.net/manual/en/imagick.annotateimage.php.
Therefore we actually need the yOffset + the characterHeight

When setting vertical position to "top" ImageMagic requires the "Vertical offset in pixels to the baseline of text" according to 
http://php.net/manual/en/imagick.annotateimage.php.
Therefore we actually need the yOffset + the characterHeight
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.