diff options
| author | luz.paz <luzpaz@users.noreply.github.com> | 2019-03-26 11:17:17 +0000 |
|---|---|---|
| committer | luz.paz <luzpaz@users.noreply.github.com> | 2019-03-26 11:17:17 +0000 |
| commit | 57678b4b45f7f76778f7ca04b38ac9a77add9dbb (patch) | |
| tree | d7a17d1759ddc70fe4b16d8800aa6c6f31334608 /src | |
| parent | lpe-pts2ellipse: added perspective circle from 4 points (diff) | |
| download | inkscape-57678b4b45f7f76778f7ca04b38ac9a77add9dbb.tar.gz inkscape-57678b4b45f7f76778f7ca04b38ac9a77add9dbb.zip | |
Misc. typos
Found via `codespell`
Diffstat (limited to 'src')
| -rw-r--r-- | src/file.cpp | 2 | ||||
| -rw-r--r-- | src/object/sp-text.cpp | 6 | ||||
| -rw-r--r-- | src/object/sp-text.h | 6 | ||||
| -rw-r--r-- | src/ui/desktop/README | 2 | ||||
| -rw-r--r-- | src/ui/tool/node.h | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/src/file.cpp b/src/file.cpp index 74bf9c162..70b2b3817 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -1508,7 +1508,7 @@ sp_file_export_to_ocal_dialog(Gtk::Window &parentWindow) return success; } - // Start now the submition + // Start submission now // Create the uri Inkscape::Preferences *prefs = Inkscape::Preferences::get(); 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(); diff --git a/src/ui/desktop/README b/src/ui/desktop/README index af0799694..e2932ca80 100644 --- a/src/ui/desktop/README +++ b/src/ui/desktop/README @@ -23,5 +23,5 @@ To do: Dialogs Tools Canvas - Palatte (maybe turn into dialog). + Palette (maybe turn into dialog). Status bar diff --git a/src/ui/tool/node.h b/src/ui/tool/node.h index 5e5249455..0d43d8159 100644 --- a/src/ui/tool/node.h +++ b/src/ui/tool/node.h @@ -155,7 +155,7 @@ public: * Sets the node type and optionally restores the invariants associated with the given type. * @param type The type to set. * @param update_handles Whether to restore invariants associated with the given type. - * Passing false is useful e.g. wen initially creating the path, + * Passing false is useful e.g. when initially creating the path, * and when making cusp nodes during some node algorithms. * Pass true when used in response to an UI node type button. */ |
