From eb07ba085151be60d518ce6310a33e413d699a32 Mon Sep 17 00:00:00 2001 From: luzpaz Date: Fri, 1 Dec 2017 13:07:34 -0500 Subject: Misc. typos Please confirm typos in the following `doc/nr-filter-interface.txt` `share/symbols/BalloonSymbols.svg` . --- share/extensions/Barcode/Code128.py | 6 +++--- share/extensions/Barcode/Code39.py | 2 +- share/extensions/Barcode/Code93.py | 2 +- share/extensions/bezmisc.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'share/extensions') 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 -- cgit v1.2.3