mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
use strict mode and fix violators
This commit is contained in:
parent
7f102a189e
commit
92fa629d10
5 changed files with 27 additions and 11 deletions
5
fonts.js
5
fonts.js
|
@ -1,6 +1,8 @@
|
|||
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- /
|
||||
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
|
||||
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
* Maximum file size of the font.
|
||||
*/
|
||||
|
@ -1042,7 +1044,8 @@ var Type1Parser = function() {
|
|||
this.extractFontProgram = function t1_extractFontProgram(aStream) {
|
||||
var eexecString = decrypt(aStream, kEexecEncryptionKey, 4);
|
||||
var subrs = [], glyphs = [];
|
||||
var inSubrs = inGlyphs = false;
|
||||
var inGlyphs = false;
|
||||
var inSubrs = false;
|
||||
var glyph = "";
|
||||
|
||||
var token = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue