Not sure if you ever found anything, but I had the same problem, and I found the following link to save a life ... it has italics, is centered, correctly substantiated, the lion is justified and emphasizes. The only thing missing is the bold font, which is pretty simple anyway.
php-imagestringright-center-italic
From the site: "They even work with fonts that you download using ImageLoadFont, which is pretty surprising! You can even nest effects to create, for example, italicized lines with outgoing trends!"
Theres an optional end parameter for each function, $ ImageString, which contains a string representing the function used to write the string. So, for example, if we want to write a right-aligned line in italics, we can use the following code:
ImageStringRight($image, 5, 25, 'Right + Italic', $col, 5, 'ImageStringItalic');
MichaelICE
source share