fix: off by one in fit_glyphs (#474)
This commit is contained in:
parent
cc73876fc9
commit
29ac278e76
8 changed files with 15 additions and 15 deletions
|
|
@ -1441,7 +1441,7 @@ impl ShapeLine {
|
|||
break;
|
||||
}
|
||||
glyphs_w += g_w;
|
||||
glyph_end = glyph_idx;
|
||||
glyph_end = glyph_idx + 1;
|
||||
}
|
||||
(glyph_end, glyphs_w)
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue