From 519087f4f29aad524c9e12c64946cb242a05a5a9 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Sat, 8 Dec 2012 18:31:12 -0800 Subject: Fix blend.ai.pdf - Missing "exclusion" text When creating a group around text, the text bbox was being used as the group bbox without transforming it. This results in missing text in blends. Various text sections are now appearing in some test files too. --- pdf/pdf_interpret.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pdf/pdf_interpret.c b/pdf/pdf_interpret.c index 05494348..ff0eb388 100644 --- a/pdf/pdf_interpret.c +++ b/pdf/pdf_interpret.c @@ -599,7 +599,8 @@ pdf_flush_text(pdf_csi *csi) fz_try(ctx) { - pdf_begin_group(csi, csi->text_bbox); + fz_rect tb = fz_transform_rect(gstate->ctm, csi->text_bbox); + pdf_begin_group(csi, tb); if (doinvisible) fz_ignore_text(csi->dev, text, gstate->ctm); -- cgit v1.2.3