Closed olivervogel closed 7 months ago
Describe the bug Emoji symbols are either not rendered with the text() method (Imagick) or appear in cryptic form (GD).
text()
It is possible that no solution is possible here, as the functionality is not planned with either GD or Imagick.
Code Example
$image->text('emoji: 💩', 65, 65, function ($font) { $font->size(50); $font->file('test.ttf'); });
Expected behavior Emoji symbols should be rendered together with the entered text with all drivers.
Images
Environment (please complete the following information):
As it turns out, this is currently not possible at all with GD[1]. 🙁 It should work with Imagick if the font includes the emojis.
[1] https://stackoverflow.com/questions/32391005/php-function-imagettftext-to-write-text-with-smileys#answer-32466289
Describe the bug Emoji symbols are either not rendered with the
text()
method (Imagick) or appear in cryptic form (GD).It is possible that no solution is possible here, as the functionality is not planned with either GD or Imagick.
Code Example
Expected behavior Emoji symbols should be rendered together with the entered text with all drivers.
Images
Result with GD
Result with Imagick
Environment (please complete the following information):