mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 03:18:05 +02:00
[cairo-gstate] Use clip, not surface, extents to drop invisible glyphs
This commit is contained in:
parent
c752bd665a
commit
8c4f4a758b
1 changed files with 1 additions and 1 deletions
|
|
@ -1697,7 +1697,7 @@ _cairo_gstate_transform_glyphs_to_backend (cairo_gstate_t *gstate,
|
|||
|
||||
drop = TRUE;
|
||||
|
||||
if (_cairo_surface_get_extents (gstate->target, &surface_extents))
|
||||
if (_cairo_gstate_int_clip_extents (gstate, &surface_extents))
|
||||
drop = FALSE; /* unbounded surface */
|
||||
else {
|
||||
/* XXX We currently drop any glyphs that has its position outside
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue