[cairo-commit] 2 commits - src/cairo-quartz-surface.c

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Nov 17 22:18:19 UTC 2022


 src/cairo-quartz-surface.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f672f20f02ef4ab2901ef8a29d5b32d47ab7b6af
Merge: 8f1190dc8 21ab756bd
Author: Emmanuele Bassi <ebassi at gmail.com>
Date:   Thu Nov 17 22:18:17 2022 +0000

    Merge branch 'fix-long-lines' into 'master'
    
    Pass the same type when creating the static glyphs and positions arrays.
    
    Closes #574
    
    See merge request cairo/cairo!366

commit 21ab756bd92ca3634b11a7028c519b0aece9e2c9
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Nov 17 10:49:18 2022 -0800

    Pass the same type when creating the static glyphs and positions arrays.
    
    Fixes https://gitlab.freedesktop.org/cairo/cairo/-/issues/574

diff --git a/src/cairo-quartz-surface.c b/src/cairo-quartz-surface.c
index 6676dc960..0d4b001a4 100644
--- a/src/cairo-quartz-surface.c
+++ b/src/cairo-quartz-surface.c
@@ -1904,7 +1904,7 @@ _cairo_quartz_cg_glyphs (const cairo_compositor_t *compositor,
 			 cairo_bool_t overlap)
 {
     CGAffineTransform textTransform, invTextTransform;
-    CGGlyph glyphs_static[CAIRO_STACK_ARRAY_LENGTH (CGGlyph)];
+    CGGlyph glyphs_static[CAIRO_STACK_ARRAY_LENGTH (CGPoint)];
     CGPoint cg_positions_static[CAIRO_STACK_ARRAY_LENGTH (CGPoint)];
     CGGlyph *cg_glyphs = &glyphs_static[0];
     CGPoint *cg_positions = &cg_positions_static[0];


More information about the cairo-commit mailing list