title: jsPDF autotable right align x position bug
body: <p>My example (just click "export PDF"): <a href="https://jsfiddle.net/j9vaqpnz/7/" rel="noreferrer">https://jsfiddle.net/j9vaqpnz/7/</a></p>
  
  <p>My example exports my table which looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/60auU.png" rel="noreferrer"><img src="https://i.stack.imgur.com/60auU.png" alt="enter image description here"></a>
  .</p>
  
  <p>The table then is exported to pdf using libraries <a href="https://github.com/MrRio/jsPDF" rel="noreferrer">jspdf</a> and <a href="https://github.com/simonbengtsson/jsPDF-AutoTable" rel="noreferrer">autotable</a>.</p>
  
  <p>During the export function I use the "drawCell" function and for all columns which contain a number i right-align them as follows:</p>
  
  <pre><code>drawCell: function (cell, data) {
                  var col = data.column.index;
                  if(col==3 || col==5 || col==6 || col==7 || col==8 || col==9 || col==10){
                      cell.styles.halign = 'right';
                  }
              }
  </code></pre>
  
  <p>.</p>
  
  <p>Problem: In the PDF all the columns which I have right-aligned are positioned inproperly, it looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/kHJFh.png" rel="noreferrer"><img src="https://i.stack.imgur.com/kHJFh.png" alt="enter image description here"></a></p>
  
  <p>Is this a bug? Or maybe I am using "drawCell" inproperly?</p>