[hb-ft] Fix --font-grade

This commit is contained in:
Behdad Esfahbod 2023-02-07 13:47:04 -07:00
parent 560a65e456
commit 61a1a88940
1 changed files with 1 additions and 1 deletions

View File

@ -881,7 +881,7 @@ hb_ft_draw_glyph (hb_font_t *font,
if (x_shift || y_shift)
{
auto &outline = ft_face->glyph->outline;
for (auto &point : hb_iter (outline.points, outline.contours[outline.n_contours - 1]))
for (auto &point : hb_iter (outline.points, outline.contours[outline.n_contours - 1] + 1))
{
point.x += x_shift;
point.y += y_shift;