[librsvg: 3/14] text: whitespace cleanup



commit abbf3ffe2f104de7bf3e2409c1789c92985156ee
Author: Paolo Borelli <pborelli gnome org>
Date:   Sat Jan 5 10:54:45 2019 +0100

    text: whitespace cleanup

 rsvg_internals/src/text.rs | 7 -------
 1 file changed, 7 deletions(-)
---
diff --git a/rsvg_internals/src/text.rs b/rsvg_internals/src/text.rs
index ef7187a0..93155167 100644
--- a/rsvg_internals/src/text.rs
+++ b/rsvg_internals/src/text.rs
@@ -963,15 +963,10 @@ fn create_pango_layout(
     }
 
     let mut font_desc = pango_context.get_font_description().unwrap();
-
     font_desc.set_family(&(values.font_family.0).0);
-
     font_desc.set_style(pango::Style::from(values.font_style));
-
     font_desc.set_variant(pango::Variant::from(values.font_variant));
-
     font_desc.set_weight(pango::Weight::from(values.font_weight.0));
-
     font_desc.set_stretch(pango::Stretch::from(values.font_stretch));
 
     let params = draw_ctx.get_view_params();
@@ -1001,9 +996,7 @@ fn create_pango_layout(
     }
 
     layout.set_attributes(&attr_list);
-
     layout.set_alignment(pango::Alignment::from(values.direction));
-
     layout.set_text(text);
 
     layout


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]