From c996fc58ec8997242d853b8bfac4f4f9c3d96605 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 18 Dec 2022 11:36:58 -0700 Subject: [PATCH] [hb-view] Remove redundant check --- util/helper-cairo-user.hh | 3 --- 1 file changed, 3 deletions(-) diff --git a/util/helper-cairo-user.hh b/util/helper-cairo-user.hh index 43bae0f28..8d7510850 100644 --- a/util/helper-cairo-user.hh +++ b/util/helper-cairo-user.hh @@ -237,9 +237,6 @@ paint_image (hb_paint_funcs_t *funcs, cairo_t *cr = data->cr; hb_font_t *font = data->font; - if (format != HB_PAINT_IMAGE_FORMAT_PNG || !extents) - return; - hb_cairo_paint_glyph_image (cr, font, blob, format, extents); }