@@ -36,7 +36,7 @@ |
||
36 | 36 | foreach (file($csvPath) as $line) { |
37 | 37 | if ($line[0] == 'f') continue; |
38 | 38 | $widths = explode(',', trim($line)); |
39 | - if (count(range(33, 126)) + 3 == count($widths)) { |
|
39 | + if (count(range(33, 126))+3 == count($widths)) { |
|
40 | 40 | $fontName = array_shift($widths); |
41 | 41 | $fontSize = array_shift($widths); |
42 | 42 | $boldMulti = array_shift($widths); |
@@ -34,7 +34,9 @@ |
||
34 | 34 | public static function loadWidthsFromCsv($csvPath) |
35 | 35 | { |
36 | 36 | foreach (file($csvPath) as $line) { |
37 | - if ($line[0] == 'f') continue; |
|
37 | + if ($line[0] == 'f') { |
|
38 | + continue; |
|
39 | + } |
|
38 | 40 | $widths = explode(',', trim($line)); |
39 | 41 | if (count(range(33, 126)) + 3 == count($widths)) { |
40 | 42 | $fontName = array_shift($widths); |