Try to avoid error "Start point cannot equalendpoint" Happened when trying to apply a gradient to an empty text, let's use at least 1 gradient step always to avoid this.