]> git.parisson.com Git - pdf.js.git/commitdiff
Use empty strings in mac shadow encodings array instead of undefined.
authorKalervo Kujala <kkujala@>
Mon, 12 Sep 2011 19:04:43 +0000 (22:04 +0300)
committerKalervo Kujala <kkujala@>
Mon, 12 Sep 2011 19:04:43 +0000 (22:04 +0300)
pdf.js

diff --git a/pdf.js b/pdf.js
index ca252242c0c5903a53ea284215427e63a8e26602..58dc28bcd7056b907296808fcd687eb2d9973343 100644 (file)
--- a/pdf.js
+++ b/pdf.js
@@ -3801,44 +3801,47 @@ var Encodings = {
     ]);
   },
   get MacExpertEncoding() {
-    return shadow(this, 'MacExpertEncoding', [,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
-      'space', 'exclamsmall', 'Hungarumlautsmall', 'centoldstyle',
-      'dollaroldstyle', 'dollarsuperior', 'ampersandsmall', 'Acutesmall',
-      'parenleftsuperior', 'parenrightsuperior', 'twodotenleader',
-      'onedotenleader', 'comma', 'hyphen', 'period', 'fraction',
-      'zerooldstyle', 'oneoldstyle', 'twooldstyle', 'threeoldstyle',
-      'fouroldstyle', 'fiveoldstyle', 'sixoldstyle', 'sevenoldstyle',
-      'eightoldstyle', 'nineoldstyle', 'colon', 'semicolon',,
-      'threequartersemdash',, 'questionsmall',,,,, 'Ethsmall',,, 'onequarter',
-      'onehalf', 'threequarters', 'oneeighth', 'threeeighths', 'fiveeighths',
-      'seveneighths', 'onethird', 'twothirds',,,,,,, 'ff', 'fi', 'fl', 'ffi',
-      'ffl', 'parenleftinferior',, 'parenrightinferior', 'Circumflexsmall',
+    return shadow(this, 'MacExpertEncoding', [, '', '', '', '', '', '', '', '',
+      '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
+      '', '', '', '', '', 'space', 'exclamsmall', 'Hungarumlautsmall',
+      'centoldstyle', 'dollaroldstyle', 'dollarsuperior', 'ampersandsmall',
+      'Acutesmall', 'parenleftsuperior', 'parenrightsuperior',
+      'twodotenleader', 'onedotenleader', 'comma', 'hyphen', 'period',
+      'fraction', 'zerooldstyle', 'oneoldstyle', 'twooldstyle',
+      'threeoldstyle', 'fouroldstyle', 'fiveoldstyle', 'sixoldstyle',
+      'sevenoldstyle', 'eightoldstyle', 'nineoldstyle', 'colon', 'semicolon',
+      '', 'threequartersemdash', '', 'questionsmall', '', '', '', '',
+      'Ethsmall', '', '', 'onequarter', 'onehalf', 'threequarters',
+      'oneeighth', 'threeeighths', 'fiveeighths', 'seveneighths', 'onethird',
+      'twothirds', '', '', '', '', '', '', 'ff', 'fi', 'fl', 'ffi', 'ffl',
+      'parenleftinferior', '', 'parenrightinferior', 'Circumflexsmall',
       'hypheninferior', 'Gravesmall', 'Asmall', 'Bsmall', 'Csmall', 'Dsmall',
       'Esmall', 'Fsmall', 'Gsmall', 'Hsmall', 'Ismall', 'Jsmall', 'Ksmall',
       'Lsmall', 'Msmall', 'Nsmall', 'Osmall', 'Psmall', 'Qsmall', 'Rsmall',
       'Ssmall', 'Tsmall', 'Usmall', 'Vsmall', 'Wsmall', 'Xsmall', 'Ysmall',
-      'Zsmall', 'colonmonetary', 'onefitted', 'rupiah', 'Tildesmall',,,
-      'asuperior', 'centsuperior',,,,, 'Aacutesmall', 'Agravesmall',
-      'Acircumflexsmall', 'Adieresissmall', 'Atildesmall', 'Aringsmall',
-      'Ccedillasmall', 'Eacutesmall', 'Egravesmall', 'Ecircumflexsmall',
-      'Edieresissmall', 'Iacutesmall', 'Igravesmall', 'Icircumflexsmall',
-      'Idieresissmall', 'Ntildesmall', 'Oacutesmall', 'Ogravesmall',
-      'Ocircumflexsmall', 'Odieresissmall', 'Otildesmall', 'Uacutesmall',
-      'Ugravesmall', 'Ucircumflexsmall', 'Udieresissmall',, 'eightsuperior',
-      'fourinferior', 'threeinferior', 'sixinferior', 'eightinferior',
-      'seveninferior', 'Scaronsmall',, 'centinferior', 'twoinferior',,
-      'Dieresissmall',, 'Caronsmall', 'osuperior', 'fiveinferior',,
-      'commainferior', 'periodinferior', 'Yacutesmall',, 'dollarinferior',,
-      'Thornsmall',, 'nineinferior', 'zeroinferior', 'Zcaronsmall', 'AEsmall',
-      'Oslashsmall', 'questiondownsmall', 'oneinferior', 'Lslashsmall',,,,,,,
-      'Cedillasmall',,,,,, 'OEsmall', 'figuredash', 'hyphensuperior',,,,,
-      'exclamdownsmall',, 'Ydieresissmall',, 'onesuperior', 'twosuperior',
-      'threesuperior', 'foursuperior', 'fivesuperior', 'sixsuperior',
-      'sevensuperior', 'ninesuperior', 'zerosuperior',, 'esuperior',
-      'rsuperior', 'tsuperior',,, 'isuperior', 'ssuperior', 'dsuperior',,,,,,
-      'lsuperior', 'Ogoneksmall', 'Brevesmall', 'Macronsmall', 'bsuperior',
-      'nsuperior', 'msuperior', 'commasuperior', 'periodsuperior',
-      'Dotaccentsmall', 'Ringsmall'
+      'Zsmall', 'colonmonetary', 'onefitted', 'rupiah', 'Tildesmall', '', '',
+      'asuperior', 'centsuperior', '', '', '', '', 'Aacutesmall',
+      'Agravesmall', 'Acircumflexsmall', 'Adieresissmall', 'Atildesmall',
+      'Aringsmall', 'Ccedillasmall', 'Eacutesmall', 'Egravesmall',
+      'Ecircumflexsmall', 'Edieresissmall', 'Iacutesmall', 'Igravesmall',
+      'Icircumflexsmall', 'Idieresissmall', 'Ntildesmall', 'Oacutesmall',
+      'Ogravesmall', 'Ocircumflexsmall', 'Odieresissmall', 'Otildesmall',
+      'Uacutesmall', 'Ugravesmall', 'Ucircumflexsmall', 'Udieresissmall', '',
+      'eightsuperior', 'fourinferior', 'threeinferior', 'sixinferior',
+      'eightinferior', 'seveninferior', 'Scaronsmall', '', 'centinferior',
+      'twoinferior', '', 'Dieresissmall', '', 'Caronsmall', 'osuperior',
+      'fiveinferior', '', 'commainferior', 'periodinferior', 'Yacutesmall', '',
+      'dollarinferior', '', 'Thornsmall', '', 'nineinferior', 'zeroinferior',
+      'Zcaronsmall', 'AEsmall', 'Oslashsmall', 'questiondownsmall',
+      'oneinferior', 'Lslashsmall', '', '', '', '', '', '', 'Cedillasmall', '',
+      '', '', '', '', 'OEsmall', 'figuredash', 'hyphensuperior', '', '', '',
+      '', 'exclamdownsmall', '', 'Ydieresissmall', '', 'onesuperior',
+      'twosuperior', 'threesuperior', 'foursuperior', 'fivesuperior',
+      'sixsuperior', 'sevensuperior', 'ninesuperior', 'zerosuperior', '',
+      'esuperior', 'rsuperior', 'tsuperior', '', '', 'isuperior', 'ssuperior',
+      'dsuperior', '', '', '', '', '', 'lsuperior', 'Ogoneksmall',
+      'Brevesmall', 'Macronsmall', 'bsuperior', 'nsuperior', 'msuperior',
+      'commasuperior', 'periodsuperior', 'Dotaccentsmall', 'Ringsmall'
     ]);
   },
   get MacRomanEncoding() {