|
@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {};
|
|
|
}
|
|
|
|
|
|
-PDFJS.version = '1.0.490';
|
|
|
-PDFJS.build = '5d4eebc';
|
|
|
+PDFJS.version = '1.0.492';
|
|
|
+PDFJS.build = '62e6265';
|
|
|
|
|
|
(function pdfjsWrapper() {
|
|
|
// Use strict in our context only - users might not want it
|
|
@@ -28198,13 +28198,14 @@ var Font = (function FontClosure() {
|
|
|
break;
|
|
|
}
|
|
|
var customNames = [];
|
|
|
+ var strBuf = [];
|
|
|
while (font.pos < end) {
|
|
|
var stringLength = font.getByte();
|
|
|
- var string = '';
|
|
|
+ strBuf.length = stringLength;
|
|
|
for (i = 0; i < stringLength; ++i) {
|
|
|
- string += String.fromCharCode(font.getByte());
|
|
|
+ strBuf[i] = String.fromCharCode(font.getByte());
|
|
|
}
|
|
|
- customNames.push(string);
|
|
|
+ customNames.push(strBuf.join(''));
|
|
|
}
|
|
|
glyphNames = [];
|
|
|
for (i = 0; i < numGlyphs; ++i) {
|