Download & Extend

here's an easy way to add underlining

Project:Signwriter
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

lines 989-993 in signwriter.module changed to

else {
imagettftext($im, $fontsize, $angle, $x + abs($box[0]), $y + abs($box[5]), $foreground, $fontfile, $line);

if ($underline) imagettftext($im, $fontsize, $angle, $x + abs($box[0]), $y + abs($box[5]), $foreground, $fontfile, '______________________________');
}

It just adds the '_' across the width of the image (overtop the original text), which makes a pretty good underline!

Comments

#1

Version:6.x-1.1» 6.x-2.x-dev

changing version

nobody click here