thread-pond / signature-pad

A jQuery plugin for assisting in the creation of an HTML5 canvas based signature pad. Records the drawn signature in JSON for later regeneration.
BSD 3-Clause "New" or "Revised" License
727 stars 292 forks source link

Typed signature results in blank data #139

Closed bartwaggoner2000 closed 9 years ago

bartwaggoner2000 commented 9 years ago

Is it possible to treat both typed signatures and drawn signatures the same? If I type the signature (it draws a signature of what I type using the Journal font) nothing is ever put into the hidden form field in the example (accept-signature.html). I guess the typed signature does not use the same canvas as the the drawn one?

I would like to get the signature data as an image regardless of whether it was typed or drawn. Thanks - otherwise this API looks promising!

thomasjbradley commented 9 years ago

There isn't a way to treat them the same, because I can't generate a coordinate system for the typed letters.

But, it is possible to write text into a canvas element, if you're only interested in the bitmap version of the signature.

bartwaggoner2000 commented 9 years ago

That would be fine - if I could get a GIF/PNG bitmap for typed signatures, but a vector one for drawn signatures. Whatever I could use in an IMG tag to show that the person entered their signature. Maybe this isn't the place to discuss this, and I will likely be excoriated, but I have seen no commercial products like yours, and we would gladly contribute funds for enhancements if you are interested.

thomasjbradley commented 9 years ago

I appreciate the offer, but I don't take on any freelance work; I'm too busy with my teaching job.