Skip to content

Commit 626d79a

Browse files
committed
1.3.5
1 parent 05dc915 commit 626d79a

File tree

3 files changed

+6330
-23
lines changed

3 files changed

+6330
-23
lines changed

dist/jspdf.debug.js

+24-22
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ var asyncGenerator = function () {
129129

130130
/** @preserve
131131
* jsPDF - PDF Document creation from JavaScript
132-
* Version 1.3.4 Built on 2017-09-14T14:57:05.755Z
133-
* CommitID 83bc1be576
132+
* Version 1.3.5 Built on 2017-09-14T15:10:09.569Z
133+
* CommitID 05dc915baf
134134
*
135135
* Copyright (c) 2010-2016 James Hall <[email protected]>, https://github.com/MrRio/jsPDF
136136
* 2010 Aaron Spike, https://github.com/acspike
@@ -3009,7 +3009,8 @@ AcroForm.Appearance.internal = {
30093009
var cross = {
30103010
x1: { // upperLeft
30113011
x: (width - a) / 2,
3012-
y: (height - a) / 2 + a },
3012+
y: (height - a) / 2 + a //height - borderPadding
3013+
},
30133014
x2: { // lowerRight
30143015
x: (width - a) / 2 + a,
30153016
y: (height - a) / 2 //borderPadding
@@ -3020,7 +3021,8 @@ AcroForm.Appearance.internal = {
30203021
},
30213022
x4: { // upperRight
30223023
x: (width - a) / 2 + a,
3023-
y: (height - a) / 2 + a }
3024+
y: (height - a) / 2 + a //height - borderPadding
3025+
}
30243026
};
30253027

30263028
return cross;
@@ -9343,24 +9345,24 @@ MIT license.
93439345
'Times-Italic': encodingBlock
93449346
// , 'Symbol'
93459347
// , 'ZapfDingbats'
9346-
} }
9347-
/**
9348-
Resources:
9349-
Font metrics data is reprocessed derivative of contents of
9350-
"Font Metrics for PDF Core 14 Fonts" package, which exhibits the following copyright and license:
9351-
9352-
Copyright (c) 1989, 1990, 1991, 1992, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.
9353-
9354-
This file and the 14 PostScript(R) AFM files it accompanies may be used,
9355-
copied, and distributed for any purpose and without charge, with or without
9356-
modification, provided that all copyright notices are retained; that the AFM
9357-
files are not distributed without this file; that all modifications to this
9358-
file or any of the AFM files are prominently noted in the modified file(s);
9359-
and that this paragraph is not modified. Adobe Systems has no responsibility
9360-
or obligation to support the use of the AFM files.
9361-
9362-
*/
9363-
,
9348+
}
9349+
/**
9350+
Resources:
9351+
Font metrics data is reprocessed derivative of contents of
9352+
"Font Metrics for PDF Core 14 Fonts" package, which exhibits the following copyright and license:
9353+
9354+
Copyright (c) 1989, 1990, 1991, 1992, 1993, 1997 Adobe Systems Incorporated. All Rights Reserved.
9355+
9356+
This file and the 14 PostScript(R) AFM files it accompanies may be used,
9357+
copied, and distributed for any purpose and without charge, with or without
9358+
modification, provided that all copyright notices are retained; that the AFM
9359+
files are not distributed without this file; that all modifications to this
9360+
file or any of the AFM files are prominently noted in the modified file(s);
9361+
and that this paragraph is not modified. Adobe Systems has no responsibility
9362+
or obligation to support the use of the AFM files.
9363+
9364+
*/
9365+
},
93649366
fontMetrics = { 'Unicode': {
93659367
// all sizing numbers are n/fontMetricsFractionOf = one font size unit
93669368
// this means that if fontMetricsFractionOf = 1000, and letter A's width is 476, it's

0 commit comments

Comments
 (0)