From 202e75590f8200823ef0efd36cc0edbd1bf1edcc Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Mon, 8 Jan 2018 16:50:51 -0500 Subject: Misc. typos Found via `codespell` --- src/display/grayscale.cpp | 2 +- src/display/nr-filter.h | 2 +- src/display/nr-svgfonts.cpp | 2 +- src/extension/dbus/doc/inkscapeDbusRef.xml | 2 +- src/extension/dbus/doc/inkscapeDbusTerms.xml | 2 +- src/extension/dbus/document-interface.cpp | 4 ++-- src/extension/dbus/document-interface.xml | 2 +- src/extension/dependency.cpp | 2 +- src/extension/effect.cpp | 2 +- src/extension/extension.cpp | 4 ++-- src/extension/extension.h | 2 +- src/extension/input.cpp | 4 ++-- src/extension/internal/cdr-input.cpp | 2 +- src/extension/internal/emf-inout.cpp | 2 +- src/extension/internal/emf-print.cpp | 2 +- src/extension/internal/filter/blurs.h | 2 +- src/extension/internal/latex-text-renderer.cpp | 4 ++-- src/extension/internal/latex-text-renderer.h | 2 +- src/extension/internal/vsd-input.cpp | 2 +- src/extension/internal/wmf-print.cpp | 6 +++--- src/extension/internal/wpg-input.cpp | 2 +- src/extension/output.cpp | 4 ++-- src/extension/param/parameter.h | 2 +- src/extension/param/string.h | 2 +- src/extension/system.cpp | 2 +- src/extension/timer.cpp | 2 +- src/filters/composite.h | 2 +- src/gradient-drag.cpp | 2 +- src/helper/geom-satellite.cpp | 4 ++-- src/inkgc/gc-alloc.h | 2 +- src/live_effects/lpe-clone-original.cpp | 2 +- src/live_effects/lpe-powermask.cpp | 2 +- src/live_effects/parameter/path.cpp | 2 +- src/live_effects/parameter/powerstrokepointarray.cpp | 4 ++-- src/main.cpp | 2 +- src/path-chemistry.cpp | 6 +++--- src/selection-chemistry.cpp | 4 ++-- src/snap.cpp | 2 +- src/sp-conn-end.cpp | 2 +- src/sp-font.cpp | 2 +- src/sp-item-group.cpp | 2 +- src/sp-lpe-item.cpp | 2 +- src/sp-mesh-array.cpp | 2 +- src/sp-object.h | 2 +- src/sp-path.cpp | 2 +- src/sp-text.cpp | 2 +- src/style-internal.cpp | 2 +- src/style.cpp | 2 +- src/svg/svg-length-test.h | 2 +- src/svg/svg-length.cpp | 4 ++-- src/text-chemistry.cpp | 2 +- src/ui/clipboard.cpp | 2 +- src/ui/dialog/dialog-manager.cpp | 2 +- src/ui/dialog/export.cpp | 2 +- src/ui/dialog/xml-tree.h | 2 +- src/ui/tool/control-point.h | 2 +- src/ui/tool/node.cpp | 4 ++-- src/ui/tools/spray-tool.cpp | 2 +- src/ui/widget/layer-selector.cpp | 2 +- src/ui/widget/registered-widget.cpp | 2 +- src/util/enums.h | 2 +- src/util/expression-evaluator.cpp | 2 +- src/util/ziptool.cpp | 2 +- src/verbs.cpp | 2 +- src/verbs.h | 4 ++-- src/widgets/font-selector.cpp | 2 +- src/widgets/measure-toolbar.cpp | 2 +- src/widgets/text-toolbar.cpp | 2 +- src/xml/event.h | 2 +- src/xml/repr-css.cpp | 2 +- 70 files changed, 85 insertions(+), 85 deletions(-) (limited to 'src') diff --git a/src/display/grayscale.cpp b/src/display/grayscale.cpp index 3c0031e87..5978dbf2a 100644 --- a/src/display/grayscale.cpp +++ b/src/display/grayscale.cpp @@ -39,7 +39,7 @@ guint32 process(guint32 rgba) { guint32 process(unsigned char r, unsigned char g, unsigned char b, unsigned char a) { /** To reduce banding in gradients, this calculation is tweaked a bit - * by outputing blue+1 or red+1 or both. The luminance is calculated + * by outputting blue+1 or red+1 or both. The luminance is calculated * times 4. Then last two bits are used to determine if red and/or blue * can be increased by one. Then these two bits are discarded. * So the output color it still looks gray, but has more than 256 steps. diff --git a/src/display/nr-filter.h b/src/display/nr-filter.h index 7028f2e81..b48d4c938 100644 --- a/src/display/nr-filter.h +++ b/src/display/nr-filter.h @@ -68,7 +68,7 @@ public: int replace_primitive(int primitive, FilterPrimitiveType type); /** - * Returns a pointer to the primitive, which the handle corrensponds to. + * Returns a pointer to the primitive, which the handle corresponds to. * If the handle is not valid, returns NULL. */ FilterPrimitive *get_primitive(int handle); diff --git a/src/display/nr-svgfonts.cpp b/src/display/nr-svgfonts.cpp index fd092aed8..aeed761b3 100644 --- a/src/display/nr-svgfonts.cpp +++ b/src/display/nr-svgfonts.cpp @@ -166,7 +166,7 @@ SvgFont::scaled_font_text_to_glyphs (cairo_scaled_font_t */*scaled_font*/, unsigned int len; bool missing; - //First we findout whats the number of glyphs needed. + //First we find out what's the number of glyphs needed. while(g_utf8_get_char(_utf8)){ missing = true; for (i=0; i < (unsigned long) this->glyphs.size(); i++){ diff --git a/src/extension/dbus/doc/inkscapeDbusRef.xml b/src/extension/dbus/doc/inkscapeDbusRef.xml index 6bf134a60..6b5d578d6 100644 --- a/src/extension/dbus/doc/inkscapeDbusRef.xml +++ b/src/extension/dbus/doc/inkscapeDbusRef.xml @@ -59,7 +59,7 @@ The guiding principles behind the design of this API were: - Inkscape provides a D-Bus API for programs to interactivly script vector graphics. + Inkscape provides a D-Bus API for programs to interactively script vector graphics. This API is not yet stable and is likely to change in the future. diff --git a/src/extension/dbus/doc/inkscapeDbusTerms.xml b/src/extension/dbus/doc/inkscapeDbusTerms.xml index 507fcbf24..45f2d63a8 100644 --- a/src/extension/dbus/doc/inkscapeDbusTerms.xml +++ b/src/extension/dbus/doc/inkscapeDbusTerms.xml @@ -107,7 +107,7 @@ Groups are collections of objects that are treated as a single object. Groups h The basic idea is that things on top cover up things beneath them. The potentially confusing part is that Inkscape implements this in two ways: layers and levels. Levels are what order objects are in within a single layer. So the highest level object is still below all of the objects in the layer above it. layer_change_level() changes the order of layers and selection_change_level() changes the order of objects within a layer. -Changing the level of a selection also deserves some explanation. The selection_change_level() function can work in two ways. It can be absolute, "to_top" and "to_bottom" work like you'd expect, sending the entire selection to the top or bottom of that layer. But it can also be relative. "raise" and "lower" only work if there is another shape overlaping above or beneath the selection at the moment. Also if you have two objects selected and they are both occluded by a third, raising the selection once will only raise the first object in the selection above the third object. In other words selections don't move as a group. +Changing the level of a selection also deserves some explanation. The selection_change_level() function can work in two ways. It can be absolute, "to_top" and "to_bottom" work like you'd expect, sending the entire selection to the top or bottom of that layer. But it can also be relative. "raise" and "lower" only work if there is another shape overlapping above or beneath the selection at the moment. Also if you have two objects selected and they are both occluded by a third, raising the selection once will only raise the first object in the selection above the third object. In other words selections don't move as a group. diff --git a/src/extension/dbus/document-interface.cpp b/src/extension/dbus/document-interface.cpp index c85281aa4..be3fd94a5 100644 --- a/src/extension/dbus/document-interface.cpp +++ b/src/extension/dbus/document-interface.cpp @@ -127,7 +127,7 @@ get_object_by_name (SPDocument *doc, gchar *name, GError **error) /* * Tests for NULL strings and throws an appropriate error. * Every method that takes a string parameter (other than the - * name of an object, that's tested seperatly) should call this. + * name of an object, that's tested separately) should call this. */ gboolean dbus_check_string (gchar *string, GError ** error, const gchar * errorstr) @@ -183,7 +183,7 @@ selection_get_center_y (Inkscape::Selection *sel){ * original selection. * * This should be mostly transparent to the user who need never - * know we never bothered to implement it seperatly. Although + * know we never bothered to implement it separately. Although * they might see the selection box flicker if used in a loop. */ std::vector diff --git a/src/extension/dbus/document-interface.xml b/src/extension/dbus/document-interface.xml index 2287e9c32..8d10907d2 100644 --- a/src/extension/dbus/document-interface.xml +++ b/src/extension/dbus/document-interface.xml @@ -1360,7 +1360,7 @@ c 'union': The new shape is all of the other shapes put together, even if they don't overlap (paths can have multiple non-contiguous areas.) 'intersection': The new shape is composed of the area where ALL the objects in the selection overlap. If there is no area where all shapes overlap the new shape will be empty. 'difference': The area of the second shape is subtracted from the first, only works with two objects. - 'exclusion': The new shape is the area(s) where none of the objects in the selection overlaped. Only works with two objects. + 'exclusion': The new shape is the area(s) where none of the objects in the selection overlapped. Only works with two objects. 'division': the first object is split into multiple segments by the second object. Only works with two objects. diff --git a/src/extension/dependency.cpp b/src/extension/dependency.cpp index 827475011..b83c5380f 100644 --- a/src/extension/dependency.cpp +++ b/src/extension/dependency.cpp @@ -90,7 +90,7 @@ Dependency::Dependency (Inkscape::XML::Node * in_repr) } /** - \brief This depenency is not longer needed + \brief This dependency is not longer needed Unreference the XML structure. */ diff --git a/src/extension/effect.cpp b/src/extension/effect.cpp index 93b940732..b608ea59c 100644 --- a/src/extension/effect.cpp +++ b/src/extension/effect.cpp @@ -259,7 +259,7 @@ Effect::prefs (Inkscape::UI::View::View * doc) \param doc The Inkscape::UI::View::View to do the effect on This function first insures that the extension is loaded, and if not, - loads it. It then calls the implemention to do the actual work. It + loads it. It then calls the implementation to do the actual work. It also resets the last effect pointer to be this effect. Finally, it executes a \c SPDocumentUndo::done to commit the changes to the undo stack. diff --git a/src/extension/extension.cpp b/src/extension/extension.cpp index 49ae0075c..f07d334af 100644 --- a/src/extension/extension.cpp +++ b/src/extension/extension.cpp @@ -237,9 +237,9 @@ Extension::loaded (void) \brief A function to check the validity of the extension This function chekcs to make sure that there is an id, a name, a - repr and an implemenation for this extension. Then it checks all + repr and an implementation for this extension. Then it checks all of the dependencies to see if they pass. Finally, it asks the - implmentation to do a check of itself. + implementation to do a check of itself. On each check, if there is a failure, it will print a message to the error log for that failure. It is important to note that the function diff --git a/src/extension/extension.h b/src/extension/extension.h index a00eca21f..d66399d59 100644 --- a/src/extension/extension.h +++ b/src/extension/extension.h @@ -34,7 +34,7 @@ namespace Gtk { #define SP_MODULE_KEY_INPUT_SVGZ "org.inkscape.input.svgz" /** Specifies the input module that should be used if none are selected */ #define SP_MODULE_KEY_INPUT_DEFAULT SP_MODULE_KEY_AUTODETECT -/** The key for outputing standard W3C SVG */ +/** The key for outputting standard W3C SVG */ #define SP_MODULE_KEY_OUTPUT_SVG "org.inkscape.output.svg.plain" #define SP_MODULE_KEY_OUTPUT_SVGZ "org.inkscape.output.svgz.plain" /** This is an output file that has SVG data with the Sodipodi namespace extensions */ diff --git a/src/extension/input.cpp b/src/extension/input.cpp index 2ba48ffda..862d4a4d3 100644 --- a/src/extension/input.cpp +++ b/src/extension/input.cpp @@ -114,7 +114,7 @@ Input::~Input (void) This function checks to make sure that the input extension has a filename extension and a MIME type. Then it calls the parent - class' check function which also checks out the implmentation. + class' check function which also checks out the implementation. */ bool Input::check (void) @@ -135,7 +135,7 @@ Input::check (void) This function acts as the first step in creating a new document from a file. The first thing that this does is make sure that the file actually exists. If it doesn't, a NULL is returned. If the - file exits, then it is opened using the implmentation of this extension. + file exits, then it is opened using the implementation of this extension. */ SPDocument * Input::open (const gchar *uri) diff --git a/src/extension/internal/cdr-input.cpp b/src/extension/internal/cdr-input.cpp index 2b6714908..7342ad48d 100644 --- a/src/extension/internal/cdr-input.cpp +++ b/src/extension/internal/cdr-input.cpp @@ -2,7 +2,7 @@ * This file came from libwpg as a source, their utility wpg2svg * specifically. It has been modified to work as an Inkscape extension. * The Inkscape extension code is covered by this copyright, but the - * rest is covered by the one bellow. + * rest is covered by the one below. * * Authors: * Fridrich Strba (fridrich.strba@bluewin.ch) diff --git a/src/extension/internal/emf-inout.cpp b/src/extension/internal/emf-inout.cpp index e47ce48bf..69fcd3424 100644 --- a/src/extension/internal/emf-inout.cpp +++ b/src/extension/internal/emf-inout.cpp @@ -3101,7 +3101,7 @@ std::cout << "BEFORE DRAW" /* These should be JUST ASCII, but they might not be... If it holds Utf-8 or plain ASCII the first call will succeed. If not, assume that it holds Latin1. - If that fails then someting is really screwed up! + If that fails then something is really screwed up! */ dup_wt = U_Utf8ToUtf32le((char *) pEmr + pEmr->emrtext.offString, pEmr->emrtext.nChars, NULL); if(!dup_wt)dup_wt = U_Latin1ToUtf32le((char *) pEmr + pEmr->emrtext.offString, pEmr->emrtext.nChars, NULL); diff --git a/src/extension/internal/emf-print.cpp b/src/extension/internal/emf-print.cpp index 147324b4f..58543b67e 100644 --- a/src/extension/internal/emf-print.cpp +++ b/src/extension/internal/emf-print.cpp @@ -1713,7 +1713,7 @@ unsigned int PrintEmf::image( unsigned int w, /** width of bitmap */ unsigned int h, /** height of bitmap */ unsigned int rs, /** row stride (normally w*4) */ - Geom::Affine const &tf_rect, /** affine transform only used for defining location and size of rect, for all other tranforms, use the one from m_tr_stack */ + Geom::Affine const &tf_rect, /** affine transform only used for defining location and size of rect, for all other transforms, use the one from m_tr_stack */ SPStyle const *style) /** provides indirect link to image object */ { double x1, y1, dw, dh; diff --git a/src/extension/internal/filter/blurs.h b/src/extension/internal/filter/blurs.h index 77581ed96..859fadb87 100644 --- a/src/extension/internal/filter/blurs.h +++ b/src/extension/internal/filter/blurs.h @@ -164,7 +164,7 @@ CleanEdges::get_filter_text (Inkscape::Extension::Extension * ext) Combine vertical and horizontal blur Filter's parameters: - * Brighness (0.->10., default 0) -> composite (k3) + * Brightness (0.->10., default 0) -> composite (k3) * Fading (0.->1., default 0) -> composite (k4) * Horizontal blur (0.01->20., default 5) -> blur (stdDeviation) * Vertical blur (0.01->20., default 5) -> blur (stdDeviation) diff --git a/src/extension/internal/latex-text-renderer.cpp b/src/extension/internal/latex-text-renderer.cpp index 960aec7a9..b96025ab8 100644 --- a/src/extension/internal/latex-text-renderer.cpp +++ b/src/extension/internal/latex-text-renderer.cpp @@ -131,7 +131,7 @@ LaTeXTextRenderer::~LaTeXTextRenderer(void) } /** This should create the output LaTeX file, and assign it to _stream. - * @return Returns true when succesfull + * @return Returns true when successful */ bool LaTeXTextRenderer::setTargetFile(gchar const *filename) { @@ -276,7 +276,7 @@ void LaTeXTextRenderer::sp_text_render(SPText *textobj) SPStyle *style = textobj->style; // get position and alignment - // Align vertically on the baseline of the font (retreived from the anchor point) + // Align vertically on the baseline of the font (retrieved from the anchor point) // Align horizontally on anchorpoint gchar const *alignment = NULL; gchar const *alignstack = NULL; diff --git a/src/extension/internal/latex-text-renderer.h b/src/extension/internal/latex-text-renderer.h index b9563b53b..7f0dd9cd9 100644 --- a/src/extension/internal/latex-text-renderer.h +++ b/src/extension/internal/latex-text-renderer.h @@ -60,7 +60,7 @@ protected: FILE * _stream; gchar * _filename; - bool _pdflatex; /** true if ouputting for pdfLaTeX*/ + bool _pdflatex; /** true if outputting for pdfLaTeX*/ LaTeXOmitTextPageState _omittext_state; gulong _omittext_page; diff --git a/src/extension/internal/vsd-input.cpp b/src/extension/internal/vsd-input.cpp index 0d7a467f0..cf5dd64f4 100644 --- a/src/extension/internal/vsd-input.cpp +++ b/src/extension/internal/vsd-input.cpp @@ -2,7 +2,7 @@ * This file came from libwpg as a source, their utility wpg2svg * specifically. It has been modified to work as an Inkscape extension. * The Inkscape extension code is covered by this copyright, but the - * rest is covered by the one bellow. + * rest is covered by the one below. * * Authors: * Fridrich Strba (fridrich.strba@bluewin.ch) diff --git a/src/extension/internal/wmf-print.cpp b/src/extension/internal/wmf-print.cpp index 29dfa2716..3df237ce3 100644 --- a/src/extension/internal/wmf-print.cpp +++ b/src/extension/internal/wmf-print.cpp @@ -1123,7 +1123,7 @@ unsigned int PrintWmf::image( unsigned int w, /** width of bitmap */ unsigned int h, /** height of bitmap */ unsigned int rs, /** row stride (normally w*4) */ - Geom::Affine const &tf_rect, /** affine transform only used for defining location and size of rect, for all other tranforms, use the one from m_tr_stack */ + Geom::Affine const &tf_rect, /** affine transform only used for defining location and size of rect, for all other transforms, use the one from m_tr_stack */ SPStyle const * /*style*/) /** provides indirect link to image object */ { double x1, y1, dw, dh; @@ -1245,7 +1245,7 @@ unsigned int PrintWmf::print_pathv(Geom::PathVector const &pathv, const Geom::Af /** For each segment in the subpath */ - Geom::Point p1 = pit->initialPoint(); // This point is special, it isn't in the interator + Geom::Point p1 = pit->initialPoint(); // This point is special, it isn't in the iterator p1[X] = (p1[X] * PX2WORLD); p1[Y] = (p1[Y] * PX2WORLD); @@ -1289,7 +1289,7 @@ unsigned int PrintWmf::print_pathv(Geom::PathVector const &pathv, const Geom::Af /** For each segment in the subpath */ - Geom::Point p1 = pit->initialPoint(); // This point is special, it isn't in the interator + Geom::Point p1 = pit->initialPoint(); // This point is special, it isn't in the iterator p1[X] = (p1[X] * PX2WORLD); p1[Y] = (p1[Y] * PX2WORLD); diff --git a/src/extension/internal/wpg-input.cpp b/src/extension/internal/wpg-input.cpp index 299614c94..37f26c4bb 100644 --- a/src/extension/internal/wpg-input.cpp +++ b/src/extension/internal/wpg-input.cpp @@ -2,7 +2,7 @@ * This file came from libwpg as a source, their utility wpg2svg * specifically. It has been modified to work as an Inkscape extension. * The Inkscape extension code is covered by this copyright, but the - * rest is covered by the one bellow. + * rest is covered by the one below. * * Authors: * Ted Gould diff --git a/src/extension/output.cpp b/src/extension/output.cpp index ccfee2c14..50b00f972 100644 --- a/src/extension/output.cpp +++ b/src/extension/output.cpp @@ -110,7 +110,7 @@ Output::~Output (void) This function checks to make sure that the output extension has a filename extension and a MIME type. Then it calls the parent - class' check function which also checks out the implmentation. + class' check function which also checks out the implementation. */ bool Output::check (void) @@ -202,7 +202,7 @@ Output::prefs (void) \param filename File to save the document as This function does a little of the dirty work involved in saving - a document so that the implementation only has to worry about geting + a document so that the implementation only has to worry about getting bits on the disk. The big thing that it does is remove and read the fields that are diff --git a/src/extension/param/parameter.h b/src/extension/param/parameter.h index b1825d444..829085cf6 100644 --- a/src/extension/param/parameter.h +++ b/src/extension/param/parameter.h @@ -154,7 +154,7 @@ public: const static int GUI_BOX_MARGIN = 10; /** Recommended spacing between multiple Parameters packed into a box (in px) */ const static int GUI_BOX_SPACING = 4; - /** Recommended spacing between the widgets making up a signle Parameter (e.g. label and input) (in px) */ + /** Recommended spacing between the widgets making up a single Parameter (e.g. label and input) (in px) */ const static int GUI_PARAM_WIDGETS_SPACING = 4; /** Recommended indentation width of parameters (in px) */ const static int GUI_INDENTATION = 12; diff --git a/src/extension/param/string.h b/src/extension/param/string.h index d338f83b9..82eebee7f 100644 --- a/src/extension/param/string.h +++ b/src/extension/param/string.h @@ -19,7 +19,7 @@ private: /** \brief Internal value. This should point to a string that has been allocated in memory. And should be free'd. */ gchar * _value; - /** \brief Internal value. This indicates the maximum lenth of the string. Zero meaning unlimited. + /** \brief Internal value. This indicates the maximum length of the string. Zero meaning unlimited. */ gint _max_length; public: diff --git a/src/extension/system.cpp b/src/extension/system.cpp index 888a1076a..f438d84b9 100644 --- a/src/extension/system.cpp +++ b/src/extension/system.cpp @@ -411,7 +411,7 @@ get_print(gchar const *key) * \param doc The XML description of the module * * This function basically has two segments. The first is that it goes through the Repr tree - * provided, and determines what kind of of module this is, and what kind of implementation to use. + * provided, and determines what kind of module this is, and what kind of implementation to use. * All of these are then stored in two enums that are defined in this function. This makes it * easier to add additional types (which will happen in the future, I'm sure). * diff --git a/src/extension/timer.cpp b/src/extension/timer.cpp index e4e8632d2..b32c04f30 100644 --- a/src/extension/timer.cpp +++ b/src/extension/timer.cpp @@ -156,7 +156,7 @@ ExpirationTimer::idle_func (void) return false; } - /* evalutate current */ + /* evaluate current */ if (timer_list->expired()) { timer_list->extension->set_state(Extension::STATE_UNLOADED); } diff --git a/src/filters/composite.h b/src/filters/composite.h index 42ec9d6b7..12f7b5344 100644 --- a/src/filters/composite.h +++ b/src/filters/composite.h @@ -18,7 +18,7 @@ enum FeCompositeOperator { // Default value is 'over', but let's distinquish specifying the - // default and implicitely using the default + // default and implicitly using the default COMPOSITE_DEFAULT, COMPOSITE_OVER, /* Source Over */ COMPOSITE_IN, /* Source In */ diff --git a/src/gradient-drag.cpp b/src/gradient-drag.cpp index 2af665ec5..41045f33f 100644 --- a/src/gradient-drag.cpp +++ b/src/gradient-drag.cpp @@ -1703,7 +1703,7 @@ GrDragger::~GrDragger() { // unselect if it was selected // Hmm, this causes a race condition as it triggers a call to gradient_selection_changed which - // can be executed while a list of draggers is being deleted. It doesn't acutally seem to be + // can be executed while a list of draggers is being deleted. It doesn't actually seem to be // necessary. //this->parent->setDeselected(this); diff --git a/src/helper/geom-satellite.cpp b/src/helper/geom-satellite.cpp index e3f4eb90f..b54738a38 100644 --- a/src/helper/geom-satellite.cpp +++ b/src/helper/geom-satellite.cpp @@ -162,7 +162,7 @@ double Satellite::time(Geom::Curve const &curve_in, bool inverse) const return t; } -///Get the time from a length A in other curve, a bolean inverse gived to reverse time +///Get the time from a length A in other curve, a boolean inverse given to reverse time double Satellite::time(double A, bool inverse, Geom::Curve const &curve_in) const { @@ -197,7 +197,7 @@ Geom::Point Satellite::getPosition(Geom::Curve const &curve_in, bool inverse) co return curve_in.pointAt(t); } -///Set the position of the satellite from a gived point P +///Set the position of the satellite from a given point P void Satellite::setPosition(Geom::Point const p, Geom::Curve const &curve_in, bool inverse) { Geom::Curve * curve = const_cast(&curve_in); diff --git a/src/inkgc/gc-alloc.h b/src/inkgc/gc-alloc.h index 917ee972d..a92f38d7a 100644 --- a/src/inkgc/gc-alloc.h +++ b/src/inkgc/gc-alloc.h @@ -59,7 +59,7 @@ public: void deallocate(pointer p, size_type) { ::operator delete(p, GC); } }; -// allocators with the same collection policy are interchangable +// allocators with the same collection policy are interchangeable template diff --git a/src/live_effects/lpe-clone-original.cpp b/src/live_effects/lpe-clone-original.cpp index 5f1f4a08f..3da6dfbe6 100644 --- a/src/live_effects/lpe-clone-original.cpp +++ b/src/live_effects/lpe-clone-original.cpp @@ -34,7 +34,7 @@ LPECloneOriginal::LPECloneOriginal(LivePathEffectObject *lpeobject) : Effect(lpeobject), linkeditem(_("Linked Item:"), _("Item from which to take the original data"), "linkeditem", &wr, this), method(_("Shape linked"), _("Shape linked"), "method", CLMConverter, &wr, this, CLM_D), - attributes("Attributes linked", "Attributes linked, comma separated atributes", "attributes", &wr, this,""), + attributes("Attributes linked", "Attributes linked, comma separated attributes", "attributes", &wr, this,""), style_attributes("Style attributes linked", "Style attributes linked, comma separated attributes like fill, filter, opacity", "style_attributes", &wr, this,""), allow_transforms(_("Allow transforms"), _("Allow transforms"), "allow_transforms", &wr, this, true) { diff --git a/src/live_effects/lpe-powermask.cpp b/src/live_effects/lpe-powermask.cpp index 883467b6a..f5a419bcb 100644 --- a/src/live_effects/lpe-powermask.cpp +++ b/src/live_effects/lpe-powermask.cpp @@ -150,7 +150,7 @@ LPEPowerMask::setMask(){ filter->appendChild(primitive2); Inkscape::GC::release(primitive2); } -//Not sure if finaly need to resurrect this +//Not sure if finally need to resurrect this // if(wrap && is_visible){ // Glib::ustring g_data_id = mask_id + (Glib::ustring)"_container"; // if((elemref = document->getObjectById(g_data_id))){ diff --git a/src/live_effects/parameter/path.cpp b/src/live_effects/parameter/path.cpp index 7dcd85df9..88ba85b48 100644 --- a/src/live_effects/parameter/path.cpp +++ b/src/live_effects/parameter/path.cpp @@ -31,7 +31,7 @@ #include "document.h" #include "document-undo.h" -// needed for on-canvas editting: +// needed for on-canvas editing: #include "ui/tools-switch.h" #include "ui/shape-editor.h" diff --git a/src/live_effects/parameter/powerstrokepointarray.cpp b/src/live_effects/parameter/powerstrokepointarray.cpp index 64c772602..459225bc6 100644 --- a/src/live_effects/parameter/powerstrokepointarray.cpp +++ b/src/live_effects/parameter/powerstrokepointarray.cpp @@ -230,7 +230,7 @@ PowerStrokePointArrayParamKnotHolderEntity::knot_click(guint state) if (state & GDK_MOD1_MASK) { // delete the clicked knot std::vector & vec = _pparam->_vector; - if (vec.size() > 1) { //Force dont remove last knot + if (vec.size() > 1) { //Force don't remove last knot vec.erase(vec.begin() + _index); _pparam->param_set_and_write_new_value(vec); // shift knots down one index @@ -242,7 +242,7 @@ PowerStrokePointArrayParamKnotHolderEntity::knot_click(guint state) } } }; - // temporary hide, when knotholder were recreated it finaly drop + // temporary hide, when knotholder were recreated it finally drop this->knot->hide(); } return; diff --git a/src/main.cpp b/src/main.cpp index 6e559692c..ee381ca6f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1242,7 +1242,7 @@ int sp_main_console(int argc, char const **argv) int retVal = sp_main_shell(argv[0]); // Run as interactive shell exit((retVal < 0) ? 1 : 0); } else { - int retVal = sp_process_file_list(fl); // Normal command line invokation + int retVal = sp_process_file_list(fl); // Normal command line invocation if (retVal){ exit(1); } diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp index 9e75b7841..41079bc1f 100644 --- a/src/path-chemistry.cpp +++ b/src/path-chemistry.cpp @@ -511,7 +511,7 @@ sp_selected_item_to_curved_repr(SPItem *item, guint32 /*text_grouping_policy*/) /* Whole text's style */ Glib::ustring style_str = - item->style->write( SP_STYLE_FLAG_IFDIFF, SP_STYLE_SRC_UNSET, item->parent ? item->parent->style : NULL); // TODO investigate posibility + item->style->write( SP_STYLE_FLAG_IFDIFF, SP_STYLE_SRC_UNSET, item->parent ? item->parent->style : NULL); // TODO investigate possibility g_repr->setAttribute("style", style_str.c_str()); Inkscape::Text::Layout::iterator iter = te_get_layout(item)->begin(); @@ -532,7 +532,7 @@ sp_selected_item_to_curved_repr(SPItem *item, guint32 /*text_grouping_policy*/) pos_obj = pos_obj->parent; // SPStrings don't have style } Glib::ustring style_str = - pos_obj->style->write( SP_STYLE_FLAG_IFDIFF, SP_STYLE_SRC_UNSET, pos_obj->parent ? pos_obj->parent->style : NULL); // TODO investigate posibility + pos_obj->style->write( SP_STYLE_FLAG_IFDIFF, SP_STYLE_SRC_UNSET, pos_obj->parent ? pos_obj->parent->style : NULL); // TODO investigate possibility // get path from iter to iter_next: SPCurve *curve = te_get_layout(item)->convertToCurves(iter, iter_next); @@ -590,7 +590,7 @@ sp_selected_item_to_curved_repr(SPItem *item, guint32 /*text_grouping_policy*/) /* Style */ Glib::ustring style_str = - item->style->write( SP_STYLE_FLAG_IFDIFF, SP_STYLE_SRC_UNSET, item->parent ? item->parent->style : NULL); // TODO investigate posibility + item->style->write( SP_STYLE_FLAG_IFDIFF, SP_STYLE_SRC_UNSET, item->parent ? item->parent->style : NULL); // TODO investigate possibility repr->setAttribute("style", style_str.c_str()); /* Mask */ diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp index b18cea034..9d459f8c5 100644 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -2963,11 +2963,11 @@ void ObjectSet::toMarker(bool apply) return; } - // FIXME: Inverted Y coodinate + // FIXME: Inverted Y coordinate Geom::Point doc_height( 0, doc->getHeight().value("px")); // calculate the transform to be applied to objects to move them to 0,0 - Geom::Point corner( r->min()[Geom::X], r->max()[Geom::Y] ); // FIXME: Inverted Y coodinate + Geom::Point corner( r->min()[Geom::X], r->max()[Geom::Y] ); // FIXME: Inverted Y coordinate Geom::Point move_p = doc_height - corner; move_p[Geom::Y] = -move_p[Geom::Y]; Geom::Affine move = Geom::Affine(Geom::Translate(move_p)); diff --git a/src/snap.cpp b/src/snap.cpp index c84da0491..b05f3e854 100644 --- a/src/snap.cpp +++ b/src/snap.cpp @@ -9,7 +9,7 @@ * Diederik van Lierop * * Copyright (C) 2006-2007 Johan Engelen - * Copyrigth (C) 2004 Nathan Hurst + * Copyright (C) 2004 Nathan Hurst * Copyright (C) 1999-2012 Authors * * Released under GNU GPL, read the file 'COPYING' for more information diff --git a/src/sp-conn-end.cpp b/src/sp-conn-end.cpp index 57b0e4954..996d8499a 100644 --- a/src/sp-conn-end.cpp +++ b/src/sp-conn-end.cpp @@ -147,7 +147,7 @@ static void sp_conn_get_route_and_redraw(SPPath *const path, const bool updatePa SPObject const *const ancestor = get_nearest_common_ancestor(path, h2attItem); Geom::Affine const path2anc(i2anc_affine(path, ancestor)); - // Set sensible values incase there the connector ends are not + // Set sensible values in case there the connector ends are not // attached to any shapes. Geom::PathVector conn_pv = path->_curve->get_pathvector(); double endPos[2] = { 0.0, static_cast(conn_pv[0].size()) }; diff --git a/src/sp-font.cpp b/src/sp-font.cpp index 0d97463df..a0193224c 100644 --- a/src/sp-font.cpp +++ b/src/sp-font.cpp @@ -179,7 +179,7 @@ Inkscape::XML::Node* SPFont::write(Inkscape::XML::Document *xml_doc, Inkscape::X sp_repr_set_svg_double(repr, "vert-adv-y", this->vert_adv_y); if (repr != this->getRepr()) { - // All the below COPY_ATTR funtions are directly using + // All the below COPY_ATTR functions are directly using // the XML Tree while they shouldn't COPY_ATTR(repr, this->getRepr(), "horiz-origin-x"); COPY_ATTR(repr, this->getRepr(), "horiz-origin-y"); diff --git a/src/sp-item-group.cpp b/src/sp-item-group.cpp index 3d4d7b253..e9a52d3ca 100644 --- a/src/sp-item-group.cpp +++ b/src/sp-item-group.cpp @@ -992,7 +992,7 @@ sp_group_perform_patheffect(SPGroup *group, SPGroup *top_group, bool write) } c->unref(); } else { - // LPE was unsuccesfull or doeffect stack return null. Read the old 'd'-attribute. + // LPE was unsuccessful or doeffect stack return null. Read the old 'd'-attribute. if (gchar const * value = repr->attribute("d")) { Geom::PathVector pv = sp_svg_read_pathv(value); SPCurve *oldcurve = new (std::nothrow) SPCurve(pv); diff --git a/src/sp-lpe-item.cpp b/src/sp-lpe-item.cpp index 5be950afa..f3cc841fb 100644 --- a/src/sp-lpe-item.cpp +++ b/src/sp-lpe-item.cpp @@ -810,7 +810,7 @@ SPLPEItem::applyToClipPathOrMask(SPItem *clip_mask, SPItem *item) repr->setAttribute("d", str); g_free(str); } else { - // LPE was unsuccesfull or doeffect stack return null.. Read the old 'd'-attribute. + // LPE was unsuccessful or doeffect stack return null.. Read the old 'd'-attribute. if (gchar const * value = repr->attribute("d")) { Geom::PathVector pv = sp_svg_read_pathv(value); SPCurve *oldcurve = new (std::nothrow) SPCurve(pv); diff --git a/src/sp-mesh-array.cpp b/src/sp-mesh-array.cpp index 905ad97eb..d958427f2 100644 --- a/src/sp-mesh-array.cpp +++ b/src/sp-mesh-array.cpp @@ -2460,7 +2460,7 @@ guint SPMeshNodeArray::insert( std::vector corners ) { /** Moves handles in response to a corner node move. - p_old: orignal position of moved corner node. + p_old: original position of moved corner node. corner: the corner node moved (draggable index, i.e. point_i). selected: list of all corners selected (draggable indices). op: how other corners should be moved. diff --git a/src/sp-object.h b/src/sp-object.h index 08e69f771..ee092aa7b 100644 --- a/src/sp-object.h +++ b/src/sp-object.h @@ -456,7 +456,7 @@ public: * * @param propagate If it is set to true, it emits a delete signal. * - * @param propagate_descendants If it is is true, it recursively sends the delete signal to children. + * @param propagate_descendants If it is true, it recursively sends the delete signal to children. */ void deleteObject(bool propagate, bool propagate_descendants); diff --git a/src/sp-path.cpp b/src/sp-path.cpp index 0cf2a5f3e..513e67810 100644 --- a/src/sp-path.cpp +++ b/src/sp-path.cpp @@ -355,7 +355,7 @@ g_message("sp_path_update_patheffect writes 'd' attribute"); repr->setAttribute("d", NULL); } } else if (!success) { - // LPE was unsuccesfull. Read the old 'd'-attribute. + // LPE was unsuccessful. Read the old 'd'-attribute. if (gchar const * value = repr->attribute("d")) { Geom::PathVector pv = sp_svg_read_pathv(value); SPCurve *oldcurve = new SPCurve(pv); diff --git a/src/sp-text.cpp b/src/sp-text.cpp index bbc711c96..075536d5f 100644 --- a/src/sp-text.cpp +++ b/src/sp-text.cpp @@ -516,7 +516,7 @@ unsigned SPText::_buildLayoutInput(SPObject *root, Inkscape::Text::Layout::Optio } else if (style->inline_size.set) { // If both shape_inside and inline_size are set, shape_inside wins out. - // We construct a rectange with one dimension set by the computed value of 'inline-size' + // We construct a rectangle with one dimension set by the computed value of 'inline-size' // and the other dimension set to infinity. Text is laid out starting at the 'x' and 'y' // attribute values. This is handled elsewhere. diff --git a/src/style-internal.cpp b/src/style-internal.cpp index 666bd75c6..319f4b905 100644 --- a/src/style-internal.cpp +++ b/src/style-internal.cpp @@ -2172,7 +2172,7 @@ SPIFontSize::merge( const SPIBase* const parent ) { ( p->type == SP_FONT_SIZE_LENGTH && p->unit != SP_CSS_UNIT_EM && p->unit != SP_CSS_UNIT_EX ) ) { - // Parent absolut size + // Parent absolute size type = SP_FONT_SIZE_LENGTH; } else { diff --git a/src/style.cpp b/src/style.cpp index a417e4331..d84e41e42 100644 --- a/src/style.cpp +++ b/src/style.cpp @@ -491,7 +491,7 @@ SPStyle::~SPStyle() { fill_ps_changed_connection.disconnect(); stroke_ps_changed_connection.disconnect(); - // The following shoud be moved into SPIPaint and SPIFilter + // The following should be moved into SPIPaint and SPIFilter if (fill.value.href) { fill_ps_modified_connection.disconnect(); } diff --git a/src/svg/svg-length-test.h b/src/svg/svg-length-test.h index e73211ade..2bdd904b1 100644 --- a/src/svg/svg-length-test.h +++ b/src/svg/svg-length-test.h @@ -124,7 +124,7 @@ public: // Ensure that all unit suffix strings allowed by SVG are covered by enum void testValidSVGStringsSupported() { - // Note that "px" is ommitted from the list, as it will be assumed to be so if not explicitly set. + // Note that "px" is omitted from the list, as it will be assumed to be so if not explicitly set. gchar const* valid[] = {"em", "ex", "pt", "pc", "cm", "mm", "in", "%"}; std::set validStrings(valid, valid + G_N_ELEMENTS(valid)); for ( int i = (static_cast(SVGLength::NONE) + 1); i <= static_cast(SVGLength::LAST_UNIT); i++ ) { diff --git a/src/svg/svg-length.cpp b/src/svg/svg-length.cpp index d22da69cd..b3468d49c 100644 --- a/src/svg/svg-length.cpp +++ b/src/svg/svg-length.cpp @@ -75,7 +75,7 @@ static unsigned int sp_svg_number_write_ui(gchar *buf, unsigned int val) return i; } -// TODO unsafe code ingnoring bufLen +// TODO unsafe code ignoring bufLen // rewrite using std::string? static unsigned int sp_svg_number_write_i(gchar *buf, int bufLen, int val) { @@ -93,7 +93,7 @@ static unsigned int sp_svg_number_write_i(gchar *buf, int bufLen, int val) return p; } -// TODO unsafe code ingnoring bufLen +// TODO unsafe code ignoring bufLen // rewrite using std::string? static unsigned sp_svg_number_write_d(gchar *buf, int bufLen, double val, unsigned int tprec, unsigned int fprec) { diff --git a/src/text-chemistry.cpp b/src/text-chemistry.cpp index 2c84a00f3..b2bd88a54 100644 --- a/src/text-chemistry.cpp +++ b/src/text-chemistry.cpp @@ -123,7 +123,7 @@ text_put_on_path() new_item->updateRepr(); Inkscape::GC::release(repr); - text->deleteObject(); // delete the orignal flowtext + text->deleteObject(); // delete the original flowtext desktop->getDocument()->ensureUpToDate(); diff --git a/src/ui/clipboard.cpp b/src/ui/clipboard.cpp index a0f1fa09c..e11aabcb6 100644 --- a/src/ui/clipboard.cpp +++ b/src/ui/clipboard.cpp @@ -1513,7 +1513,7 @@ void ClipboardManagerImpl::_setClipboardColor(guint32 color) /** - * Put a notification on the mesage stack. + * Put a notification on the message stack. */ void ClipboardManagerImpl::_userWarn(SPDesktop *desktop, char const *msg) { diff --git a/src/ui/dialog/dialog-manager.cpp b/src/ui/dialog/dialog-manager.cpp index c5392864d..0a4a774e6 100644 --- a/src/ui/dialog/dialog-manager.cpp +++ b/src/ui/dialog/dialog-manager.cpp @@ -84,7 +84,7 @@ inline Dialog *create() { return PanelDialog::template create(); } * initialize dialogs lazily - instead of constructing them during * application startup, they're constructed the first time they're * actually invoked by InkscapeApplication. The constructed - * dialog is held here after that, so future invokations of the + * dialog is held here after that, so future invocations of the * dialog don't need to get re-constructed each time. The memory for * the dialogs are then reclaimed when the DialogManager is destroyed. * diff --git a/src/ui/dialog/export.cpp b/src/ui/dialog/export.cpp index 53629a1a2..1c6632960 100644 --- a/src/ui/dialog/export.cpp +++ b/src/ui/dialog/export.cpp @@ -1759,7 +1759,7 @@ void Export::onBitmapHeightChange () * xdpi value is saved in the preferences for the next time the dialog * is opened. (does the selection dpi need to be set here?) * - * A check is done to to ensure that we aren't outputing an invalid width, + * A check is done to to ensure that we aren't outputting an invalid width, * this is set by SP_EXPORT_MIN_SIZE. If that is the case the dpi is * changed to make it valid. * diff --git a/src/ui/dialog/xml-tree.h b/src/ui/dialog/xml-tree.h index a4c3fffcb..cc28b5e5a 100644 --- a/src/ui/dialog/xml-tree.h +++ b/src/ui/dialog/xml-tree.h @@ -181,7 +181,7 @@ private: void setDesktop(SPDesktop *desktop); /** - * Flag to ensure only one operation is perfomed at once + * Flag to ensure only one operation is performed at once */ gint blocked; diff --git a/src/ui/tool/control-point.h b/src/ui/tool/control-point.h index bc1f060cd..24ff86c43 100644 --- a/src/ui/tool/control-point.h +++ b/src/ui/tool/control-point.h @@ -314,7 +314,7 @@ protected: void _setPixbuf(Glib::RefPtr); /** - * Determins if the control point is not visible yet still reacting to events. + * Determines if the control point is not visible yet still reacting to events. * * @return true if non-visible, false otherwise. */ diff --git a/src/ui/tool/node.cpp b/src/ui/tool/node.cpp index 67768571d..f9e9f0b86 100644 --- a/src/ui/tool/node.cpp +++ b/src/ui/tool/node.cpp @@ -750,7 +750,7 @@ void Node::_updateAutoHandles() return; } - // Auto nodes automaticaly adjust their handles to give an appearance of smoothness, + // Auto nodes automatically adjust their handles to give an appearance of smoothness, // no matter what their surroundings are. Geom::Point vec_next = _next()->position() - position(); Geom::Point vec_prev = _prev()->position() - position(); @@ -880,7 +880,7 @@ void Node::setType(NodeType type, bool update_handles) break; default: break; } - /* in node type changes, about bspline traces, we can mantain them with NO_POWER power in border mode, + /* in node type changes, about bspline traces, we can maintain them with NO_POWER power in border mode, or we give them the default power in curve mode */ if(_pm()._isBSpline()){ double weight = NO_POWER; diff --git a/src/ui/tools/spray-tool.cpp b/src/ui/tools/spray-tool.cpp index 5593ceb34..5a68fa969 100644 --- a/src/ui/tools/spray-tool.cpp +++ b/src/ui/tools/spray-tool.cpp @@ -799,7 +799,7 @@ static bool fit_item(SPDesktop *desktop, } if (pick_to_presence) { if (g_random_double_range (0, 1) > val) { - //Hidding the element is a way to retain original + //Hiding the element is a way to retain original //behaviour of tiled clones for presence option. sp_repr_css_set_property(css, "opacity", "0"); } diff --git a/src/ui/widget/layer-selector.cpp b/src/ui/widget/layer-selector.cpp index 0332143b5..7a0312192 100644 --- a/src/ui/widget/layer-selector.cpp +++ b/src/ui/widget/layer-selector.cpp @@ -89,7 +89,7 @@ private: } /** LayerSelector constructor. Creates lock and hide buttons, - * initalizes the layer dropdown selector with a label renderer, + * initializes the layer dropdown selector with a label renderer, * and hooks up signal for setting the desktop layer when the * selector is changed. */ diff --git a/src/ui/widget/registered-widget.cpp b/src/ui/widget/registered-widget.cpp index 13d223752..209388146 100644 --- a/src/ui/widget/registered-widget.cpp +++ b/src/ui/widget/registered-widget.cpp @@ -303,7 +303,7 @@ RegisteredScalar::on_value_changed() double val = getValue() < 1e-6 && getValue() > -1e-6?0.0:getValue(); os << val; //TODO: Test is ok remove this sensitives - //also removed in registed text and in registered random + //also removed in registered text and in registered random //set_sensitive(false); write_to_xml(os.str().c_str()); //set_sensitive(true); diff --git a/src/util/enums.h b/src/util/enums.h index 34138ad21..2ff5a0af8 100644 --- a/src/util/enums.h +++ b/src/util/enums.h @@ -19,7 +19,7 @@ namespace Util { * Simplified management of enumerations of svg items with UI labels. * IMPORTANT: * When initializing the EnumData struct, you cannot use _(...) to translate strings. - * Instead, one must use N_(...) and do the translation every time the string is retreived. + * Instead, one must use N_(...) and do the translation every time the string is retrieved. */ template struct EnumData diff --git a/src/util/expression-evaluator.cpp b/src/util/expression-evaluator.cpp index dd7ce97f7..0a2dd6d50 100644 --- a/src/util/expression-evaluator.cpp +++ b/src/util/expression-evaluator.cpp @@ -274,7 +274,7 @@ void ExpressionEvaluator::parseNextToken() // We're all done current_token.type = TOKEN_END; } else if ( s[0] == '+' || s[0] == '-' ) { - // Snatch these before the g_strtod() does, othewise they might + // Snatch these before the g_strtod() does, otherwise they might // be used in a numeric conversion. acceptTokenCount(1, s[0]); } else { diff --git a/src/util/ziptool.cpp b/src/util/ziptool.cpp index 2eb516b2e..b8253627c 100644 --- a/src/util/ziptool.cpp +++ b/src/util/ziptool.cpp @@ -2602,7 +2602,7 @@ bool ZipFile::readFileData() //#### Uncompress the data std::vector compBuf; - if (gpBitFlag & 0x8)//bit 3 was set. means we dont know compressed size + if (gpBitFlag & 0x8)//bit 3 was set. means we don't know compressed size { unsigned char c1, c2, c3, c4; c2 = c3 = c4 = 0; diff --git a/src/verbs.cpp b/src/verbs.cpp index 08a3bb5a0..2d33282c5 100644 --- a/src/verbs.cpp +++ b/src/verbs.cpp @@ -574,7 +574,7 @@ SPAction *TextVerb::make_action(Inkscape::ActionContext const & context) * This function does a couple of things. The most obvious is that * it allocates and creates the action. When it does this it * translates the \c _name and \c _tip variables. This allows them - * to be staticly allocated easily, and get translated in the end. Then, + * to be statically allocated easily, and get translated in the end. Then, * if the action gets crated, a listener is added to the action with * the vector that is passed in. * diff --git a/src/verbs.h b/src/verbs.h index 611a8131c..68ded5d72 100644 --- a/src/verbs.h +++ b/src/verbs.h @@ -37,7 +37,7 @@ class View; /** * This anonymous enum is used to provide a list of the Verbs - * which are defined staticly in the verb files. There may be + * which are defined statically in the verb files. There may be * other verbs which are defined dynamically also. */ enum { @@ -416,7 +416,7 @@ namespace Inkscape { */ class Verb { private: - /** An easy to use defition of the table of verbs by code. */ + /** An easy to use definition of the table of verbs by code. */ typedef std::map VerbTable; /** A table of all the dynamically created verbs. */ diff --git a/src/widgets/font-selector.cpp b/src/widgets/font-selector.cpp index 50380032b..bb3df93f0 100644 --- a/src/widgets/font-selector.cpp +++ b/src/widgets/font-selector.cpp @@ -391,7 +391,7 @@ static void sp_font_selector_emit_set (SPFontSelector *fsel) char *family=NULL, *style=NULL; //We need to check this here since most GtkTreeModel operations are not atomic - //See GtkListStore documenation, Chapter "Atomic Operations" --mderezynski + //See GtkListStore documentation, Chapter "Atomic Operations" --mderezynski model_family = gtk_tree_view_get_model (GTK_TREE_VIEW (fsel->family_treeview)); if (!model_family) return; diff --git a/src/widgets/measure-toolbar.cpp b/src/widgets/measure-toolbar.cpp index f031414a4..4973a2dd3 100644 --- a/src/widgets/measure-toolbar.cpp +++ b/src/widgets/measure-toolbar.cpp @@ -314,7 +314,7 @@ void sp_measure_toolbox_prep(SPDesktop * desktop, GtkActionGroup* mainActions, G gtk_action_group_add_action( mainActions, act ); } - /* Precission */ + /* Precision */ { eact = create_adjustment_action( "MeasurePrecisionAction", _("Precision"), _("Precision:"), diff --git a/src/widgets/text-toolbar.cpp b/src/widgets/text-toolbar.cpp index 3ca5bf2dc..184c9fd4b 100644 --- a/src/widgets/text-toolbar.cpp +++ b/src/widgets/text-toolbar.cpp @@ -1695,7 +1695,7 @@ static void sp_text_toolbox_selection_changed(Inkscape::Selection */*selection*/ } else { tracker->setActiveUnitByAbbr(sp_style_get_css_unit_string(line_height_unit)); } - // Save unit so we can do convertions between new/old units. + // Save unit so we can do conversions between new/old units. g_object_set_data( tbl, "lineheight_unit", GINT_TO_POINTER(line_height_unit)); // Enable and turn on only if selection includes an object with line height set. diff --git a/src/xml/event.h b/src/xml/event.h index ca79983ba..5210b232d 100644 --- a/src/xml/event.h +++ b/src/xml/event.h @@ -209,7 +209,7 @@ private: }; /** - * @brief Obect representing child order change + * @brief Object representing child order change */ class EventChgOrder : public Event { public: diff --git a/src/xml/repr-css.cpp b/src/xml/repr-css.cpp index 2970c1da5..9121acaad 100644 --- a/src/xml/repr-css.cpp +++ b/src/xml/repr-css.cpp @@ -377,7 +377,7 @@ static void sp_repr_css_merge_from_decl(SPCSSAttr *css, CRDeclaration const *con // libcroco uses %.17f for formatting... leading to trailing zeros or small rounding errors. // CSSOStringStream is used here to write valid CSS (as in sp_style_write_string). This has - // the additional benefit of respecting the numerical precission set in the SVG Output + // the additional benefit of respecting the numerical precision set in the SVG Output // preferences. We assume any numerical part comes first (if not, the whole string is copied). std::stringstream ss( value ); double number = 0; -- cgit v1.2.3