From: Vivien Nicolas <21@vingtetun.org> Date: Wed, 6 Jul 2011 00:51:17 +0000 (+0200) Subject: Fix some indentations issues X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=2271f7df7fd31c2f15bfbcc4e24ff1a724995a44;p=pdf.js.git Fix some indentations issues --- diff --git a/fonts.js b/fonts.js index e61a8f6..5abc13f 100644 --- 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) {