Changing glyphNameMap and GlyphUnicode lookup order
This commit is contained in:
parent
f74772f40e
commit
c6662d12e1
@ -2235,9 +2235,8 @@ var Font = (function FontClosure() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// MacRoman encoding address by re-encoding the cmap table
|
// MacRoman encoding address by re-encoding the cmap table
|
||||||
unicode = glyphName in GlyphsUnicode ?
|
unicode = glyphName in this.glyphNameMap ?
|
||||||
GlyphsUnicode[glyphName] :
|
this.glyphNameMap[glyphName] : GlyphsUnicode[glyphName];
|
||||||
this.glyphNameMap[glyphName];
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
warn('Unsupported font type: ' + this.type);
|
warn('Unsupported font type: ' + this.type);
|
||||||
|
1
test/pdfs/issue1096.pdf.link
Normal file
1
test/pdfs/issue1096.pdf.link
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://www.faithaliveresources.org/Content/Site135/FilesSamples/105315400440pdf_00000009843.pdf
|
@ -402,6 +402,14 @@
|
|||||||
"link": true,
|
"link": true,
|
||||||
"type": "eq"
|
"type": "eq"
|
||||||
},
|
},
|
||||||
|
{ "id": "issue1096",
|
||||||
|
"file": "pdfs/issue1096.pdf",
|
||||||
|
"md5": "7f75d2b4b93c78d401ff39e8c1b00612",
|
||||||
|
"rounds": 1,
|
||||||
|
"pageLimit": 10,
|
||||||
|
"link": true,
|
||||||
|
"type": "eq"
|
||||||
|
},
|
||||||
{ "id": "liveprogramming",
|
{ "id": "liveprogramming",
|
||||||
"file": "pdfs/liveprogramming.pdf",
|
"file": "pdfs/liveprogramming.pdf",
|
||||||
"md5": "7bd4dad1188232ef597d36fd72c33e52",
|
"md5": "7bd4dad1188232ef597d36fd72c33e52",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user