summaryrefslogtreecommitdiffstats
path: root/src/display
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2018-01-08 21:50:51 +0000
committerluz.paz <luzpaz@users.noreply.github.com>2018-01-08 21:50:51 +0000
commit202e75590f8200823ef0efd36cc0edbd1bf1edcc (patch)
tree1a18f646f7e49b0e1836efd6401793f6e9c38d68 /src/display
parentRestore ability to switch mode while using spray tool (is this even useful?). (diff)
downloadinkscape-202e75590f8200823ef0efd36cc0edbd1bf1edcc.tar.gz
inkscape-202e75590f8200823ef0efd36cc0edbd1bf1edcc.zip
Misc. typos
Found via `codespell`
Diffstat (limited to 'src/display')
-rw-r--r--src/display/grayscale.cpp2
-rw-r--r--src/display/nr-filter.h2
-rw-r--r--src/display/nr-svgfonts.cpp2
3 files changed, 3 insertions, 3 deletions
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++){