mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-19 19:25:41 +02:00
fcft: max/space advance fields have been renamed
This commit is contained in:
parent
60a8bc7fb0
commit
e5ef81a064
1 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ begin_expose(struct exposable *exposable)
|
|||
|
||||
/* Calculate the size we need to render the glyphs */
|
||||
for (int i = 0; i < e->num_glyphs; i++)
|
||||
exposable->width += e->kern_x[i] + e->glyphs[i]->x_advance;
|
||||
exposable->width += e->kern_x[i] + e->glyphs[i]->advance.x;
|
||||
|
||||
return exposable->width;
|
||||
}
|
||||
|
@ -135,7 +135,7 @@ expose(const struct exposable *exposable, pixman_image_t *pix, int x, int y, int
|
|||
pixman_image_unref(src);
|
||||
}
|
||||
|
||||
x += glyph->x_advance;
|
||||
x += glyph->advance.x;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue