From 57678b4b45f7f76778f7ca04b38ac9a77add9dbb Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Tue, 26 Mar 2019 07:17:17 -0400 Subject: Misc. typos Found via `codespell` --- src/object/sp-text.cpp | 6 +++--- src/object/sp-text.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/object') diff --git a/src/object/sp-text.cpp b/src/object/sp-text.cpp index b65170642..cb9e5c3f3 100644 --- a/src/object/sp-text.cpp +++ b/src/object/sp-text.cpp @@ -452,7 +452,7 @@ void SPText::_buildLayoutInit() } layout.strut *= style->font_size.computed; if (style->line_height.normal ) { - layout.strut.computeEffective( Inkscape::Text::Layout::LINE_HEIGHT_NORMAL ); + layout.strut.computeEffective( Inkscape::Text::Layout::LINE_HEIGHT_NORMAL ); } else if (style->line_height.unit == SP_CSS_UNIT_NONE) { layout.strut.computeEffective( style->line_height.computed ); } else { @@ -718,7 +718,7 @@ unsigned SPText::_buildLayoutInput(SPObject *object, Inkscape::Text::Layout::Opt Shape* SPText::_buildExclusionShape() const { - Shape *result = new Shape(); // Union of all exlusion shapes + Shape *result = new Shape(); // Union of all exclusion shapes Shape *shape_temp = new Shape(); Glib::ustring shapeSubtract_value = style->shape_subtract.value; @@ -732,7 +732,7 @@ Shape* SPText::_buildExclusionShape() const } else { shape_url.erase(0,5); shape_url.erase(shape_url.size()-1,1); - // std::cout << "SPText::_buildExlusionShape(): shape-inside: " << shape_url << std::endl; + // std::cout << "SPText::_buildExclusionShape(): shape-inside: " << shape_url << std::endl; SPShape *shape = dynamic_cast(document->getObjectById( shape_url )); if ( shape ) { // This code adapted from sp-flowregion.cpp: GetDest() diff --git a/src/object/sp-text.h b/src/object/sp-text.h index f2483bd03..d6016b3b4 100644 --- a/src/object/sp-text.h +++ b/src/object/sp-text.h @@ -57,7 +57,7 @@ public: completely specified by transformations. */ static void _adjustCoordsRecursive(SPItem *item, Geom::Affine const &m, double ex, bool is_root = true); static void _adjustFontsizeRecursive(SPItem *item, double ex, bool is_root = true); - + /** discards the drawing objects representing this text. */ void _clearFlow(Inkscape::DrawingGroup *in_arena); @@ -75,10 +75,10 @@ private: that we don't get a spurious extra one at the end of the flow. */ unsigned _buildLayoutInput(SPObject *object, Inkscape::Text::Layout::OptionalTextTagAttrs const &parent_optional_attrs, unsigned parent_attrs_offset, bool in_textpath); - /** Union all exlusion shapes. */ + /** Union all exclusion shapes. */ Shape* _buildExclusionShape() const; - /** Find first x/y valuse which may be in a descendent element. */ + /** Find first x/y values which may be in a descendent element. */ SVGLength* _getFirstXLength(); SVGLength* _getFirstYLength(); -- cgit v1.2.3