|
|
|
@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {}));
@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {}));
|
|
|
|
|
// Use strict in our context only - users might not want it
|
|
|
|
|
'use strict'; |
|
|
|
|
|
|
|
|
|
var pdfjsVersion = '1.5.345'; |
|
|
|
|
var pdfjsBuild = '10f9f11'; |
|
|
|
|
var pdfjsVersion = '1.5.347'; |
|
|
|
|
var pdfjsBuild = '50d6e4f'; |
|
|
|
|
|
|
|
|
|
var pdfjsFilePath = |
|
|
|
|
typeof document !== 'undefined' && document.currentScript ? |
|
|
|
@ -46863,7 +46863,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
@@ -46863,7 +46863,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
|
|
|
|
|
// the differences array only contains adobe standard or symbol set names,
|
|
|
|
|
// in pratice it seems better to always try to create a toUnicode
|
|
|
|
|
// map based of the default encoding.
|
|
|
|
|
var toUnicode, charcode; |
|
|
|
|
var toUnicode, charcode, glyphName; |
|
|
|
|
if (!properties.composite /* is simple font */) { |
|
|
|
|
toUnicode = []; |
|
|
|
|
var encoding = properties.defaultEncoding.slice(); |
|
|
|
@ -46871,12 +46871,18 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
@@ -46871,12 +46871,18 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
|
|
|
|
|
// Merge in the differences array.
|
|
|
|
|
var differences = properties.differences; |
|
|
|
|
for (charcode in differences) { |
|
|
|
|
encoding[charcode] = differences[charcode]; |
|
|
|
|
glyphName = differences[charcode]; |
|
|
|
|
if (glyphName === '.notdef') { |
|
|
|
|
// Skip .notdef to prevent rendering errors, e.g. boxes appearing
|
|
|
|
|
// where there should be spaces (fixes issue5256.pdf).
|
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
encoding[charcode] = glyphName; |
|
|
|
|
} |
|
|
|
|
var glyphsUnicodeMap = getGlyphsUnicode(); |
|
|
|
|
for (charcode in encoding) { |
|
|
|
|
// a) Map the character code to a character name.
|
|
|
|
|
var glyphName = encoding[charcode]; |
|
|
|
|
glyphName = encoding[charcode]; |
|
|
|
|
// b) Look up the character name in the Adobe Glyph List (see the
|
|
|
|
|
// Bibliography) to obtain the corresponding Unicode value.
|
|
|
|
|
if (glyphName === '') { |
|
|
|
|