diff options
Diffstat (limited to 'src/desktop-style.cpp')
| -rw-r--r-- | src/desktop-style.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/desktop-style.cpp b/src/desktop-style.cpp index 4c07c76ea..19582c9ee 100644 --- a/src/desktop-style.cpp +++ b/src/desktop-style.cpp @@ -1157,7 +1157,6 @@ objects_query_fontnumbers (const std::vector<SPItem*> &objects, SPStyle *style_r // FIXME: we must detect MULTIPLE_DIFFERENT for these too style_res->text_anchor.computed = style->text_anchor.computed; - style_res->writing_mode.computed = style->writing_mode.computed; } if (texts == 0) @@ -1394,13 +1393,15 @@ objects_query_writing_modes (const std::vector<SPItem*> &objects, SPStyle *style texts ++; if (set && - ( ( style_res->writing_mode.computed != style->writing_mode.computed ) || + ( ( style_res->writing_mode.computed != style->writing_mode.computed ) || + ( style_res->direction.computed != style->direction.computed ) || ( style_res->text_orientation.computed != style->text_orientation.computed ) ) ) { different = true; // different styles } set = true; style_res->writing_mode.computed = style->writing_mode.computed; + style_res->direction.computed = style->direction.computed; style_res->text_orientation.computed = style->text_orientation.computed; } |
