diff options
| author | luz.paz <luzpaz@users.noreply.github.com> | 2018-05-09 14:37:28 +0000 |
|---|---|---|
| committer | luz paz <luzpaz@users.noreply.github.com> | 2018-05-14 19:38:17 +0000 |
| commit | 5f701e9b37a3a8adc6e4964bc7fac0f34dfc9db1 (patch) | |
| tree | 083733a3701c229199a4bc22225f397cc26bedfd /src | |
| parent | Fix bug embeding SVG as PNG (diff) | |
| download | inkscape-5f701e9b37a3a8adc6e4964bc7fac0f34dfc9db1.tar.gz inkscape-5f701e9b37a3a8adc6e4964bc7fac0f34dfc9db1.zip | |
Misc. typos
Found via `codespell` and `grep`
Diffstat (limited to 'src')
27 files changed, 31 insertions, 31 deletions
diff --git a/src/display/drawing-text.cpp b/src/display/drawing-text.cpp index 3f6b5b34a..aa2a744c8 100644 --- a/src/display/drawing-text.cpp +++ b/src/display/drawing-text.cpp @@ -301,7 +301,7 @@ void DrawingText::decorateStyle(DrawingContext &dc, double vextent, double xphas /* The next three have a problem in that they are phase dependent. The bits of a line are not necessarily passing through this routine in order, so we have to use the xphase information to figure where in each of their cycles to start. Only accurate to 1 part in 16. - Huge possitive offset should keep the phase calculation from ever being negative. + Huge positive offset should keep the phase calculation from ever being negative. */ else if(_nrstyle.text_decoration_style & TEXT_DECORATION_STYLE_DOTTED){ // FIXME: Per spec, this should produce round dots. diff --git a/src/extension/effect.h b/src/extension/effect.h index f6eff09b1..5b65bd598 100644 --- a/src/extension/effect.h +++ b/src/extension/effect.h @@ -98,7 +98,7 @@ class Effect : public Extension { EffectVerb _verb_nopref; /** \brief Menu node created for this effect */ Inkscape::XML::Node * _menu_node; - /** \brief Whehter a working dialog should be shown */ + /** \brief Whether a working dialog should be shown */ bool _workingDialog; /** \brief The preference dialog if it is shown */ diff --git a/src/extension/param/parameter.cpp b/src/extension/param/parameter.cpp index 7220045c4..f9a69de05 100644 --- a/src/extension/param/parameter.cpp +++ b/src/extension/param/parameter.cpp @@ -66,7 +66,7 @@ Parameter *Parameter::make(Inkscape::XML::Node *in_repr, Inkscape::Extension::Ex if (text == NULL) { text = in_repr->attribute("_gui-text"); if (text == NULL) { - // text = ""; // propably better to require devs to explicitly set an empty gui-text if this is what they want + // text = ""; // probably better to require devs to explicitly set an empty gui-text if this is what they want } else { const char *context = in_repr->attribute("msgctxt"); if (context != NULL) { diff --git a/src/helper/geom.cpp b/src/helper/geom.cpp index e1f05c3ce..6bdf911e5 100644 --- a/src/helper/geom.cpp +++ b/src/helper/geom.cpp @@ -549,7 +549,7 @@ pathv_to_linear( Geom::PathVector const &pathv, double /*maxdisp*/) * Converts all segments in all paths to Geom Cubic bezier. * This is used in lattice2 LPE, maybe is better move the function to the effect * But maybe could be usable by others, so i put here. - * The straight curve part is needed as it for the effect to work apropiately + * The straight curve part is needed as is for the effect to work appropriately */ Geom::PathVector pathv_to_cubicbezier( Geom::PathVector const &pathv) diff --git a/src/live_effects/lpe-fillet-chamfer.cpp b/src/live_effects/lpe-fillet-chamfer.cpp index dffd09ec3..bb60db5c6 100644 --- a/src/live_effects/lpe-fillet-chamfer.cpp +++ b/src/live_effects/lpe-fillet-chamfer.cpp @@ -137,7 +137,7 @@ void LPEFilletChamfer::doOnApply(SPLPEItem const *lpeItem) } //we add the last satellite on open path because _pathvector_satellites is related to nodes, not curves //so maybe in the future we can need this last satellite in other effects - //don't remove for this effect because _pathvector_satellites class has methods when the path is modiffied + //don't remove for this effect because _pathvector_satellites class has methods when the path is modified //and we want one method for all uses if (!path_it->closed()) { Satellite satellite(satellite_type); @@ -331,7 +331,7 @@ void LPEFilletChamfer::doBeforeEffect(SPLPEItem const *lpeItem) //mandatory call satellites_param.setEffectType(effectType()); Geom::PathVector const pathv = pathv_to_linear_and_cubic_beziers(pathvector_before_effect); - //if are diferent sizes call to recalculate + //if are different sizes call to recalculate //TODO: Update the satellite data in paths modified, Satellites satellites = satellites_param.data(); if (satellites.empty()) { diff --git a/src/live_effects/lpe-roughen.cpp b/src/live_effects/lpe-roughen.cpp index e78ab99fd..e44688baa 100644 --- a/src/live_effects/lpe-roughen.cpp +++ b/src/live_effects/lpe-roughen.cpp @@ -5,7 +5,7 @@ /* Authors: * Jabier Arraiza Cenoz <jabier.arraiza@marker.es> * - * Thanks to all people involved specialy to Josh Andler for the idea and to the + * Thanks to all people involved specially to Josh Andler for the idea and to the * original extensions authors. * * Copyright (C) 2014 Authors diff --git a/src/live_effects/lpe-sketch.cpp b/src/live_effects/lpe-sketch.cpp index dfb860de8..1d8f7703e 100644 --- a/src/live_effects/lpe-sketch.cpp +++ b/src/live_effects/lpe-sketch.cpp @@ -335,7 +335,7 @@ LPESketch::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_ #endif Point m_t = m(t), v_t = v(t), a_t = a(t); //Compute tgt length according to curvature (not exceeding tgtlength) so that - // dist to origninal curve ~ 4 * (parallel_offset+tremble_size). + // dist to original curve ~ 4 * (parallel_offset+tremble_size). //TODO: put this 4 as a parameter in the UI... //TODO: what if with v=0? double l = tgtlength*(1-tgtlength_rdm)/v_t.length(); diff --git a/src/object/filters/distantlight.cpp b/src/object/filters/distantlight.cpp index 076a7aab5..e2dd4ea1b 100644 --- a/src/object/filters/distantlight.cpp +++ b/src/object/filters/distantlight.cpp @@ -15,7 +15,7 @@ #include <glib.h> -// In same dirctory +// In same directory #include "distantlight.h" #include "diffuselighting.h" #include "specularlighting.h" diff --git a/src/object/sp-offset.cpp b/src/object/sp-offset.cpp index 2864e88cb..072304667 100644 --- a/src/object/sp-offset.cpp +++ b/src/object/sp-offset.cpp @@ -1190,7 +1190,7 @@ refresh_offset_source(SPOffset* offset) delete orig; // TODO fix: - //XML Tree being used diectly here while it shouldn't be. + //XML Tree being used directly here while it shouldn't be. offset->getRepr()->setAttribute("inkscape:original", res_d); free (res_d); diff --git a/src/object/sp-string.cpp b/src/object/sp-string.cpp index 43b9daeab..df57a5a80 100644 --- a/src/object/sp-string.cpp +++ b/src/object/sp-string.cpp @@ -65,7 +65,7 @@ void SPString::read_content() { // See: http://dev.w3.org/csswg/css-text/#white-space // | New Lines | Spaces/Tabs | Text Wrapping // ---------|------------|--------------|-------------- - // normal | Collapes | Collapse | Wrap + // normal | Collapse | Collapse | Wrap // pre | Preserve | Preserve | No Wrap // nowrap | Collapse | Collapse | No Wrap // pre-wrap | Preserve | Preserve | Wrap diff --git a/src/object/uri-references.cpp b/src/object/uri-references.cpp index faa3d38d9..43dc996df 100644 --- a/src/object/uri-references.cpp +++ b/src/object/uri-references.cpp @@ -69,7 +69,7 @@ bool URIReference::_acceptObject(SPObject *obj) const // we go back following hrefList and parent to find if the object already references ourselves indirectly std::set<SPObject *> done; SPObject *owner = getOwner(); - //allow LPE as owner has any URI atached + //allow LPE as owner has any URI attached if (!owner || IS_LIVEPATHEFFECT(owner)) return true; diff --git a/src/style-internal.h b/src/style-internal.h index a0f31a6f0..0ca9b0445 100644 --- a/src/style-internal.h +++ b/src/style-internal.h @@ -54,7 +54,7 @@ enum SPStyleSrc { * This code is derived from the original C style code in style.cpp. * * Overview: - * Style can be obtained (in order of precidence) [CHECK] + * Style can be obtained (in order of precedence) [CHECK] * 1. "style" property in an element (style="fill:red"). * 2. Style sheet, internal or external (<style> rect {fill:red;}</style>). * 3. Attributes in an element (fill="red"). diff --git a/src/style.cpp b/src/style.cpp index 5d6ba7a15..03dec1e4b 100644 --- a/src/style.cpp +++ b/src/style.cpp @@ -268,7 +268,7 @@ SPStyle::SPStyle(SPDocument *document_in, SPObject *object_in) : text_decoration_color.setStylePointer( this ); fill.setStylePointer( this ); stroke.setStylePointer( this ); - // color.setStylePointer( this ); // Doen't need reference to self + // color.setStylePointer( this ); // Doesn't need reference to self // 'text_decoration' shorthand requires access to included properties. text_decoration.setStylePointer( this ); diff --git a/src/svg-profile.h b/src/svg-profile.h index f312662d2..d735ae46e 100644 --- a/src/svg-profile.h +++ b/src/svg-profile.h @@ -95,7 +95,7 @@ private: /** \brief The size of the array which is being used. */ #define ARRAY_SIZE (((PROFILE_UNIQUE_CNT - 1) / BITS_IN_INT) + 1) - /** \brief The actuall array holding the bitfield. */ + /** \brief The actual array holding the bitfield. */ unsigned int bits[ARRAY_SIZE]; public: diff --git a/src/ui/dialog/document-properties.cpp b/src/ui/dialog/document-properties.cpp index 8d794e4e7..96835c65b 100644 --- a/src/ui/dialog/document-properties.cpp +++ b/src/ui/dialog/document-properties.cpp @@ -759,7 +759,7 @@ void DocumentProperties::build_cms() _unlink_btn.set_valign(Gtk::ALIGN_CENTER); _page_cms->table().attach(_unlink_btn, 2, row, 1, 1); - // Set up the Avialable Profiles combo box + // Set up the Available Profiles combo box _AvailableProfilesListStore = Gtk::ListStore::create(_AvailableProfilesListColumns); _AvailableProfilesList.set_model(_AvailableProfilesListStore); _AvailableProfilesList.pack_start(_AvailableProfilesListColumns.nameColumn); diff --git a/src/ui/dialog/prototype.cpp b/src/ui/dialog/prototype.cpp index 1280cba87..973cffd60 100644 --- a/src/ui/dialog/prototype.cpp +++ b/src/ui/dialog/prototype.cpp @@ -72,7 +72,7 @@ Prototype::~Prototype() /* * Called when a dialog is displayed, including when a dialog is reopened. - * (When a dialog is closed, it is not destroyed so the contructor is not called. + * (When a dialog is closed, it is not destroyed so the constructor is not called. * This function can handle any reinitialization needed.) */ void diff --git a/src/ui/dialog/swatches.h b/src/ui/dialog/swatches.h index a9e3b9b92..cf3f99e8d 100644 --- a/src/ui/dialog/swatches.h +++ b/src/ui/dialog/swatches.h @@ -33,7 +33,7 @@ class DocTrack; * A panel that displays paint swatches. * * It comes in two flavors, depending on the prefsPath argument passed to - * the construtor: the default "/dialog/swatches" is just a regular panel; + * the constructor: the default "/dialog/swatches" is just a regular panel; * the "/embedded/swatches/" is the horizontal color swatches at the bottom * of window. */ diff --git a/src/ui/tools/freehand-base.h b/src/ui/tools/freehand-base.h index 09c57f6f7..38b3851ff 100644 --- a/src/ui/tools/freehand-base.h +++ b/src/ui/tools/freehand-base.h @@ -76,7 +76,7 @@ public: std::list<SPCurve *> white_curves; std::vector<SPDrawAnchor*> white_anchors; - // Temporary modiffied curve when start anchor + // Temporary modified curve when start anchor SPCurve *sa_overwrited; // Start anchor diff --git a/src/ui/widget/font-selector-toolbar.h b/src/ui/widget/font-selector-toolbar.h index 5600982c6..df6fa5fd5 100644 --- a/src/ui/widget/font-selector-toolbar.h +++ b/src/ui/widget/font-selector-toolbar.h @@ -10,7 +10,7 @@ * The routines here create and manage a font selector widget with two parts, * one each for font-family and font-style. * - * This is esentially a toolbar version of the 'FontSelector' widget. Someday + * This is essentially a toolbar version of the 'FontSelector' widget. Someday * this may be merged with it. * * The main functions are: diff --git a/src/ui/widget/point.h b/src/ui/widget/point.h index 71bfd8473..ab4debe96 100644 --- a/src/ui/widget/point.h +++ b/src/ui/widget/point.h @@ -89,7 +89,7 @@ public: bool mnemonic = true); /** - * Fetches the precision of the spin buton. + * Fetches the precision of the spin button. */ unsigned getDigits() const; diff --git a/src/ui/widget/scalar.h b/src/ui/widget/scalar.h index b2c923953..2632dd5a7 100644 --- a/src/ui/widget/scalar.h +++ b/src/ui/widget/scalar.h @@ -80,7 +80,7 @@ public: bool mnemonic = true); /** - * Fetches the precision of the spin buton. + * Fetches the precision of the spin button. */ unsigned getDigits() const; diff --git a/src/util/README b/src/util/README index 53530ad0c..254e3fa14 100644 --- a/src/util/README +++ b/src/util/README @@ -4,6 +4,6 @@ This directory contains a variety of utility code. To do: -* Merge with 'helper' into this direcotry. +* Merge with 'helper' into this directory. * Move individual files to more appropriate directories. * Split into three sub-directories: numeric, color, svg. diff --git a/src/util/expression-evaluator.h b/src/util/expression-evaluator.h index 50ff3fb70..ace27339f 100644 --- a/src/util/expression-evaluator.h +++ b/src/util/expression-evaluator.h @@ -40,7 +40,7 @@ * expression as it goes along, and does not create a parse tree or * anything, and will not optimize anything. It uses doubles for * precision, with the given use case, that's enough to combat any - * rounding errors (as opposed to optimizing the evalutation). + * rounding errors (as opposed to optimizing the evaluation). * * It relies on external unit resolving through a callback and does * elementary dimensionality constraint check (e.g. "2 mm + 3 px * 4 diff --git a/src/util/share.h b/src/util/share.h index 6e5a24d71..6e98c5258 100644 --- a/src/util/share.h +++ b/src/util/share.h @@ -80,7 +80,7 @@ private: return ptr_shared(string); } - //This class (and code usign it) assumes that it never has to free this + //This class (and code using it) assumes that it never has to free this //pointer, and that the memory it points to will not be freed as long as a //ptr_shared pointing to it exists. char const *_string; diff --git a/src/widgets/lpe-toolbar.cpp b/src/widgets/lpe-toolbar.cpp index 4d0c3837d..3e3a2e95c 100644 --- a/src/widgets/lpe-toolbar.cpp +++ b/src/widgets/lpe-toolbar.cpp @@ -372,7 +372,7 @@ void sp_lpetool_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions, GO InkSelectOneAction* act = InkSelectOneAction::create( "LPELineSegmentAction", // Name (""), // Label - _("Choose a line segement type"), // Tooltip + _("Choose a line segment type"), // Tooltip "Not Used", // Icon store ); // Tree store diff --git a/src/widgets/measure-toolbar.cpp b/src/widgets/measure-toolbar.cpp index 06b173e4b..d06e3df1e 100644 --- a/src/widgets/measure-toolbar.cpp +++ b/src/widgets/measure-toolbar.cpp @@ -412,7 +412,7 @@ void sp_measure_toolbox_prep(SPDesktop * desktop, GtkActionGroup* mainActions, G g_signal_connect_after( G_OBJECT(act), "toggled", G_CALLBACK(sp_toggle_all_layers), desktop) ; gtk_action_group_add_action( mainActions, GTK_ACTION(act) ); } - /* toogle start end */ + /* toggle start end */ { InkAction* act = ink_action_new( "MeasureReverse", _("Reverse measure"), diff --git a/src/widgets/select-toolbar.cpp b/src/widgets/select-toolbar.cpp index b968bf4da..53191fc37 100644 --- a/src/widgets/select-toolbar.cpp +++ b/src/widgets/select-toolbar.cpp @@ -443,7 +443,7 @@ void sp_select_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions, GOb GTK_WIDGET(desktop->canvas), /* focusTarget */ G_OBJECT(spw), /* dataKludge */ TRUE, "altx", /* altx, altx_mark */ - -1e6, 1e6, SPIN_STEP, SPIN_PAGE_STEP, /* lower, uppper, step, page */ + -1e6, 1e6, SPIN_STEP, SPIN_PAGE_STEP, /* lower, upper, step, page */ 0, 0, 0, /* descrLabels, descrValues, descrCount */ sp_object_layout_any_value_changed, /* callback */ tracker, /* unit_tracker */ @@ -462,7 +462,7 @@ void sp_select_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions, GOb GTK_WIDGET(desktop->canvas), /* focusTarget */ G_OBJECT(spw), /* dataKludge */ TRUE, "altx", /* altx, altx_mark */ - -1e6, 1e6, SPIN_STEP, SPIN_PAGE_STEP, /* lower, uppper, step, page */ + -1e6, 1e6, SPIN_STEP, SPIN_PAGE_STEP, /* lower, upper, step, page */ 0, 0, 0, /* descrLabels, descrValues, descrCount */ sp_object_layout_any_value_changed, /* callback */ tracker, /* unit_tracker */ @@ -481,7 +481,7 @@ void sp_select_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions, GOb GTK_WIDGET(desktop->canvas), /* focusTarget */ G_OBJECT(spw), /* dataKludge */ TRUE, "altx", /* altx, altx_mark */ - 0.0, 1e6, SPIN_STEP, SPIN_PAGE_STEP, /* lower, uppper, step, page */ + 0.0, 1e6, SPIN_STEP, SPIN_PAGE_STEP, /* lower, upper, step, page */ 0, 0, 0, /* descrLabels, descrValues, descrCount */ sp_object_layout_any_value_changed, /* callback */ tracker, /* unit_tracker */ @@ -513,7 +513,7 @@ void sp_select_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions, GOb GTK_WIDGET(desktop->canvas), /* focusTarget */ G_OBJECT(spw), /* dataKludge */ TRUE, "altx", /* altx, altx_mark */ - 0.0, 1e6, SPIN_STEP, SPIN_PAGE_STEP, /* lower, uppper, step, page */ + 0.0, 1e6, SPIN_STEP, SPIN_PAGE_STEP, /* lower, upper, step, page */ 0, 0, 0, /* descrLabels, descrValues, descrCount */ sp_object_layout_any_value_changed, /* callback */ tracker, /* unit_tracker */ |
