A neat, unadvertised trick we have in California: if you use the online voter registration, it uses the signature you have on file with the DMV. That signature is printed as an image on your driver licence, allowing you to have an exact exemplar of what they will be comparing to.