Skip to content

My text starts from bottom and ends to top #21

@mohamedshuaau

Description

@mohamedshuaau

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions