summaryrefslogtreecommitdiffstats
path: root/share/extensions
diff options
context:
space:
mode:
authorluzpaz <luzpaz@users.noreply.github.com>2017-12-01 18:07:34 +0000
committerluzpaz <kunda@scribus.net>2017-12-04 01:55:06 +0000
commiteb07ba085151be60d518ce6310a33e413d699a32 (patch)
tree4530b037a2c813960396a8125561620c0305589f /share/extensions
parentOptionaly measure only selected elements (diff)
downloadinkscape-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 'share/extensions')
-rw-r--r--share/extensions/Barcode/Code128.py6
-rw-r--r--share/extensions/Barcode/Code39.py2
-rw-r--r--share/extensions/Barcode/Code93.py2
-rwxr-xr-xshare/extensions/bezmisc.py2
4 files changed, 6 insertions, 6 deletions
diff --git a/share/extensions/Barcode/Code128.py b/share/extensions/Barcode/Code128.py
index b90e3bcf6..4af788bbe 100644
--- a/share/extensions/Barcode/Code128.py
+++ b/share/extensions/Barcode/Code128.py
@@ -73,9 +73,9 @@ class Code128(Barcode):
blocks = []
block = ''
- # Split up into sections of numbers, or charicters
- # This makes sure that all the charicters are encoded
- # In the best way posible for Code128
+ # Split up into sections of numbers, or characters
+ # This makes sure that all the characters are encoded
+ # In the best way possible for Code128
for datum in re.findall(r'(?:(?:\d\d){2,})|(?:^\d\d)|.', text):
if len(datum) == 1:
block = block + datum
diff --git a/share/extensions/Barcode/Code39.py b/share/extensions/Barcode/Code39.py
index 0d4d445b1..cfe619bb0 100644
--- a/share/extensions/Barcode/Code39.py
+++ b/share/extensions/Barcode/Code39.py
@@ -73,7 +73,7 @@ class Code39(Barcode):
def encode(self, text):
self.text = text.upper()
result = ''
- # It isposible for us to encode code39
+ # It is possible for us to encode code39
# into full ascii, but this feature is
# not enabled here
for char in '*' + self.text + '*':
diff --git a/share/extensions/Barcode/Code93.py b/share/extensions/Barcode/Code93.py
index 939a739dd..d09971fe7 100644
--- a/share/extensions/Barcode/Code93.py
+++ b/share/extensions/Barcode/Code93.py
@@ -91,7 +91,7 @@ class Code93(Barcode):
return PALLET[check % 47]
- # Some charicters need re-ENCODE into the code93 specification
+ # Some characters need re-ENCODE into the code93 specification
def encode_ascii(self, text):
result = []
for char in text:
diff --git a/share/extensions/bezmisc.py b/share/extensions/bezmisc.py
index c36e8e1b4..1119b85e2 100755
--- a/share/extensions/bezmisc.py
+++ b/share/extensions/bezmisc.py
@@ -113,7 +113,7 @@ def bezierslopeatt(((bx0,by0),(bx1,by1),(bx2,by2),(bx3,by3)),t):
def beziertatslope(((bx0,by0),(bx1,by1),(bx2,by2),(bx3,by3)),(dy,dx)):
ax,ay,bx,by,cx,cy,x0,y0=bezierparameterize(((bx0,by0),(bx1,by1),(bx2,by2),(bx3,by3)))
- #quadratic coefficents of slope formula
+ #quadratic coefficients of slope formula
if dx:
slope = 1.0*(dy/dx)
a=3*ay-3*ax*slope