From c2607213cb4facc081686aff4184579b1741479c Mon Sep 17 00:00:00 2001 From: buliabyak Date: Sat, 3 Mar 2007 17:21:20 +0000 Subject: [PATCH] fix bug 1672619 --- src/sp-flowtext.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/sp-flowtext.cpp b/src/sp-flowtext.cpp index b589bb64d..daa9f808a 100644 --- a/src/sp-flowtext.cpp +++ b/src/sp-flowtext.cpp @@ -173,11 +173,12 @@ sp_flowtext_update(SPObject *object, SPCtx *ctx, unsigned flags) group->rebuildLayout(); - // pass the bbox of the flowtext object as paintbox (used for paintserver fills) NRRect paintbox; sp_item_invoke_bbox(group, &paintbox, NR::identity(), TRUE); for (SPItemView *v = group->display; v != NULL; v = v->next) { group->_clearFlow(NR_ARENA_GROUP(v->arenaitem)); + nr_arena_group_set_style(NR_ARENA_GROUP(v->arenaitem), SP_OBJECT_STYLE(object)); + // pass the bbox of the flowtext object as paintbox (used for paintserver fills) group->layout.show(NR_ARENA_GROUP(v->arenaitem), &paintbox); } } @@ -379,6 +380,8 @@ sp_flowtext_show(SPItem *item, NRArena *arena, unsigned/* key*/, unsigned /*flag NRArenaGroup *flowed = NRArenaGroup::create(arena); nr_arena_group_set_transparent(flowed, FALSE); + nr_arena_group_set_style(flowed, group->style); + // pass the bbox of the flowtext object as paintbox (used for paintserver fills) NRRect paintbox; sp_item_invoke_bbox(item, &paintbox, NR::identity(), TRUE); -- 2.30.2