Questions tagged [imagettftext]
174 questions
0
votes
1 answer
Unicode-compatible alternative to imagettftext()
What other server-side tools are out there for creating textual images from TTF/OTF font files? I can't get imagettftext() to render Chinese/Japanese glyphs (even when defining the input string using HTML entities such as $#44032; as suggested here:…

David Jones
- 10,117
- 28
- 91
- 139
-1
votes
1 answer
Image keeps flickering when updating
Try to resize the image, or change the color. the image flickers:
Click here to see a live example (Choose a font then click update)
PHP:

user1042002
- 1
- 1
-1
votes
1 answer
PHP imagettftext() cannot display Unicode Plane 1 characters
I'm trying to render Egyptian Hyeroglyphs from Unicode Plane 1 (U+13000..U+1342F) as images with PHP imagettftext()
Here is my code:
$img = imagecreatetruecolor(240, 240);
imagettftext($img, 60, 0, 48, 192, 0,…

Crypto
- 181
- 10
-1
votes
1 answer
PHP 7 update and imagejpg text character broken
I'm using imagettftext and imagepng or imagejpeg.
The character problem does not occur when I use it in PHP 5.6 version.
But when I upgrade to php 7 this problem starts.
The characters of other country languages appear corrupted. No change in…

yigit
- 75
- 6
-1
votes
1 answer
how to enable font ligatures in php GD library
greetings fellow programmers,
I'm making images from text, and I was ordered to make it support ligatures.
is it possible to do so?
I'm using imagettftext & imagettfbbox from GD library

soulless
- 1
- 1
-1
votes
1 answer
Error When using imagettftext() with '&' in text
I am using below code to write text and change color,size,font and add it on image.

RJParikh
- 4,096
- 1
- 19
- 36
-2
votes
1 answer
Create an image with dynamic content
I need your help! My intention is to create a dynamic image with changing content, at the moment I am working with PHP and imagettftext, the User can access it via „banner.php“ and use it as image, because the header defines it as image.
But now I…

Apple Web
- 55
- 8
-2
votes
1 answer
no one answered php imagettftext issue about unicode rendering
I am having a html form text input and php script to convert that sinhala language text to an image file using imagettftext(). but some characters are not rendered properly..
I have used the very same unicode font...
this is my php…

Wikum Ekanayake
- 121
- 1
- 3
-2
votes
1 answer
Imagettftext not working with wordwrap/explode
Hi i have a code here which previously works. it gets text input and prints the input using imagettftext on a jpg. i used word wrap and explode to assign where the text should appear. I have seen other post almost similar to this but i dont want to…

Jben Kaye
- 171
- 1
- 5
- 16