Fix callEnsure all dependencies available for canvg-using extensions (server_moinsave, server_opensave)

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2853 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Brett Zamir 2014-05-22 03:47:10 +00:00
parent 18c9fd0932
commit 25a8d9a851
1 changed files with 3 additions and 3 deletions

View File

@ -1147,12 +1147,12 @@ var saveAs;
var units = 'pt'; // curConfig.baseUnit; // We could use baseUnit, but that is presumably not intended for export purposes
executeJSPDFCallback(function () {
var doc = jsPDF(
var doc = jsPDF({
orientation: orientation,
unit: units,
format: [res.w, res.h]
// compressPdf: true
); // Todo: Give options to use predefined jsPDF formats like "a4", etc. from pull-down (with option to keep customizable)
// , compressPdf: true
}); // 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({
title: docTitle/*,