From ab91f61fac68ea49aafe1f6a4d2451be57839da4 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sat, 5 Mar 2016 22:50:55 +0100 Subject: Debugging stuff --- src/shape.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/shape.c') diff --git a/src/shape.c b/src/shape.c index 59ec024..2b6bc7a 100644 --- a/src/shape.c +++ b/src/shape.c @@ -51,7 +51,7 @@ static void shape_segment(struct wrap_box *box, struct text_seg *seg) if ( seg->glyphs != NULL ) { pango_glyph_string_free(seg->glyphs); } - printf("shaping '%s' (%i chars)\n", tp, seg->len_chars); + //printf("shaping '%s' (%i chars)\n", tp, seg->len_chars); seg->glyphs = pango_glyph_string_new(); pango_shape(tp, ep-tp, &seg->analysis, seg->glyphs); @@ -85,6 +85,7 @@ static void calc_box_geometry(struct wrap_box *box) void shape_box(struct wrap_box *box) { int i; + printf("shaping box %p! n_segs=%i\n", box, box->n_segs); for ( i=0; in_segs; i++ ) { shape_segment(box, &box->segs[i]); -- cgit v1.2.3