Based on my own tests, imagettftext with FreeType2 can use both OpenType as well as TrueType fonts. The attached patch adds .otf to the scanning regexp so they can be used.

CommentFileSizeAuthor
otf.patch4.59 KBSteven

Comments

brunodbo’s picture

Is it possible to add this (support for OpenType fonts) to the Textimage module (pretty please)?

deciphered’s picture

Status: Needs review » Reviewed & tested by the community

Patch is good, will be committed shortly and available in the next dev build.

deciphered’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD.
Will be available shortly in 5.x-2.x-dev.

deciphered’s picture

Status: Fixed » Closed (fixed)