Skip to content
Permalink
Browse files

Fix textbox preview and readonly value incorrect top padding for http…

  • Loading branch information
gologames committed Mar 16, 2020
1 parent 85e66f0 commit 72834122541127bcad7ff13e72b74039a76bb262
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/jspdf_plugins/acroform.js
@@ -222,7 +222,8 @@ var jsPDF = window.jsPDF || require('jspdf');
fontSize--;
var textHeight = calculateFontSpace("3", formObject, fontSize).height;
var startY = (formObject.multiline) ? height - fontSize : (height - textHeight) / 2;
startY += lineSpacing;
var topPadding = 0.27;
startY += lineSpacing * topPadding;
var startX;

var lastY = startY;

0 comments on commit 7283412

Please sign in to comment.
You can’t perform that action at this time.