-
Notifications
You must be signed in to change notification settings - Fork 50
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
My text starts from bottom and ends to top #21
Comments
Are you able to provide me an example PHP file so I can see the issue.
I've never tried it with RTL.
…On Sun., 12 Aug. 2018, 7:01 pm armagedan, ***@***.***> wrote:
When the image is saved and rendered out, my text starts from the bottom
and end at top of the bounding box. How can I solve this? Here is the code:
$image->textBox($ascii, array(
'width' => 500,
'fontSize' => 24,
'alignHorizontal' => 'center',
'alignVertical' => 'center',
));
I am not using height as I do not want to auto scale the font/text. Also I
am using a RTL font/language here. Is that the reason why it is behaving
so? I have text which is supposed to be aligned RTL.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#21>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAi4gxC1CYS7PhgQpyhJK7cVZUHCoNtAks5uP-7dgaJpZM4V5dva>
.
|
Here is the full code and I will attach the links as well. This was created in Laravel and this is a fresh sample I made this morning.
As you can see, the text starts from right to left. Not left to right. And I think that is the issue. The text is rendered out as ltr as well. Here is the output image: It is not as it is on the text above. As in, when the text goes out of bound (500px), it starts the line as is as on the editor above. But it is RTL language. Hope this makes sense. Let me know if you need more details. |
Any updates on this issue? |
When the image is saved and rendered out, my text starts from the bottom and end at top of the bounding box. How can I solve this? Here is the code:
I am not using height as I do not want to auto scale the font/text. Also I am using a RTL font/language here. Is that the reason why it is behaving so? I have text which is supposed to be aligned RTL.
The text was updated successfully, but these errors were encountered: