Browse Source

use strict in the utils/ too

Chris Jones 14 years ago
parent
commit
8c802e5025
  1. 11
      utils/cffStandardStrings.js
  2. 5
      utils/fonts_utils.js

11
utils/cffStandardStrings.js

@ -1,5 +1,10 @@ @@ -1,5 +1,10 @@
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- /
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
"use strict";
var CFFStrings = [
".notdef",
".notdef",
"space",
"exclam",
"quotedbl",
@ -490,7 +495,7 @@ var CFFDictDataMap = { @@ -490,7 +495,7 @@ var CFFDictDataMap = {
},
"10": {
name: "StdHW"
},
},
"11": {
name: "StdVW"
},
@ -597,7 +602,7 @@ var CFFDictDataMap = { @@ -597,7 +602,7 @@ var CFFDictDataMap = {
},
"18": {
name: "Private",
operand: "number number"
operand: "number number"
},
"19": {
name: "Subrs"

5
utils/fonts_utils.js

@ -1,3 +1,8 @@ @@ -1,3 +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";
/**
* The Type2 reader code below is only used for debugging purpose since Type2
* is only a CharString format and is never used directly as a Font file.

Loading…
Cancel
Save