Browse Source

Fix some indentations issues

Vivien Nicolas 14 years ago
parent
commit
2271f7df7f
  1. 15
      fonts.js

15
fonts.js

@ -643,17 +643,16 @@ var Font = (function Font() { @@ -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) {

Loading…
Cancel
Save