]> git.parisson.com Git - pdf.js.git/commitdiff
Use empty strings in symbols shadow encodings array instead of undefined.
authorKalervo Kujala <kkujala@>
Tue, 13 Sep 2011 17:47:13 +0000 (20:47 +0300)
committerKalervo Kujala <kkujala@>
Tue, 13 Sep 2011 17:47:13 +0000 (20:47 +0300)
pdf.js

diff --git a/pdf.js b/pdf.js
index a9c0cfc206ab720babe4f0e8edac3f41410733ce..b54bdce74535e220da424b36f4ef8c45e0bbd460 100644 (file)
--- a/pdf.js
+++ b/pdf.js
@@ -3950,27 +3950,28 @@ var Encodings = {
     ]);
   },
   get symbolsEncoding() {
-    return shadow(this, 'symbolsEncoding',
-      [,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
-      'space', 'exclam', 'universal', 'numbersign', 'existential', 'percent',
-      'ampersand', 'suchthat', 'parenleft', 'parenright', 'asteriskmath',
-      'plus', 'comma', 'minus', 'period', 'slash', 'zero', 'one', 'two',
-      'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'colon',
-      'semicolon', 'less', 'equal', 'greater', 'question', 'congruent',
-      'Alpha', 'Beta', 'Chi', 'Delta', 'Epsilon', 'Phi', 'Gamma', 'Eta',
-      'Iota', 'theta1', 'Kappa', 'Lambda', 'Mu', 'Nu', 'Omicron', 'Pi',
-      'Theta', 'Rho', 'Sigma', 'Tau', 'Upsilon', 'sigma1', 'Omega', 'Xi',
-      'Psi', 'Zeta', 'bracketleft', 'therefore', 'bracketright',
+    return shadow(this, 'symbolsEncoding', ['', '', '', '', '', '', '', '', '',
+      '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
+      '', '', '', '', '', 'space', 'exclam', 'universal', 'numbersign',
+      'existential', 'percent', 'ampersand', 'suchthat', 'parenleft',
+      'parenright', 'asteriskmath', 'plus', 'comma', 'minus', 'period',
+      'slash', 'zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven',
+      'eight', 'nine', 'colon', 'semicolon', 'less', 'equal', 'greater',
+      'question', 'congruent', 'Alpha', 'Beta', 'Chi', 'Delta', 'Epsilon',
+      'Phi', 'Gamma', 'Eta', 'Iota', 'theta1', 'Kappa', 'Lambda', 'Mu', 'Nu',
+      'Omicron', 'Pi', 'Theta', 'Rho', 'Sigma', 'Tau', 'Upsilon', 'sigma1',
+      'Omega', 'Xi', 'Psi', 'Zeta', 'bracketleft', 'therefore', 'bracketright',
       'perpendicular', 'underscore', 'radicalex', 'alpha', 'beta', 'chi',
       'delta', 'epsilon', 'phi', 'gamma', 'eta', 'iota', 'phi1', 'kappa',
       'lambda', 'mu', 'nu', 'omicron', 'pi', 'theta', 'rho', 'sigma', 'tau',
       'upsilon', 'omega1', 'omega', 'xi', 'psi', 'zeta', 'braceleft', 'bar',
-      'braceright', 'similar',,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 'Euro',
-      'Upsilon1', 'minute', 'lessequal', 'fraction', 'infinity', 'florin',
-      'club', 'diamond', 'heart', 'spade', 'arrowboth', 'arrowleft', 'arrowup',
-      'arrowright', 'arrowdown', 'degree', 'plusminus', 'second',
-      'greaterequal', 'multiply', 'proportional', 'partialdiff', 'bullet',
-      'divide', 'notequal', 'equivalence', 'approxequal', 'ellipsis',
+      'braceright', 'similar', '', '', '', '', '', '', '', '', '', '', '', '',
+      '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
+      '', '', '', 'Euro', 'Upsilon1', 'minute', 'lessequal', 'fraction',
+      'infinity', 'florin', 'club', 'diamond', 'heart', 'spade', 'arrowboth',
+      'arrowleft', 'arrowup', 'arrowright', 'arrowdown', 'degree', 'plusminus',
+      'second', 'greaterequal', 'multiply', 'proportional', 'partialdiff',
+      'bullet', 'divide', 'notequal', 'equivalence', 'approxequal', 'ellipsis',
       'arrowvertex', 'arrowhorizex', 'carriagereturn', 'aleph', 'Ifraktur',
       'Rfraktur', 'weierstrass', 'circlemultiply', 'circleplus', 'emptyset',
       'intersection', 'union', 'propersuperset', 'reflexsuperset', 'notsubset',
@@ -3981,10 +3982,11 @@ var Encodings = {
       'arrowdbldown', 'lozenge', 'angleleft', 'registersans', 'copyrightsans',
       'trademarksans', 'summation', 'parenlefttp', 'parenleftex',
       'parenleftbt', 'bracketlefttp', 'bracketleftex', 'bracketleftbt',
-      'bracelefttp', 'braceleftmid', 'braceleftbt', 'braceex',, 'angleright',
-      'integral', 'integraltp', 'integralex', 'integralbt', 'parenrighttp',
-      'parenrightex', 'parenrightbt', 'bracketrighttp', 'bracketrightex',
-      'bracketrightbt', 'bracerighttp', 'bracerightmid', 'bracerightbt'
+      'bracelefttp', 'braceleftmid', 'braceleftbt', 'braceex', '',
+      'angleright', 'integral', 'integraltp', 'integralex', 'integralbt',
+      'parenrighttp', 'parenrightex', 'parenrightbt', 'bracketrighttp',
+      'bracketrightex', 'bracketrightbt', 'bracerighttp', 'bracerightmid',
+      'bracerightbt'
     ]);
   },
   get zapfDingbatsEncoding() {