Skip to content

Commit

Permalink
Remove silly + 1
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed Sep 6, 2023
1 parent b9e742e commit 3a13684
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fontra/client/core/glyph-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ function makeMissingComponentPlaceholderGlyph() {

function makeEmptyComponentPlaceholderGlyph() {
const path = new VarPackedPath();
const numSq = 11;
const numSq = 12;
const side = 14;
const dist = side * 2;

Expand All @@ -840,7 +840,7 @@ function makeEmptyComponentPlaceholderGlyph() {
path.closePath();
}

for (const i of range(numSq + 1)) {
for (const i of range(numSq)) {
sq(dist * i, 0);
sq(0, dist + dist * i);
sq(dist + dist * i, 12 * dist);
Expand Down

0 comments on commit 3a13684

Please sign in to comment.