mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-06-05 07:58:17 +02:00
[win32] Use the system scaled_font_done
Pointless as both functions are empty, but lets be pedantically correct nevertheless.
This commit is contained in:
parent
8654a4b35c
commit
93cfa7376f
1 changed files with 4 additions and 1 deletions
|
|
@ -1819,7 +1819,10 @@ _cairo_win32_scaled_font_init_glyph_path (cairo_win32_scaled_font_t *scaled_font
|
|||
free (buffer);
|
||||
|
||||
CLEANUP_FONT:
|
||||
cairo_win32_scaled_font_done_font (&scaled_font->base);
|
||||
if (scaled_font->base.options.hint_style == CAIRO_HINT_STYLE_NONE)
|
||||
_cairo_win32_scaled_font_done_unscaled_font (&scaled_font->base);
|
||||
else
|
||||
cairo_win32_scaled_font_done_font (&scaled_font->base);
|
||||
|
||||
CLEANUP_PATH:
|
||||
if (status != CAIRO_STATUS_SUCCESS)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue