Home > Enterprise >  how to enable font ligatures in php GD library
how to enable font ligatures in php GD library

Time:09-28

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

CodePudding user response:

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

CodePudding user response:

This library may help you spell the text correctlyhttps://www.npmjs.com/package/persianjs

  • Related