summaryrefslogtreecommitdiffstats
path: root/src/extension
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2018-09-30 18:39:25 +0000
committerluz paz <luzpaz@users.noreply.github.com>2018-10-06 02:05:25 +0000
commit33780c0f28bcda586b1e14de93525a6ab426e4df (patch)
tree341c90061fed79841ea4161b2088d5baa40fe1fa /src/extension
parentAdd new style register style property for stop color and opacity (diff)
downloadinkscape-33780c0f28bcda586b1e14de93525a6ab426e4df.tar.gz
inkscape-33780c0f28bcda586b1e14de93525a6ab426e4df.zip
Misc. typos
Found via `codespell`
Diffstat (limited to 'src/extension')
-rw-r--r--src/extension/dependency.cpp2
-rw-r--r--src/extension/dependency.h4
-rw-r--r--src/extension/internal/cairo-renderer.cpp2
-rw-r--r--src/extension/internal/emf-inout.cpp4
-rw-r--r--src/extension/internal/odf.cpp2
-rw-r--r--src/extension/internal/svg.cpp2
-rw-r--r--src/extension/internal/wmf-inout.cpp2
-rw-r--r--src/extension/system.h4
8 files changed, 11 insertions, 11 deletions
diff --git a/src/extension/dependency.cpp b/src/extension/dependency.cpp
index 845ed8202..fde6ee86f 100644
--- a/src/extension/dependency.cpp
+++ b/src/extension/dependency.cpp
@@ -114,7 +114,7 @@ Dependency::~Dependency ()
If the \c _location is \c LOCATION_EXTENSIONS then the \c INKSCAPE_EXTENSIONDIR
is put on the front of the string with \c build_filename. Then the
- appopriate filetest is run.
+ appropriate filetest is run.
If the \c _location is \c LOCATION_ABSOLUTE then the file test is
run directly on the string.
diff --git a/src/extension/dependency.h b/src/extension/dependency.h
index e97965cc5..1cba8aff9 100644
--- a/src/extension/dependency.h
+++ b/src/extension/dependency.h
@@ -47,10 +47,10 @@ class Dependency {
/** \brief The location to look for this particular dependency. */
location_t _location;
- /** \brief Strings to reperesent the different enum values in
+ /** \brief Strings to represent the different enum values in
\c type_t in the XML */
static gchar const * _type_str[TYPE_CNT];
- /** \brief Strings to reperesent the different enum values in
+ /** \brief Strings to represent the different enum values in
\c location_t in the XML */
static gchar const * _location_str[LOCATION_CNT];
diff --git a/src/extension/internal/cairo-renderer.cpp b/src/extension/internal/cairo-renderer.cpp
index 4a11e40f6..c7d4a5bde 100644
--- a/src/extension/internal/cairo-renderer.cpp
+++ b/src/extension/internal/cairo-renderer.cpp
@@ -488,7 +488,7 @@ static void sp_asbitmap_render(SPItem *item, CairoRenderContext *ctx)
// Calculate the matrix that will be applied to the image so that it exactly overlaps the source objects
- // Matix to put bitmap in correct place on document
+ // Matrix to put bitmap in correct place on document
Geom::Affine t_on_document = (Geom::Affine)(Geom::Scale (scale_x, scale_y)) *
(Geom::Affine)(Geom::Translate (shift_x, shift_y));
diff --git a/src/extension/internal/emf-inout.cpp b/src/extension/internal/emf-inout.cpp
index 7baf84306..44625ac5d 100644
--- a/src/extension/internal/emf-inout.cpp
+++ b/src/extension/internal/emf-inout.cpp
@@ -582,7 +582,7 @@ uint32_t Emf::add_image(PEMF_CALLBACK_DATA d, void *pEmr, uint32_t cbBits, uint
So the rotated name is EMFrotimage###_XXXXXX, where ### is the number of the referred to image, and
XXXX is the rotation in radians x 1000000 and truncated. That is then stored in BASE64 as the "image".
The corresponding SVG generated though is not for an image, but a reference to an image.
- The name of the pattern MUST stil be EMFimage###_ref or output_style() will not be able to use it.
+ The name of the pattern MUST still be EMFimage###_ref or output_style() will not be able to use it.
*/
if(current_rotation(d) >= 0.00001 || current_rotation(d) <= -0.00001){ /* some rotation, allow a little rounding error around 0 degrees */
int tangle = round(current_rotation(d)*1000000.0);
@@ -1456,7 +1456,7 @@ Emf::delete_object(PEMF_CALLBACK_DATA d, int index)
d->emf_obj[index].type = 0;
// We are keeping a copy of the EMR rather than just a structure. Currently that is not necessary as the entire
// EMF is read in at once and is stored in a big malloc. However, in past versions it was handled
-// reord by record, and we might need to do that again at some point in the future if we start running into EMF
+// record by record, and we might need to do that again at some point in the future if we start running into EMF
// files too big to fit into memory.
if (d->emf_obj[index].lpEMFR)
free(d->emf_obj[index].lpEMFR);
diff --git a/src/extension/internal/odf.cpp b/src/extension/internal/odf.cpp
index e1ef985bc..c7d0814b4 100644
--- a/src/extension/internal/odf.cpp
+++ b/src/extension/internal/odf.cpp
@@ -268,7 +268,7 @@ private:
* The singular values, sigma[k] = S[k][k], are ordered so that
* sigma[0] >= sigma[1] >= ... >= sigma[n-1].
* <P>
- * The singular value decompostion always exists, so the constructor will
+ * The singular value decomposition always exists, so the constructor will
* never fail. The matrix condition number and the effective numerical
* rank can be computed from this decomposition.
*/
diff --git a/src/extension/internal/svg.cpp b/src/extension/internal/svg.cpp
index 746089893..1487ec47f 100644
--- a/src/extension/internal/svg.cpp
+++ b/src/extension/internal/svg.cpp
@@ -69,7 +69,7 @@ static void pruneExtendedNamespaces( Inkscape::XML::Node *repr )
attrsRemoved.push_back(attrName);
}
}
- // Can't change the set we're interating over while we are iterating.
+ // Can't change the set we're iterating over while we are iterating.
for ( std::vector<gchar const*>::iterator it = attrsRemoved.begin(); it != attrsRemoved.end(); ++it ) {
repr->setAttribute(*it, nullptr);
}
diff --git a/src/extension/internal/wmf-inout.cpp b/src/extension/internal/wmf-inout.cpp
index 3783eaa1a..2e4b39299 100644
--- a/src/extension/internal/wmf-inout.cpp
+++ b/src/extension/internal/wmf-inout.cpp
@@ -1261,7 +1261,7 @@ Wmf::delete_object(PWMF_CALLBACK_DATA d, int index)
d->wmf_obj[index].type = 0;
// We are keeping a copy of the WMR rather than just a structure. Currently that is not necessary as the entire
// WMF is read in at once and is stored in a big malloc. However, in past versions it was handled
-// reord by record, and we might need to do that again at some point in the future if we start running into WMF
+// record by record, and we might need to do that again at some point in the future if we start running into WMF
// files too big to fit into memory.
if (d->wmf_obj[index].record)
free(d->wmf_obj[index].record);
diff --git a/src/extension/system.h b/src/extension/system.h
index 170c44346..6b405b5d0 100644
--- a/src/extension/system.h
+++ b/src/extension/system.h
@@ -75,7 +75,7 @@ Glib::ustring get_file_save_path (SPDocument *doc, FileSaveMethod method);
* Write the given file extension back to prefs so that it can be used later on.
*
* @param extension the file extension which should be written to prefs
- * @param method the file save mathod of the dialog
+ * @param method the file save method of the dialog
*/
void store_file_extension_in_prefs (Glib::ustring extension, FileSaveMethod method);
@@ -83,7 +83,7 @@ void store_file_extension_in_prefs (Glib::ustring extension, FileSaveMethod meth
* Write the given path back to prefs so that it can be used later on.
*
* @param path the path which should be written to prefs
- * @param method the file save mathod of the dialog
+ * @param method the file save method of the dialog
*/
void store_save_path_in_prefs (Glib::ustring path, FileSaveMethod method);