Fix some indentations issues
This commit is contained in:
parent
8738b72f30
commit
2271f7df7f
15
fonts.js
15
fonts.js
@ -643,17 +643,16 @@ var Font = (function Font() {
|
|||||||
var ulUnicodeRange3 = 0;
|
var ulUnicodeRange3 = 0;
|
||||||
var ulUnicodeRange4 = 0;
|
var ulUnicodeRange4 = 0;
|
||||||
|
|
||||||
var charset = properties.charset;
|
var charset = properties.charset;
|
||||||
if (charset && charset.length) {
|
if (charset && charset.length) {
|
||||||
var firstCharIndex = null;
|
var firstCharIndex = null;
|
||||||
var lastCharIndex = 0;
|
var lastCharIndex = 0;
|
||||||
|
|
||||||
for (var i = 1; i < charset.length; i++) {
|
for (var i = 1; i < charset.length; i++) {var code = GlyphsUnicode[charset[i]];
|
||||||
var code = GlyphsUnicode[charset[i]];
|
if (firstCharIndex > code || !firstCharIndex)
|
||||||
if (firstCharIndex > code || !firstCharIndex)
|
|
||||||
firstCharIndex = code;
|
firstCharIndex = code;
|
||||||
if (lastCharIndex < code)
|
if (lastCharIndex < code)
|
||||||
lastCharIndex = code;
|
lastCharIndex = code;
|
||||||
|
|
||||||
var position = getUnicodeRangeFor(code);
|
var position = getUnicodeRangeFor(code);
|
||||||
if (position < 32) {
|
if (position < 32) {
|
||||||
|
Loading…
Reference in New Issue
Block a user