mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Renames Symbol encoding name.
This commit is contained in:
parent
f7b2b2e1f2
commit
104d89856d
2 changed files with 3 additions and 3 deletions
|
@ -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')) {
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue