[util] Speculatively fix build against non-PNG builds

This commit is contained in:
Behdad Esfahbod 2022-12-22 12:19:33 -07:00
parent c5f903872f
commit 63db0d2aed
1 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,7 @@ cairo_extend (hb_paint_extend_t extend)
return CAIRO_EXTEND_PAD;
}
#ifdef CAIRO_HAS_PNG_FUNCTIONS
typedef struct
{
hb_blob_t *blob;
@ -95,6 +96,7 @@ read_blob (void *closure,
return CAIRO_STATUS_SUCCESS;
}
#endif
void
hb_cairo_paint_glyph_image (cairo_t *cr,