mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 17:01:17 +01:00
[raster] Treat symbol as container in SVG child-skip logic
This commit is contained in:
1 parent
2622fe92e8
commit
4a4f9f2b7a
1 file changed
+2
-1
@@ -188,7 +188,8 @@ svg_render_container_element (hb_svg_render_context_t *ctx,
|
||||
}
|
||||
svg_render_element (ctx, parser, state);
|
||||
if (tok == SVG_TOKEN_OPEN_TAG && !child_tag.eq ("g") &&
|
||||
!child_tag.eq ("svg") && !child_tag.eq ("use"))
|
||||
!child_tag.eq ("svg") && !child_tag.eq ("symbol") &&
|
||||
!child_tag.eq ("use"))
|
||||
{
|
||||
/* Skip children of non-container elements we don't handle. */
|
||||
int skip_depth = 1;
|
||||
|
||||
Reference in new issue
Block a user