mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-30 18:13:53 +01:00
[hb-view] Remove redundant check
This commit is contained in:
1 parent
bec5354030
commit
c996fc58ec
1 file changed
-3
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user