]> git.parisson.com Git - pdf.js.git/commitdiff
Fix some indentations issues
authorVivien Nicolas <21@vingtetun.org>
Wed, 6 Jul 2011 00:51:17 +0000 (02:51 +0200)
committerVivien Nicolas <21@vingtetun.org>
Wed, 6 Jul 2011 00:51:17 +0000 (02:51 +0200)
fonts.js

index e61a8f666c77e89c3d281d3538f9e0ccdd078102..5abc13fd38fc87e6240e5202f7af84c13d7c3142 100644 (file)
--- a/fonts.js
+++ b/fonts.js
@@ -643,17 +643,16 @@ var Font = (function Font() {
     var ulUnicodeRange3 = 0;
     var ulUnicodeRange4 = 0;
 
-       var charset = properties.charset;
+    var charset = properties.charset;
     if (charset && charset.length) {
-           var firstCharIndex = null;
-           var lastCharIndex = 0;
+      var firstCharIndex = null;
+      var lastCharIndex = 0;
 
-      for (var i = 1; i < charset.length; i++) {
-             var code = GlyphsUnicode[charset[i]];
-                   if (firstCharIndex > code || !firstCharIndex)
+      for (var i = 1; i < charset.length; i++) {var code = GlyphsUnicode[charset[i]];
+        if (firstCharIndex > code || !firstCharIndex)
                      firstCharIndex = code;
-                   if (lastCharIndex < code)
-                     lastCharIndex = code;
+        if (lastCharIndex < code)
+          lastCharIndex = code;
 
              var position = getUnicodeRangeFor(code);
         if (position < 32) {