Code

* Add setting text_align to QUERY_FONTSTYLE
authormderezynski <mderezynski@users.sourceforge.net>
Mon, 22 May 2006 03:12:53 +0000 (03:12 +0000)
committermderezynski <mderezynski@users.sourceforge.net>
Mon, 22 May 2006 03:12:53 +0000 (03:12 +0000)
* Add controls for 'justify' text and bold and italic to text toolbar
* Make sure the warning image for a non-installed font does not show up erronously

src/desktop-style.cpp

index 062607fbff2e561e97173c6ac0701d895ffb89e3..fa900600d1f72eeca15fe1c9d5717230c938868d 100644 (file)
@@ -930,6 +930,7 @@ objects_query_fontstyle (GSList *objects, SPStyle *style_res)
         style_res->font_style.value = style_res->font_style.computed = style->font_style.computed;
         style_res->font_stretch.value = style_res->font_stretch.computed = style->font_stretch.computed;
         style_res->font_variant.value = style_res->font_variant.computed = style->font_variant.computed;
+        style_res->text_align.value = style_res->text_align.computed = style->text_align.computed;
     }
 
     if (texts == 0 || !set)