-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
Found bug with diacritic symbols and cyrillic font using textBox method.
Lines containing the letters with extension element (diacritic) differ in height with the others.
Generating code:
$poster = new PHPImage();
$poster->setDimensionsFromImage($image)->draw($image);
$poster->resize(1200, 630, true);
$poster->setFont(get_template_directory() . '/assets/fonts/formular/formular-black.ttf');
$poster->setTextColor([255, 255, 255]);
$poster->textBox($caption, [
'x' => 48,
'y' => 275,
'width' => 1000,
'fontSize' => 64
]);
@kus
How we can fix it? I will be glad of any help.
Metadata
Metadata
Assignees
Labels
No labels
