Skip to content

Commit e447b17

Browse files
committed
fix placeholder detector after xEnd fix
1 parent c961d41 commit e447b17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fontconverter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ Font.prototype.debugChars = function() {
476476
and removes them */
477477
Font.prototype.removeUnifontPlaceholders = function() {
478478
this.glyphs.forEach(glyph => {
479-
if (glyph.xStart==1 && glyph.yStart==1 && glyph.xEnd==15 && glyph.yEnd==14) {
479+
if (glyph.xStart==1 && glyph.yStart==1 && glyph.xEnd==14 && glyph.yEnd==14) {
480480
let borderEmpty = true;
481481
let edgesFilled = true;
482482
for (let x=1;x<15;x++) {

0 commit comments

Comments
 (0)