mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 07:21:06 +01:00
[color] Minor
This commit is contained in:
1 parent
e8ff27c208
commit
519fca1014
1 file changed
+1
-1
+1
-1
@@ -320,7 +320,7 @@ hb_ot_color_glyph_reference_png (hb_font_t *font, hb_codepoint_t glyph)
|
||||
if (_get_sbix (font->face).has_data ())
|
||||
blob = _get_sbix (font->face).reference_png (font, glyph, nullptr, nullptr);
|
||||
|
||||
if (hb_blob_get_length (blob) == 0 && _get_cbdt (font->face).has_data ())
|
||||
if (!blob->length && _get_cbdt (font->face).has_data ())
|
||||
blob = _get_cbdt (font->face).reference_png (glyph, font->x_ppem, font->y_ppem);
|
||||
|
||||
return blob;
|
||||
|
||||
Reference in new issue
Block a user