diff --git a/src/core/evaluator.js b/src/core/evaluator.js index c11713323..286cb3ef4 100644 --- a/src/core/evaluator.js +++ b/src/core/evaluator.js @@ -960,7 +960,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() { // The Symbolic attribute can be misused for regular fonts // Heuristic: we have to check if the font is a standard one also if (!!(flags & FontFlags.Symbolic)) { - baseEncoding = !properties.file ? Encodings.symbolsEncoding : + baseEncoding = !properties.file ? Encodings.SymbolSetEncoding : Encodings.MacRomanEncoding; } if (dict.has('Encoding')) { diff --git a/src/core/fonts.js b/src/core/fonts.js index f4f8ef9a4..aeae1bfb2 100644 --- a/src/core/fonts.js +++ b/src/core/fonts.js @@ -226,8 +226,8 @@ var Encodings = { 'oacute', 'ocircumflex', 'otilde', 'odieresis', 'divide', 'oslash', 'ugrave', 'uacute', 'ucircumflex', 'udieresis', 'yacute', 'thorn', 'ydieresis'], - symbolsEncoding: ['', '', '', '', '', '', '', '', '', '', '', '', '', '', '', - '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', + SymbolSetEncoding: ['', '', '', '', '', '', '', '', '', '', '', '', '', '', + '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'space', 'exclam', 'universal', 'numbersign', 'existential', 'percent', 'ampersand', 'suchthat', 'parenleft', 'parenright', 'asteriskmath', 'plus', 'comma', 'minus', 'period', 'slash', 'zero', 'one', 'two', 'three', 'four',