Font styling

Image magick is not a word processor and so the font manipulations are very basic.

Showing font styled to Italic

ImageMagick for some reason as well is changing the font to bold !

<?php 
exec
("convert -size 230x130 xc:lightblue -font verdana.ttf -pointsize 25 -style italic \\
-draw \"gravity NorthWest fill black text 0,0 'The quick red fox
jumped over the
lazy brown dog'\" font1.png"
);
?>

Bold and italic text

Showing font underlined

<?php 
exec
("convert -size 230x130 xc:lightblue -font verdana.ttf -pointsize 25 \\
-draw \"gravity NorthWest fill black Decorate Underline text 0,0 'The quick red fox
jumped over the
lazy brown dog.'\" font2.png"
);
?>

Underlined text