2

I want to use imagettftext() to put Emoji on image (some users use Emoji as username, such as Summer).

Unheilig
  • 16,196
  • 193
  • 68
  • 98
refear99
  • 1,217
  • 3
  • 10
  • 13

1 Answers1

0

I'm trying to accomplish exactly the same, but based on cleong's answer at this post I'm assuming that I won't be possible.

Here is what he said:

I don't think it's going to work. GD doesn't currently recognize UCS-4 CMAP. It'll fall back to using a UCS-2 CMAP. Characters beyond the BMP aren't reachable.

Community
  • 1
  • 1
Igor Silva
  • 141
  • 1
  • 9