]> git.parisson.com Git - pdf.js.git/commitdiff
IsInteger => IsInt
authorAndreas Gal <andreas.gal@gmail.com>
Sat, 18 Jun 2011 03:17:10 +0000 (20:17 -0700)
committerAndreas Gal <andreas.gal@gmail.com>
Sat, 18 Jun 2011 03:17:10 +0000 (20:17 -0700)
pdf.js

diff --git a/pdf.js b/pdf.js
index 56ab890176fa78bbc7aa0e04e61deca18db0dd0e..4a083c343f4bc1ed63f2ec46a442df7af701e658 100644 (file)
--- a/pdf.js
+++ b/pdf.js
@@ -1935,7 +1935,7 @@ var CanvasGraphics = (function() {
 
                     var widths = xref.fetchIfRef(fontDict.get("Widths"));
                     var firstChar = xref.fetchIfRef(fontDict.get("FirstChar"));
-                    assertWellFormed(IsArray(widths) && IsInteger(firstChar),
+                    assertWellFormed(IsArray(widths) && IsInt(firstChar),
                                      "invalid font Widths or FirstChar");
                     var charset = [];
                     for (var j = 0; j < widths.length; j++) {