diff options
| -rw-r--r-- | src/ftcrfont.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ftcrfont.c b/src/ftcrfont.c index 5d81b39d81d..4845ee4cf3d 100644 --- a/src/ftcrfont.c +++ b/src/ftcrfont.c | |||
| @@ -78,6 +78,7 @@ ftcrfont_glyph_extents (struct font *font, | |||
| 78 | cairo_glyph_t cr_glyph = {.index = glyph}; | 78 | cairo_glyph_t cr_glyph = {.index = glyph}; |
| 79 | cairo_text_extents_t extents; | 79 | cairo_text_extents_t extents; |
| 80 | 80 | ||
| 81 | FT_Activate_Size (ftcrfont_info->ft_size_draw); | ||
| 81 | cairo_scaled_font_glyph_extents (ftcrfont_info->cr_scaled_font, | 82 | cairo_scaled_font_glyph_extents (ftcrfont_info->cr_scaled_font, |
| 82 | &cr_glyph, 1, &extents); | 83 | &cr_glyph, 1, &extents); |
| 83 | cache->lbearing = floor (extents.x_bearing); | 84 | cache->lbearing = floor (extents.x_bearing); |