From 2588eb054b04545ac008e1de59771c8c2ab1b93b Mon Sep 17 00:00:00 2001 From: Andreas Gal Date: Fri, 17 Jun 2011 20:17:10 -0700 Subject: [PATCH] IsInteger => IsInt --- pdf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdf.js b/pdf.js index 56ab89017..4a083c343 100644 --- 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++) {