how to enable font ligatures in php GD library

152 Views Asked by At

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

1

There are 1 best solutions below

0
davoodf1995 On

GD is only one library for image processing. PHP also has other library extensions:

ImageMagick a native php extension to create and modify images using the ImageMagick API.

Gmagick a php extension to create, modify and obtain meta information of images using the GraphicsMagick API.

Cairo a native PHP extension to create and modify graphics using the Cairo Graphics Library.

Exif With the exif extension you are able to work with image meta data.

Here is comparison: http://kore-nordmann.de/blog/comparision_of_php_image_libraries.html