From 8e2e7b350b7a48347f1842060431bb9fd7bfa94c Mon Sep 17 00:00:00 2001 From: Nicolas Dufour Date: Fri, 19 Oct 2012 14:51:28 +0200 Subject: Filters. Fixing filters structure and typo. (bzr r11809) --- share/filters/filters.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') diff --git a/share/filters/filters.svg b/share/filters/filters.svg index c05c2c1e8..e617d3241 100644 --- a/share/filters/filters.svg +++ b/share/filters/filters.svg @@ -2520,7 +2520,7 @@ sodipodi:docname="filters.svg"> - + -- cgit v1.2.3 From 398b8c550b6ece8e389cf263615c6463c50bbf0f Mon Sep 17 00:00:00 2001 From: Alvin Penner Date: Tue, 23 Oct 2012 17:40:02 -0400 Subject: extensions. function plotter. prevent divide by zero. (Bug 1064863) Fixed bugs: - https://launchpad.net/bugs/1064863 (bzr r11824) --- share/extensions/funcplot.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'share') diff --git a/share/extensions/funcplot.py b/share/extensions/funcplot.py index a3a810028..08ac15dbb 100755 --- a/share/extensions/funcplot.py +++ b/share/extensions/funcplot.py @@ -43,6 +43,9 @@ def drawfunction(xstart, xend, ybottom, ytop, samples, width, height, left, bott xend = 2 * pi * xend # coords and scales based on the source rect + if xstart == xend: + inkex.errormsg(_("x-interval cannot be zero. Please modify 'Start X' or 'End X'")) + return [] scalex = width / (xend - xstart) xoff = left coordx = lambda x: (x - xstart) * scalex + xoff #convert x-value to coordinate @@ -52,6 +55,9 @@ def drawfunction(xstart, xend, ybottom, ytop, samples, width, height, left, bott polar_scalex = width/2.0 coordx = lambda x: x * polar_scalex + centerx #convert x-value to coordinate + if ytop == ybottom: + inkex.errormsg(_("y-interval cannot be zero. Please modify 'Y top' or 'Y bottom'")) + return [] scaley = height / (ytop - ybottom) yoff = bottom coordy = lambda y: (ybottom - y) * scaley + yoff #convert y-value to coordinate -- cgit v1.2.3 From 6f23c503d35fedae0ee8cdda017f88763a05828a Mon Sep 17 00:00:00 2001 From: Nicolas Dufour Date: Fri, 16 Nov 2012 07:52:31 +0100 Subject: Extensions. Fix for Bug #1075321 (TypeError: decoding Unicode is not supported) by Aapo Rantalainen. (bzr r11877) --- share/extensions/embedimage.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'share') diff --git a/share/extensions/embedimage.py b/share/extensions/embedimage.py index 159c3c152..bdc15bde2 100755 --- a/share/extensions/embedimage.py +++ b/share/extensions/embedimage.py @@ -75,8 +75,11 @@ class Embedder(inkex.Effect): if (absref != None): path=absref - path=unicode(path, "utf-8") - + try: + path=unicode(path, "utf-8") + except TypeError: + path=path + if (not os.path.isfile(path)): inkex.errormsg(_('No xlink:href or sodipodi:absref attributes found, or they do not point to an existing file! Unable to embed image.')) if path: -- cgit v1.2.3 From bb674185ebcd2e8cebd4e59a57e8e411a960c4f8 Mon Sep 17 00:00:00 2001 From: Nicolas Dufour Date: Fri, 16 Nov 2012 15:19:01 +0100 Subject: Extensions. Fix for Bug #708515 (Optimized SVG save fails with Attribute error - no infilename). (bzr r11878) --- share/extensions/scour.inkscape.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'share') diff --git a/share/extensions/scour.inkscape.py b/share/extensions/scour.inkscape.py index 1cc7744d9..f161a09c2 100755 --- a/share/extensions/scour.inkscape.py +++ b/share/extensions/scour.inkscape.py @@ -65,8 +65,9 @@ class ScourInkscape (inkex.Effect): action="store", dest="renderer_workaround", default=False, help="work around various renderer bugs (currently only librsvg)") - def effect(self): + def effect(self): input = file(self.args[0], "r") + self.options.infilename=self.args[0] sys.stdout.write(scourString(input.read(), self.options).encode("UTF-8")) input.close() sys.stdout.close() -- cgit v1.2.3 From 477e5a767314999b23ec063a6f8a031aac12ff57 Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Mon, 19 Nov 2012 20:31:43 +0100 Subject: Add new symbol set: AIGA/DOT Transportation/Passenger Symbols. (bzr r11884) --- share/symbols/AigaSymbols.svg | 1399 +++++++++++++++++++++++++++++++++++++++++ share/symbols/Makefile.am | 2 +- 2 files changed, 1400 insertions(+), 1 deletion(-) create mode 100644 share/symbols/AigaSymbols.svg (limited to 'share') diff --git a/share/symbols/AigaSymbols.svg b/share/symbols/AigaSymbols.svg new file mode 100644 index 000000000..c78d4f7ea --- /dev/null +++ b/share/symbols/AigaSymbols.svg @@ -0,0 +1,1399 @@ + + + + + + + + AIGA Symbol Signs + Passenger/Pedestrian Symbols + + + + Telephone + + + + + + + + + Telephone + + + + + + + + + + Mail + + + + + + + + + + Mail + + + + + + + + + + + Currency Exchange + + + + + + + + + + + + + + + + + + + Currency Exchange + + + + + + + + + + + + + + + + + + + + Currency Exchange - Euro + + + + + + + + + + + + + + + + + + + Currency Exchange - Euro + + + + + + + + + + + + + + + + + + + + Cashier + + + + + + + + Cashier + + + + + + + + + First Aid + + + + + First Aid + + + + + + Lost and Found + + + + + + + + + + + Lost and Found + + + + + + + + + + + + Coat Check + + + + + Coat Check + + + + + + Bagage Lockers + + + + + + + + + + Bagage Lockers + + + + + + + + + + + Escalator + + + + + + + Escalator + + + + + + + + Escalator Down + + + + + + + + Escalator Down + + + + + + + + + Escalator Up + + + + + + + + Escalator Up + + + + + + + + + Stairs + + + + + Stairs + + + + + + Stairs Down + + + + + + Stairs Down + + + + + + + Stairs Up + + + + + + Stairs Up + + + + + + + Elevator + + + + + + + + + + + + + + + + + + Elevator + + + + + + + + + + + + + + + + + + + Toilets - Men + + + + + + + + Toilets - Men + + + + + + + + + Toilets - Women + + + + + + + + Toilets - Women + + + + + + + + + Toilets + + + + + + + + + + + + + + Toilets + + + + + + + + + + + + + + + Nursery + + + + + + + + + + Nursery + + + + + + + + + + + Drinking Fountain + + + + + + + + + + + + + + + + + + + + + + + + + Drinking Fountain + + + + + + + + + + + + + + + + + + + + + + + + + + Waiting Room + + + + + + + + + + + + Waiting Room + + + + + + + + + + + + + Information + + + + + + + Information + + + + + + + + Hotel Information + + + + + + + + + + + + + Hotel Information + + + + + + + + + + + + + + Air Transportation + + + + + Air Transportation + + + + + + Heliport + + + + + + + + + + + + + + + + + + + + + + + Heliport + + + + + + + + + + + + + + + + + + + + + + + + Taxi + + + + + + + Taxi + + + + + + + + Bus + + + + + + + + Bus + + + + + + + + + Ground Transportation + + + + + + + + + + + + + Ground Transportation + + + + + + + + + + + + + + Rail Transportation + + + + + + + + + Rail Transportation + + + + + + + + + + Water Transportation + + + + + Water Transportation + + + + + + Car Rental + + + + + + + + + + Car Rental + + + + + + + + + + + Restaurant + + + + + + + + Restaurant + + + + + + + + + Coffeeshop + + + + + + + + Coffeeshop + + + + + + + + + Bar + + + + + Bar + + + + + + Shops + + + + + + + + + + + + Shops + + + + + + + + + + + + + Barber Shop - Beauty Salon + + + + + + + + + + Barber Shop - Beauty Salon + + + + + + + + + + + Barber Shop + + + + + + + + + + + + + Barber Shop + + + + + + + + + + + + + + Beauty Salon + + + + + + + + + + + + + Beauty Salon + + + + + + + + + + + + + + Ticket Purchase + + + + + + + + + + + + + + + + Ticket Purchase + + + + + + + + + + + + + + + + + Baggage Check In + + + + + Baggage Check In + + + + + + Baggage Claim + + + + + Baggage Claim + + + + + + Customs + + + + + + + + + + Customs + + + + + + + + + + + Immigration + + + + + + + + + + Immigration + + + + + + + + + + + Departing Flights + + + + + + + Departing Flights + + + + + + + + Arriving Flights + + + + + + + + Arriving Flights + + + + + + + + + Smoking + + + + + + + + + Smoking + + + + + + + + + + No Smoking + + + + + + + + + + + + No Smoking + + + + + + + + + + + + + Parking + + + + + Parking + + + + + + No Parking + + + + + + + + No Parking + + + + + + + + + No Dogs + + + + + + + + No Dogs + + + + + + + + + No Entry + + + + + + No Entry + + + + + + + Exit + + + + + Exit + + + + + + Fire Extinguisher + + + + + Fire Extinguisher + + + + + + Right Arrow + + + + + Right Arrow + + + + + + Forward and Right Arrow + + + + + Forward and Right Arrow + + + + + + Up Arrow + + + + + Up Arrow + + + + + + Forward and Left Arrow + + + + + Forward and Left Arrow + + + + + + Left Arrow + + + + + Left Arrow + + + + + + Left and Down Arrow + + + + + Left and Down Arrow + + + + + + Down Arrow + + + + + Down Arrow + + + + + + Right and Down Arrow + + + + + Right and Down Arrow + + + + + + NPS Wheelchair Accessable - 1996 + + + + + + + + + NPS Wheelchair Accessable - 1996 + + + + + + + + + + NPS Wheelchair Accessable + + + + + + + + + NPS Wheelchair Accessable + + + + + + + + + + New Wheelchair Accessable + + + + + + + + + New Wheelchair Accessable + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/share/symbols/Makefile.am b/share/symbols/Makefile.am index fa5f0704b..97ed43e1a 100644 --- a/share/symbols/Makefile.am +++ b/share/symbols/Makefile.am @@ -2,8 +2,8 @@ symbolsdir = $(datadir)/inkscape/symbols symbols_DATA = \ + AigaSymbols.svg \ LogicSymbols.svg - EXTRA_DIST = $(symbols_DATA) -- cgit v1.2.3 From 9a5d0b6ce1cbe5ba271c3a014250a4d1d9c92d7a Mon Sep 17 00:00:00 2001 From: Josh Andler Date: Tue, 20 Nov 2012 11:21:32 -0800 Subject: Rename keys name within the file (bzr r11886) --- share/keys/xara.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') diff --git a/share/keys/xara.xml b/share/keys/xara.xml index 43e909011..936ee1fd3 100644 --- a/share/keys/xara.xml +++ b/share/keys/xara.xml @@ -1,5 +1,5 @@ - +