mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-10 15:23:35 +00:00
[hb-view] Remove redundant check
This commit is contained in:
parent
bec5354030
commit
c996fc58ec
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue