1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 01:58:06 +02:00

Fix typos

This commit is contained in:
Wojciech Maj 2018-04-01 23:20:41 +02:00
parent 2f63ca0705
commit ea2850e9a7
16 changed files with 30 additions and 30 deletions

View file

@ -853,7 +853,7 @@ var CMapFactory = (function CMapFactoryClosure() {
function parseCMap(cMap, lexer, fetchBuiltInCMap, useCMap) {
var previous;
var embededUseCMap;
var embeddedUseCMap;
objLoop: while (true) {
try {
var obj = lexer.getObj();
@ -872,7 +872,7 @@ var CMapFactory = (function CMapFactoryClosure() {
break objLoop;
case 'usecmap':
if (isName(previous)) {
embededUseCMap = previous.name;
embeddedUseCMap = previous.name;
}
break;
case 'begincodespacerange':
@ -901,10 +901,10 @@ var CMapFactory = (function CMapFactoryClosure() {
}
}
if (!useCMap && embededUseCMap) {
// Load the usecmap definition from the file only if there wasn't one
if (!useCMap && embeddedUseCMap) {
// Load the useCMap definition from the file only if there wasn't one
// specified.
useCMap = embededUseCMap;
useCMap = embeddedUseCMap;
}
if (useCMap) {
return extendCMap(cMap, fetchBuiltInCMap, useCMap);