diff options
| author | luzpaz <luzpaz@users.noreply.github.com> | 2017-12-01 18:07:34 +0000 |
|---|---|---|
| committer | luzpaz <kunda@scribus.net> | 2017-12-04 01:55:06 +0000 |
| commit | eb07ba085151be60d518ce6310a33e413d699a32 (patch) | |
| tree | 4530b037a2c813960396a8125561620c0305589f /src | |
| parent | Optionaly measure only selected elements (diff) | |
| download | inkscape-eb07ba085151be60d518ce6310a33e413d699a32.tar.gz inkscape-eb07ba085151be60d518ce6310a33e413d699a32.zip | |
Misc. typos
Please confirm typos in the following
`doc/nr-filter-interface.txt`
`share/symbols/BalloonSymbols.svg`
.
Diffstat (limited to 'src')
| -rw-r--r-- | src/attribute-rel-util.cpp | 2 | ||||
| -rw-r--r-- | src/display/drawing-pattern.cpp | 4 | ||||
| -rw-r--r-- | src/gc-finalized.h | 2 | ||||
| -rw-r--r-- | src/io/resource.cpp | 2 | ||||
| -rw-r--r-- | src/libnrtype/Layout-TNG-Output.cpp | 2 | ||||
| -rw-r--r-- | src/style-internal.h | 4 | ||||
| -rw-r--r-- | src/ui/clipboard.cpp | 2 | ||||
| -rw-r--r-- | src/ui/dialog/xml-tree.cpp | 2 | ||||
| -rw-r--r-- | src/ui/tools/pencil-tool.cpp | 8 |
9 files changed, 14 insertions, 14 deletions
diff --git a/src/attribute-rel-util.cpp b/src/attribute-rel-util.cpp index 5e770d4ae..42b6bebf2 100644 --- a/src/attribute-rel-util.cpp +++ b/src/attribute-rel-util.cpp @@ -309,7 +309,7 @@ bool sp_attribute_check_attribute(Glib::ustring element, Glib::ustring id, Glib: // First check if it is a presentation attribute. Presentation attributes can be applied to // any element. At the moment, we are only going to check if it is a possibly useful - // attribute. Note, we don't explicitely check against the list of elements where presentation + // attribute. Note, we don't explicitly check against the list of elements where presentation // attributes are allowed (See SVG1.1 spec, Appendix M.2). if( !SPAttributeRelCSS::findIfValid( attribute, element ) ) { diff --git a/src/display/drawing-pattern.cpp b/src/display/drawing-pattern.cpp index d0bf5de58..b590a59c5 100644 --- a/src/display/drawing-pattern.cpp +++ b/src/display/drawing-pattern.cpp @@ -165,8 +165,8 @@ unsigned DrawingPattern::_updateItem(Geom::IntRect const &area, UpdateContext co const double oversampling = 2.0; double scale = det_ctm*det_ps2user*det_child_transform * oversampling; //FIXME: When scale is too big (zooming in a hatch), cairo doesn't render the pattern - //More precisely it fails when seting pattern matrix in DrawingPattern::renderPattern - //Fully correct solution should make use of visible area bbox and change hach tile rect + //More precisely it fails when setting pattern matrix in DrawingPattern::renderPattern + //Fully correct solution should make use of visible area bbox and change hatch tile rect //accordingly if (scale > 25) { scale = 25; diff --git a/src/gc-finalized.h b/src/gc-finalized.h index d39338643..887603806 100644 --- a/src/gc-finalized.h +++ b/src/gc-finalized.h @@ -36,7 +36,7 @@ namespace GC { * 1. The garbage collector uses strictly topologically-ordered * finalization; if objects with finalizers reference each other * directly or indirectly, the collector will refuse to finalize (and - * therefor free) them. You'll see a warning on the console if this + * therefore free) them. You'll see a warning on the console if this * happens. * * The best way to limit this effect is to only make "leaf" objects diff --git a/src/io/resource.cpp b/src/io/resource.cpp index 13da37d7a..0b242cc31 100644 --- a/src/io/resource.cpp +++ b/src/io/resource.cpp @@ -209,7 +209,7 @@ Glib::ustring get_filename(Glib::ustring path, Glib::ustring filename) } /* - * Get's all the files in a given type, for all domain types. + * Gets all the files in a given type, for all domain types. * * domain - Optional domain (overload), will check return domains if not. * type - The type of files, e.g. TEMPLATES diff --git a/src/libnrtype/Layout-TNG-Output.cpp b/src/libnrtype/Layout-TNG-Output.cpp index 9a73b9eca..984c2dd1a 100644 --- a/src/libnrtype/Layout-TNG-Output.cpp +++ b/src/libnrtype/Layout-TNG-Output.cpp @@ -625,7 +625,7 @@ Glib::ustring Layout::dumpAsText() const + Glib::ustring::compose(" direction %1, block-progression %2\n", direction_to_text(_spans[span_index].direction), direction_to_text(_spans[span_index].block_progression)) + " ** characters:\n"; Glib::ustring::const_iterator iter_char = _spans[span_index].input_stream_first_character; - // very inefficent code. what the hell, it's only debug stuff. + // very inefficient code. what the hell, it's only debug stuff. for (unsigned char_index = 0 ; char_index < _characters.size() ; char_index++) { union {const PangoLogAttr* pattr; const unsigned* uattr;} u; u.pattr = &_characters[char_index].char_attributes; diff --git a/src/style-internal.h b/src/style-internal.h index 5c22c093d..33e71d5b4 100644 --- a/src/style-internal.h +++ b/src/style-internal.h @@ -116,7 +116,7 @@ enum SPStyleSrc { * */ -/// Virtual base class for all SPStyle interal classes +/// Virtual base class for all SPStyle internal classes class SPIBase { @@ -733,7 +733,7 @@ public: gchar *value_default; }; -/// Color type interal to SPStyle, FIXME Add string value to store SVG named color. +/// Color type internal to SPStyle, FIXME Add string value to store SVG named color. class SPIColor : public SPIBase { diff --git a/src/ui/clipboard.cpp b/src/ui/clipboard.cpp index 118d7ae1f..a0f1fa09c 100644 --- a/src/ui/clipboard.cpp +++ b/src/ui/clipboard.cpp @@ -672,7 +672,7 @@ std::vector<Glib::ustring> ClipboardManagerImpl::getElementsOfType(SPDesktop *de root->removeChild(tempdoc->getDefs()->getRepr()); std::vector<Inkscape::XML::Node const *> reprs; if (strcmp(type, "*") == 0){ - //TODO:Fill vector with all posible elements + //TODO:Fill vector with all possible elements std::vector<Glib::ustring> types; types.push_back((Glib::ustring)"svg:path"); types.push_back((Glib::ustring)"svg:circle"); diff --git a/src/ui/dialog/xml-tree.cpp b/src/ui/dialog/xml-tree.cpp index 5747c7726..6429e655d 100644 --- a/src/ui/dialog/xml-tree.cpp +++ b/src/ui/dialog/xml-tree.cpp @@ -447,7 +447,7 @@ void XmlTree::set_tree_select(Inkscape::XML::Node *repr) gtk_tree_selection_select_iter(selection, &node); } else { - g_message("XmlTree::set_tree_select : Couldnt find repr node"); + g_message("XmlTree::set_tree_select : Couldn't find repr node"); } } else { GtkTreeSelection *selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(tree)); diff --git a/src/ui/tools/pencil-tool.cpp b/src/ui/tools/pencil-tool.cpp index 6f64e8e26..fb50898ed 100644 --- a/src/ui/tools/pencil-tool.cpp +++ b/src/ui/tools/pencil-tool.cpp @@ -115,7 +115,7 @@ void PencilTool::_endpointSnap(Geom::Point &p, guint const state) { } } else { if (!(state & GDK_SHIFT_MASK)) { //SHIFT disables all snapping, except the angular snapping above - //After all, the user explicitely asked for angular snapping by + //After all, the user explicitly asked for angular snapping by //pressing CTRL boost::optional<Geom::Point> origin = this->npoints > 0 ? this->p[0] : boost::optional<Geom::Point>(); spdc_endpoint_snap_free(this, p, origin, state); @@ -322,7 +322,7 @@ bool PencilTool::_handleMotionNotify(GdkEventMotion const &mevent) { // Only in freehand mode we have to add the first point also to this->ps (apparently) // - We cannot add this point in spdc_set_startpoint, because we only need it for freehand // - We cannot do this in the button press handler because at that point we don't know yet - // wheter we're going into freehand mode or not + // whether we're going into freehand mode or not this->ps.push_back(this->p[0]); this->wps.push_back(this->pressure); } @@ -769,9 +769,9 @@ PencilTool::addPowerStrokePencil(SPCurve * c) bool start = true; auto pressure = this->wps.begin(); for (auto point = this->ps.begin(); point != this->ps.end(); ++point,++pressure) { - //Maybe the 12 POW can be moved to a preferences 12 give a good results of sensibility on my tablet + //Maybe the 12 POW can be moved to a preferences 12 gives a good results of sensibility on my tablet //But maybe is a tweakable value. less number = less sensibility - //8 give an aceptable max witht to powerstoke + //8 give an acceptable max width to powerstoke double pressure_base = pow(*pressure, pressure_sensibility); double pressure_shirnked = (pressure_base * (max - min)) + min; double pressure_factor = pressure_base/pressure_shirnked; |
