Revert to using point regardless of base unit (with comment)

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2798 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Brett Zamir 2014-04-08 11:27:05 +00:00
parent b1ea39db46
commit 75928e9b63
1 changed files with 1 additions and 1 deletions

View File

@ -1111,7 +1111,7 @@ TODOS
if (type === 'PDF') {
var res = svgCanvas.getResolution();
var orientation = res.w > res.h ? 'landscape' : 'portrait';
var units = curConfig.baseUnit;
var units = 'pt'; // curConfig.baseUnit; // We could use baseUnit, but that is presumably not intended for export purposes
var doc = new jsPDF(orientation, units, [res.w, res.h]); // Todo: Give options to use predefined jsPDF formats like "a4", etc. from pull-down (with option to keep customizable)
var docTitle = svgCanvas.getDocumentTitle();
doc.setProperties({