diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-03-03 17:21:20 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-03-03 17:21:20 +0000 |
| commit | ea331cd54a95a4278fc203b25277eae830260849 (patch) | |
| tree | a0caa66625694e8e26602a0875359db62c4ab1cb | |
| parent | fix for automake 1.10 from Pierre-Luc Auclair (and jiho) (diff) | |
| download | inkscape-ea331cd54a95a4278fc203b25277eae830260849.tar.gz inkscape-ea331cd54a95a4278fc203b25277eae830260849.zip | |
fix bug 1672619
(bzr r2520)
| -rw-r--r-- | src/sp-flowtext.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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); |
