mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-06 07:31:13 -08:00
* src/ftcrfont.c (ftcrfont_glyph_extents): Activate ft_size_draw.
This commit is contained in:
parent
0a453ee7e4
commit
5ada97cfcd
1 changed files with 1 additions and 0 deletions
|
|
@ -78,6 +78,7 @@ ftcrfont_glyph_extents (struct font *font,
|
|||
cairo_glyph_t cr_glyph = {.index = glyph};
|
||||
cairo_text_extents_t extents;
|
||||
|
||||
FT_Activate_Size (ftcrfont_info->ft_size_draw);
|
||||
cairo_scaled_font_glyph_extents (ftcrfont_info->cr_scaled_font,
|
||||
&cr_glyph, 1, &extents);
|
||||
cache->lbearing = floor (extents.x_bearing);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue