I'm getting incorrect image widths, coming up a bit shorter than they should using DIN Schrift font.
It becomes a bit of a problem when there's a large amount of text, as the end gets cut off.
I know gd library isn't perfect at calculating font widths (also, I'm using all uppercase on my headers).

Am looking at extending the width of the image by something like *= 1.2
Haven't yet found where I can do this in the module code.

Comments

leon kessler’s picture

I changed this on line 898 in signwriter.module
signwriter_create_image($image, $profile, $image->calcwidth * 1.2, $image->calcheight * ($profile->threestate ? 3 : 1));

Works okay now, some images come out a little too long but that doesn't really affect anything.