mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 22:41:10 +01:00
Skip empty outlines
This commit is contained in:
1 parent
bd61e645ff
commit
885dbcfba0
1 file changed
+2
-2
@@ -376,8 +376,8 @@ hb_paint_extents_push_clip_glyph (hb_paint_funcs_t *funcs HB_UNUSED,
|
||||
hb_draw_funcs_t *draw_extent_funcs = hb_draw_extent_get_funcs ();
|
||||
hb_font_draw_glyph (font, glyph, draw_extent_funcs, &extents);
|
||||
hb_draw_funcs_destroy (draw_extent_funcs);
|
||||
|
||||
c->push_clip (extents);
|
||||
if (extents.xmin < extents.xmax)
|
||||
c->push_clip (extents);
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in new issue
Block a user