]> git.parisson.com Git - pdf.js.git/commitdiff
Nit: Rename 's' by 'charcode'
authornotmasteryet <async.processingjs@yahoo.com>
Wed, 12 Oct 2011 22:37:55 +0000 (17:37 -0500)
committernotmasteryet <async.processingjs@yahoo.com>
Wed, 12 Oct 2011 22:37:55 +0000 (17:37 -0500)
fonts.js

index f31c52b7672b85870a482783d4f574ceb49a7717..d4183f146a9ff8cf7162f15752964171b52c3edf 100644 (file)
--- a/fonts.js
+++ b/fonts.js
@@ -2565,9 +2565,9 @@ var Type2CFF = (function type2CFF() {
         }
         if (!inDifferences) {
           var code = properties.firstChar + i;
-          for (var s in encoding) {
+          for (var charcode in encoding) {
             if (encoding[s] == i) {
-              code = s | 0;
+              code = charcode | 0;
               break;
             }
           }