mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-01 02:08:07 +02:00
Also call _cairo_gstate_ensure_font() for this function.
This commit is contained in:
parent
388a8d491d
commit
0c40f66c04
2 changed files with 9 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2005-05-02 Kristian Høgsberg <krh@redhat.com>
|
||||
|
||||
* src/cairo-gstate.c (_cairo_gstate_glyph_path): Also call
|
||||
_cairo_gstate_ensure_font() for this function.
|
||||
|
||||
2005-04-28 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* TODO, ROADMAP: Add a item about reworking cairo_format_t.
|
||||
|
|
|
|||
|
|
@ -2144,6 +2144,10 @@ _cairo_gstate_glyph_path (cairo_gstate_t *gstate,
|
|||
int i;
|
||||
cairo_glyph_t *transformed_glyphs = NULL;
|
||||
|
||||
status = _cairo_gstate_ensure_font (gstate);
|
||||
if (status)
|
||||
return status;
|
||||
|
||||
transformed_glyphs = malloc (num_glyphs * sizeof(cairo_glyph_t));
|
||||
if (transformed_glyphs == NULL)
|
||||
return CAIRO_STATUS_NO_MEMORY;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue