summaryrefslogtreecommitdiffstats
path: root/src/object
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2019-03-26 11:17:17 +0000
committerluz.paz <luzpaz@users.noreply.github.com>2019-03-26 11:17:17 +0000
commit57678b4b45f7f76778f7ca04b38ac9a77add9dbb (patch)
treed7a17d1759ddc70fe4b16d8800aa6c6f31334608 /src/object
parentlpe-pts2ellipse: added perspective circle from 4 points (diff)
downloadinkscape-57678b4b45f7f76778f7ca04b38ac9a77add9dbb.tar.gz
inkscape-57678b4b45f7f76778f7ca04b38ac9a77add9dbb.zip
Misc. typos
Found via `codespell`
Diffstat (limited to 'src/object')
-rw-r--r--src/object/sp-text.cpp6
-rw-r--r--src/object/sp-text.h6
2 files changed, 6 insertions, 6 deletions
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<SPShape *>(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();