brinley / jSignature

jQuery plugin for adding web signature functionality
http://www.unbolt.net/jSignature
693 stars 530 forks source link

jSignature setData does not scale with the signature box #67

Open onexdata opened 10 years ago

onexdata commented 10 years ago

If I restore a signature using...

$sig.jSignature("setData", 'data:'+base30Signature);

The restored signature does not scale with the signature box, so if the box is smaller when I restore the signature than it originally was when I called the getData method, the signature will be clipped, if the box is larger, the signature will be too small.

Is scaling restored signatures just not implemented, or am I missing something?

brinley commented 10 years ago

Its not implemented. You can scale a non editable signature by using CSS widths to resize but not an editable signature.

On Wed, Aug 27, 2014 at 2:48 AM, onexdata notifications@github.com wrote:

If I restore a signature using...

$sig.jSignature("setData", 'data:'+base30Signature);

The restored signature does not scale with the signature box, so if the box is smaller, the signature will be clipped, if the box is larger, the signature will be too small.

Is scaling restored signatures just not implemented, or am I missing something?

— Reply to this email directly or view it on GitHub https://github.com/brinley/jSignature/issues/67.

Brinley Ang Software Developer & Consultant http://www.unbolt.net