diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2023-03-01 09:40:05 +0000 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2023-03-01 09:40:05 +0000 |
commit | 70e37e23d3dc78200e1f9215cebc9a3d2fcb435a (patch) | |
tree | c2801e39940a8a0567256e20246580a8bca1127a | |
parent | 17114f522b1679f8fb7e087cda6c90f55a9f43a3 (diff) | |
parent | 1b62ef3e55b62c7d4b67b0ca4423c72a8afd506b (diff) | |
download | cairo-70e37e23d3dc78200e1f9215cebc9a3d2fcb435a.tar.gz |
Merge branch 'dwrite-clip-glyphs' into 'master'
DWrite: region clipping didn't work on win32 surfaces
Closes #641
See merge request cairo/cairo!464
-rw-r--r-- | src/win32/cairo-dwrite-font.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/win32/cairo-dwrite-font.cpp b/src/win32/cairo-dwrite-font.cpp index d12f7b70b..cf516d41c 100644 --- a/src/win32/cairo-dwrite-font.cpp +++ b/src/win32/cairo-dwrite-font.cpp @@ -1738,15 +1738,6 @@ _cairo_dwrite_show_glyphs_on_surface(void *surface, if (op != CAIRO_OPERATOR_SOURCE && op != CAIRO_OPERATOR_OVER) return CAIRO_INT_STATUS_UNSUPPORTED; - /* If we have a fallback mask clip set on the dst, we have - * to go through the fallback path */ - if (!_cairo_surface_is_win32_printing (&dst->base)) { - if (clip != NULL) - _cairo_win32_display_surface_set_clip (to_win32_display_surface (dst), clip); - else - _cairo_win32_display_surface_unset_clip (to_win32_display_surface (dst)); - } - /* It is vital that dx values for dxy_buf are calculated from the delta of * _logical_ x coordinates (not user x coordinates) or else the sum of all * previous dx values may start to diverge from the current glyph's x |