Download & Extend

No text appears when shadow offset is 0

Project:Signwriter
Version:6.x-2.0-beta2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I tried to set the X offset for the shadow to 0 and the image doesn't display (it's generated but there is no text). The same thing happens with a Y offset of 0.

By changing the if statements in the signwriter_render_text() function to use <= and >= it works.

Cheers,

Nick