Last active
December 10, 2015 21:58
-
-
Save ShadowKyogre/4498738 to your computer and use it in GitHub Desktop.
Since the colors white for the bg and black for the text are hard coded, I decided to switch around some things in order to make thos colors configurable.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -aur openastro.org-1.1.38.orig/openastro openastro.org-1.1.38/openastro | |
--- openastro.org-1.1.38.orig/openastro 2013-01-09 16:45:06.459729587 -0800 | |
+++ openastro.org-1.1.38/openastro 2013-01-09 17:50:34.637738525 -0800 | |
@@ -49,7 +49,10 @@ | |
VERSION='1.1.38' | |
#directories | |
-DATADIR=os.path.join(sys.prefix,'share','openastro.org') | |
+if LOCAL: | |
+ DATADIR=os.path.dirname(__file__) | |
+else: | |
+ DATADIR=os.path.join(sys.prefix,'share','openastro.org') | |
TMPDIR='/tmp' | |
#Translations | |
@@ -79,7 +82,6 @@ | |
"sv":"svenska" | |
} | |
- | |
if LOCAL: | |
TDomain = './locale' | |
else: | |
@@ -100,7 +102,6 @@ | |
print "OpenAstro.org has not yet been translated in your language! Could not load translation..." | |
TRANSLATION["default"] = gettext.translation("openastro",TDomain,languages=['en']) | |
- | |
#config class | |
class openAstroCfg: | |
@@ -409,6 +410,8 @@ | |
#default values for colors (if dbcheck) | |
self.defaultColors = { | |
+ "paper_color_0":"#000000", | |
+ "paper_color_1":"#ffffff", | |
"zodiac_bg_0":"#482900", | |
"zodiac_bg_1":"#6b3d00", | |
"zodiac_bg_2":"#5995e7", | |
@@ -1468,9 +1471,9 @@ | |
td['c1'] = 'cx="' + str(r) + '" cy="' + str(r) + '" r="' + str(r-36) + '"' | |
td['c1style'] = 'fill: none; stroke: %s; stroke-width: 1px; stroke-opacity:.4;'%(self.colors['zodiac_transit_ring_2']) | |
td['c2'] = 'cx="' + str(r) + '" cy="' + str(r) + '" r="' + str(r-72) + '"' | |
- td['c2style'] = 'fill: #fff; fill-opacity:.4; stroke: %s; stroke-opacity:.4; stroke-width: 1px'%(self.colors['zodiac_transit_ring_1']) | |
+ td['c2style'] = 'fill: %s; fill-opacity:.4; stroke: %s; stroke-opacity:.4; stroke-width: 1px'%(openAstro.colors['paper_color_1'], self.colors['zodiac_transit_ring_1']) | |
td['c3'] = 'cx="' + str(r) + '" cy="' + str(r) + '" r="' + str(r-160) + '"' | |
- td['c3style'] = 'fill: #fff; fill-opacity:.8; stroke: %s; stroke-width: 1px'%(self.colors['zodiac_transit_ring_0']) | |
+ td['c3style'] = 'fill: %s; fill-opacity:.8; stroke: %s; stroke-width: 1px'%(openAstro.colors['paper_color_1'], self.colors['zodiac_transit_ring_0']) | |
td['makeAspects'] = self.makeAspectsTransit( r , (r-160)) | |
td['makeAspectGrid'] = self.makeAspectTransitGrid( r ) | |
td['makePatterns'] = '' | |
@@ -1481,9 +1484,9 @@ | |
td['c1'] = 'cx="' + str(r) + '" cy="' + str(r) + '" r="' + str(r-self.c1) + '"' | |
td['c1style'] = 'fill: none; stroke: %s; stroke-width: 1px; '%(self.colors['zodiac_radix_ring_2']) | |
td['c2'] = 'cx="' + str(r) + '" cy="' + str(r) + '" r="' + str(r-self.c2) + '"' | |
- td['c2style'] = 'fill: #fff; fill-opacity:.2; stroke: %s; stroke-opacity:.4; stroke-width: 1px'%(self.colors['zodiac_radix_ring_1']) | |
+ td['c2style'] = 'fill: %s; fill-opacity:.2; stroke: %s; stroke-opacity:.4; stroke-width: 1px'%(openAstro.colors['paper_color_1'], self.colors['zodiac_radix_ring_1']) | |
td['c3'] = 'cx="' + str(r) + '" cy="' + str(r) + '" r="' + str(r-self.c3) + '"' | |
- td['c3style'] = 'fill: #fff; fill-opacity:.8; stroke: %s; stroke-width: 1px'%(self.colors['zodiac_radix_ring_0']) | |
+ td['c3style'] = 'fill: %s; fill-opacity:.8; stroke: %s; stroke-width: 1px'%(openAstro.colors['paper_color_1'], self.colors['zodiac_radix_ring_0']) | |
td['makeAspects'] = self.makeAspects( r , (r-self.c3)) | |
td['makeAspectGrid'] = self.makeAspectGrid( r ) | |
td['makePatterns'] = self.makePatterns() | |
@@ -1572,6 +1575,12 @@ | |
td['makeElements'] = self.makeElements( r ) | |
td['makePlanetGrid'] = self.makePlanetGrid() | |
td['makeHousesGrid'] = self.makeHousesGrid() | |
+ td['paper_color_0'] = self.colors['paper_color_0'] | |
+ print(self.colors['paper_color_0']) | |
+ print(self.colors['paper_color_1']) | |
+ td['paper_color_1'] = self.colors['paper_color_1'] | |
+ print(td['paper_color_0']) | |
+ print(td['paper_color_1']) | |
#read template | |
f=open(cfg.xml_svg) | |
@@ -1594,7 +1603,7 @@ | |
#draw transit ring | |
def transitRing( self , r ): | |
- out = '<circle cx="%s" cy="%s" r="%s" style="fill: none; stroke: #fff; stroke-width: 36px; stroke-opacity: .4;"/>' % (r,r,r-18) | |
+ out = '<circle cx="%s" cy="%s" r="%s" style="fill: none; stroke: %s; stroke-width: 36px; stroke-opacity: .4;"/>' % (r,r,r-18,openAstro.colors['paper_color_1']) | |
out += '<circle cx="%s" cy="%s" r="%s" style="fill: none; stroke: %s; stroke-width: 1px; stroke-opacity: .6;"/>' % (r,r,r,self.colors['zodiac_transit_ring_3']) | |
return out | |
@@ -1611,8 +1620,8 @@ | |
y1 = self.sliceToY( 0 , r-self.c1 , offset ) + self.c1 | |
x2 = self.sliceToX( 0 , r+2-self.c1 , offset ) - 2 + self.c1 | |
y2 = self.sliceToY( 0 , r+2-self.c1 , offset ) - 2 + self.c1 | |
- out += '<line x1="%s" y1="%s" x2="%s" y2="%s" style="stroke: #000; stroke-width: 1px; stroke-opacity:.9;"/>\n' % ( | |
- x1,y1,x2,y2 ) | |
+ out += '<line x1="%s" y1="%s" x2="%s" y2="%s" style="stroke: %s; stroke-width: 1px; stroke-opacity:.9;"/>\n' % ( | |
+ x1,y1,x2,y2, openAstro.colors['paper_color_0']) | |
return out | |
def degreeTransitRing( self , r ): | |
@@ -2294,7 +2303,7 @@ | |
if len(yot) >= 1: | |
y=0 | |
for k,v in yot.iteritems(): | |
- out += '<text y="%s" style="fill:#000; font-size: 12px;">%s</text>\n' % (y,_("Yot")) | |
+ out += '<text y="%s" style="fill:%s; font-size: 12px;">%s</text>\n' % (y,_("Yot"), openAstro.colors['paper_color_0']) | |
#first planet symbol | |
out += '<g transform="translate(20,%s)">' % (y) | |
@@ -2364,7 +2373,7 @@ | |
def makeAspectTransitGrid( self , r ): | |
out = '<g transform="translate(500,310)">' | |
- out += '<text y="-15" x="0" style="fill:#000; font-size: 12px;">%s</text>\n' % (_("Planets in Transit")) | |
+ out += '<text y="-15" x="0" style="fill:%s; font-size: 12px;">%s</text>\n' % (openAstro.colors['paper_color_0'],_("Planets in Transit")) | |
line = 0 | |
nl = 0 | |
for i in range(len(self.atgrid)): | |
@@ -2387,8 +2396,8 @@ | |
self.planets[self.atgrid[i]['p1']]['name']) | |
out += '</g>' | |
#difference in degrees | |
- out += '<text y="8" x="45" style="fill:#000; font-size: 10px;">%s</text>' % ( | |
- self.dec2deg(self.atgrid[i]['diff']) ) | |
+ out += '<text y="8" x="45" style="fill:%s; font-size: 10px;">%s</text>' % ( | |
+ openAstro.colors['paper_color_0'], self.dec2deg(self.atgrid[i]['diff']) ) | |
#line | |
out += '</g>' | |
line = line + 14 | |
@@ -2397,7 +2406,7 @@ | |
def makeAspectGrid( self , r ): | |
out="" | |
- style='stroke:#000; stroke-width: 1px; stroke-opacity:.6; fill:none' | |
+ style='stroke:%s; stroke-width: 1px; stroke-opacity:.6; fill:none' %(openAstro.colors['paper_color_0']) | |
xindent=380 | |
yindent=468 | |
box=14 | |
@@ -2453,11 +2462,11 @@ | |
#start of line | |
out = out + '<g transform="translate(%s,%s)">' % (offset,li) | |
#planet text | |
- out = out + '<text text-anchor="end" style="fill:#000; font-size: 10px;">'+str(self.planets[i]['label'])+'</text>' | |
+ out = out + '<text text-anchor="end" style="fill:%s; font-size: 10px;">%s</text>' %(openAstro.colors['paper_color_0'], str(self.planets[i]['label'])) | |
#planet symbol | |
out = out + '<g transform="translate(5,-8)"><use transform="scale(0.4)" xlink:href="#'+self.planets[i]['name']+'" /></g>' | |
#planet degree | |
- out = out + '<text text-anchor="start" x="19" style="fill:#000; font-size: 10px;">'+self.dec2deg(self.planets_degree[i])+'</text>' | |
+ out = out + '<text text-anchor="start" x="19" style="fill:%s; font-size: 10px;">%s</text>' %(openAstro.colors['paper_color_0'], self.dec2deg(self.planets_degree[i])) | |
#zodiac | |
out = out + '<g transform="translate(60,-8)"><use transform="scale(0.3)" xlink:href="#'+self.zodiac[self.planets_sign[i]]+'" /></g>' | |
#planet retrograde | |
@@ -2481,9 +2490,9 @@ | |
else: | |
cusp = str(i+1) | |
out += '<g transform="translate(0,'+str(li)+')">' | |
- out += '<text text-anchor="end" x="40" style="fill:#000; font-size: 10px;">%s %s:</text>' % (self.label['cusp'],cusp) | |
+ out += '<text text-anchor="end" x="40" style="fill:%s; font-size: 10px;">%s %s:</text>' % (openAstro.colors['paper_color_0'], self.label['cusp'],cusp) | |
out += '<g transform="translate(40,-8)"><use transform="scale(0.3)" xlink:href="#'+self.zodiac[self.houses_sign[i]]+'" /></g>' | |
- out += '<text x="53" style="fill:#000; font-size: 10px;"> %s</text>' % (self.dec2deg(self.houses_degree[i])) | |
+ out += '<text x="53" style="fill:%s; font-size: 10px;"> %s</text>' % (openAstro.colors['paper_color_0'], self.dec2deg(self.houses_degree[i])) | |
out += '</g>\n' | |
li = li + 14 | |
out += '</g>\n' | |
@@ -3401,19 +3410,19 @@ | |
pagelen = 66 | |
ylen = ((len(keys)+1)-p*65)*16 | |
for a in range(delta.days): | |
- out += '<text x="%s" y="%s" style="fill: #000; font-size: 10">%02d</text>\n'%( | |
- dx[a],ystart,a+1) | |
- out += '<line x1="%s" y1="%s" x2="%s" y2="%s" style="stroke: #000; stroke-width: .5; stroke-opacity:1;"/>\n'%( | |
- dx[a]-5,ystart,dx[a]-5,ystart+pagelen*16) | |
+ out += '<text x="%s" y="%s" style="fill: %s; font-size: 10">%02d</text>\n'%( | |
+ dx[a],ystart,openAstro.colors['paper_color_0'],a+1) | |
+ out += '<line x1="%s" y1="%s" x2="%s" y2="%s" style="stroke: %s; stroke-width: .5; stroke-opacity:1;"/>\n'%( | |
+ dx[a]-5,ystart,dx[a]-5,ystart+pagelen*16,openAstro.colors['paper_color_0']) | |
#skipdays line | |
if a in skipdays: | |
- out += '<line x1="%s" y1="%s" x2="%s" y2="%s" style="stroke: #000; stroke-width: .5; stroke-opacity:1;"/>\n'%( | |
- dx[a]-5+20,ystart,dx[a]-5+20,ystart+pagelen*16) | |
+ out += '<line x1="%s" y1="%s" x2="%s" y2="%s" style="stroke: %s; stroke-width: .5; stroke-opacity:1;"/>\n'%( | |
+ dx[a]-5+20,ystart,dx[a]-5+20,ystart+pagelen*16,openAstro.colors['paper_color_0']) | |
#last line | |
- out += '<line x1="%s" y1="%s" x2="%s" y2="%s" style="stroke: #000; stroke-width: .5; stroke-opacity:1;"/>\n'%( | |
- dx[-1]-5,ystart,dx[-1]-5,ystart+pagelen*16) | |
+ out += '<line x1="%s" y1="%s" x2="%s" y2="%s" style="stroke: %s; stroke-width: .5; stroke-opacity:1;"/>\n'%( | |
+ dx[-1]-5,ystart,dx[-1]-5,ystart+pagelen*16,openAstro.colors['paper_color_0']) | |
#get the number of total aspects | |
c = 0 | |
@@ -3424,15 +3433,15 @@ | |
pagey = (pagenum - 1) * 200 | |
y = (c*16) + pagey | |
#horizontal lines | |
- out += '<line x1="%s" y1="%s" x2="%s" y2="%s" style="stroke: #000; stroke-width: .5; stroke-opacity:1;"/>\n'%( | |
- 0,y-1,dx[skipdays[0]]+15,y-1) | |
+ out += '<line x1="%s" y1="%s" x2="%s" y2="%s" style="stroke: %s; stroke-width: .5; stroke-opacity:1;"/>\n'%( | |
+ 0,y-1,dx[skipdays[0]]+15,y-1,openAstro.colors['paper_color_0']) | |
for s in range(len(skipdays)): | |
if s is len(skipdays)-1: | |
- out += '<line x1="%s" y1="%s" x2="%s" y2="%s" style="stroke: #000; stroke-width: .5; stroke-opacity:1;"/>\n'%( | |
- dx[skipdays[s]+1]-5,y-1,dx[-1],y-1) | |
+ out += '<line x1="%s" y1="%s" x2="%s" y2="%s" style="stroke: %s; stroke-width: .5; stroke-opacity:1;"/>\n'%( | |
+ dx[skipdays[s]+1]-5,y-1,dx[-1],y-1,openAstro.colors['paper_color_0']) | |
else: | |
- out += '<line x1="%s" y1="%s" x2="%s" y2="%s" style="stroke: #000; stroke-width: .5; stroke-opacity:1;"/>\n'%( | |
- dx[skipdays[s]+1]-5,y-1,dx[skipdays[s+1]]+15,y-1) | |
+ out += '<line x1="%s" y1="%s" x2="%s" y2="%s" style="stroke: %s; stroke-width: .5; stroke-opacity:1;"/>\n'%( | |
+ dx[skipdays[s]+1]-5,y-1,dx[skipdays[s+1]]+15,y-1,openAstro.colors['paper_color_0']) | |
#outer planet | |
out += '<g transform="translate(0,%s)"><g transform="scale(.5)"><use x="0" y="0" xlink:href="#%s" /></g></g>\n'%( | |
y,openAstro.planets[x]['name']) | |
@@ -3454,10 +3463,10 @@ | |
#check for retrograde outer planet | |
if retrogrid[keys[m]][d]: | |
out += '<g transform="translate(%s,%s)"><g transform="scale(.3)">\ | |
- <use x="0" y="0" xlink:href="#retrograde" style="fill:black; fill-opacity:.8;" /></g></g>\n'%( | |
- dx[d]+10,y+10) | |
- out += '<text x="%s" y="%s" style="fill: #000; font-size: 10">%s</text>\n'%( | |
- dx[d],y+9,strop[:3]) | |
+ <use x="0" y="0" xlink:href="#retrograde" style="fill:%s; fill-opacity:.8;" /></g></g>\n'%( | |
+ dx[d]+10,y+10,openAstro.colors['paper_color_0']) | |
+ out += '<text x="%s" y="%s" style="fill: %s; font-size: 10">%s</text>\n'%( | |
+ dx[d],y+9,strop[:3],openAstro.colors['paper_color_0']) | |
else: | |
out += "" | |
@@ -3493,8 +3502,8 @@ | |
offset=0 | |
else: | |
offset=10 | |
- pagesRect += '<rect x="%s" y="%s" width="%s" height="%s" style="fill: #ffffff;" />'%( | |
- x,y+(p*1188)+offset,w,h) | |
+ pagesRect += '<rect x="%s" y="%s" width="%s" height="%s" style="fill: %s;" />'%( | |
+ x,y+(p*1188)+offset,w,h, openAstro.colors['paper_color_1']) | |
td['pagesRect'] = pagesRect | |
@@ -3543,8 +3552,8 @@ | |
xindent=50 | |
yindent=200 | |
box=14 | |
- style='stroke:#000; stroke-width: 1px; stroke-opacity:.6; fill:none' | |
- textstyle="font-size: 11px; color: #000" | |
+ style='stroke:%s; stroke-width: 1px; stroke-opacity:.6; fill:none' %(openAstro.colors['paper_color_0']) | |
+ textstyle="font-size: 11px; color: %s" %(openAstro.colors['paper_color_0']) | |
#draw cusps | |
for cusp in range(len(openAstro.houses_degree_ut)): | |
x = xindent - box | |
@@ -3669,7 +3678,7 @@ | |
td['viewbox'] = "0 0 840 %s" %( pagesY ) | |
td['data'] = out | |
- td['pagesRect'] = '<rect x="0" y="0" width="840" height="1188" style="fill: #ffffff;" />' | |
+ td['pagesRect'] = '<rect x="0" y="0" width="840" height="1188" style="fill: %s;" />' %(openAstro.colors['paper_color_1']) | |
#read and write template | |
f=open(cfg.xml_svg_table) | |
@@ -5005,11 +5014,38 @@ | |
self.SCdata = [] | |
delimiter="--------------------------------------------" | |
- #Zodiac background colors | |
+ #Basic color scheme stuff | |
table.attach(gtk.Label(delimiter),0,4,0,1,xoptions=gtk.FILL,xpadding=10) | |
- table.attach(gtk.Label(_("Zodiac Background Colors")),0,4,1,2,xoptions=gtk.FILL,xpadding=10) | |
+ table.attach(gtk.Label(_("Basic Chart Colors")),0,4,1,2,xoptions=gtk.FILL,xpadding=10) | |
table.attach(gtk.Label(delimiter),0,4,2,3,xoptions=gtk.FILL,xpadding=10) | |
- x=3 | |
+ | |
+ x=3 | |
+ for i in range(2): | |
+ self.SCdata.append({}) | |
+ self.SCdata[-1]['key']="paper_color_%s"%(i) | |
+ self.SCdata[-1]['name']=gtk.Label("Paper Color %s"%(i)) | |
+ self.SCdata[-1]['code'] = gtk.Entry(25) | |
+ self.SCdata[-1]['code'].set_width_chars(10) | |
+ self.SCdata[-1]['code'].set_text(openAstro.colors["paper_color_%s"%(i)]) | |
+ self.SCdata[-1]['code'].modify_base(gtk.STATE_NORMAL, gtk.gdk.color_parse(openAstro.colors["paper_color_%s"%(i)])) | |
+ self.SCdata[-1]['button'] = gtk.Button(stock=gtk.STOCK_SELECT_COLOR) | |
+ self.SCdata[-1]['button'].connect("clicked", self.settingsColorsChanger, len(self.SCdata)-1) | |
+ self.SCdata[-1]['reset'] = gtk.Button(_("Default")) | |
+ self.SCdata[-1]['reset'].connect("clicked", self.settingsColorsReset, len(self.SCdata)-1) | |
+ | |
+ table.attach(self.SCdata[-1]['name'], 0, 1, x, x+1, xoptions=gtk.FILL, xpadding=10) | |
+ table.attach(self.SCdata[-1]['code'], 1, 2, x, x+1, xoptions=gtk.FILL, xpadding=10) | |
+ table.attach(self.SCdata[-1]['button'], 2, 3, x, x+1, xoptions=gtk.FILL, xpadding=10) | |
+ table.attach(self.SCdata[-1]['reset'], 3, 4, x, x+1, xoptions=gtk.FILL, xpadding=10) | |
+ x+=1 | |
+ | |
+ #Zodiac background colors | |
+ table.attach(gtk.Label(delimiter),0,4,x,x+1,xoptions=gtk.FILL,xpadding=10) | |
+ x+=1 | |
+ table.attach(gtk.Label(_("Zodiac Background Colors")),0,4,x,x+1,xoptions=gtk.FILL,xpadding=10) | |
+ x+=1 | |
+ table.attach(gtk.Label(delimiter),0,4,x,x+1,xoptions=gtk.FILL,xpadding=10) | |
+ x+=1 | |
for i in range(12): | |
self.SCdata.append({}) | |
self.SCdata[-1]['key']="zodiac_bg_%s"%(i) | |
@@ -5241,6 +5277,7 @@ | |
db.query(query) | |
#update colors | |
openAstro.colors = db.getColors() | |
+ print(openAstro.colors) | |
#update chart | |
self.updateChart() | |
#destroy window | |
diff -aur openastro.org-1.1.38.orig/openastro-svg-table.xml openastro.org-1.1.38/openastro-svg-table.xml | |
--- openastro.org-1.1.38.orig/openastro-svg-table.xml 2013-01-09 16:45:06.459729587 -0800 | |
+++ openastro.org-1.1.38/openastro-svg-table.xml 2013-01-09 17:07:52.803540374 -0800 | |
@@ -25,7 +25,7 @@ | |
<title>Esoteric OpenAstro</title> | |
<g transform="scale(1)"> | |
$pagesRect | |
-<text x="20" y="30" style="fill: #000; font-size: 20">$stringTitle</text> | |
+<text x="20" y="30" style="fill: $paper_color_0; font-size: 20">$stringTitle</text> | |
<!-- Planets (24x24) --> | |
diff -aur openastro.org-1.1.38.orig/openastro-svg.xml openastro.org-1.1.38/openastro-svg.xml | |
--- openastro.org-1.1.38.orig/openastro-svg.xml 2013-01-09 16:45:06.459729587 -0800 | |
+++ openastro.org-1.1.38/openastro-svg.xml 2013-01-09 17:32:52.810731211 -0800 | |
@@ -27,18 +27,18 @@ | |
<g transform="translate($cfgTranslate)"> | |
<g transform="rotate($cfgRotate)"> | |
<g transform="scale($cfgZoom)"> | |
-<rect x="0" y="0" width="772.2" height="546.0" style="fill: #ffffff;" /> | |
-<text x="20" y="30" style="fill: #000; font-size: 24px">$stringTitle</text> | |
-<text x="20" y="50" style="fill: #000; font-size: 12px">$stringName</text> | |
-<text x="20" y="62" style="fill: #000; font-size: 10px">$stringLocation</text> | |
-<text x="20" y="74" style="fill: #000; font-size: 10px">$stringDateTime</text> | |
-<text x="20" y="86" style="fill: #000; font-size: 10px">$stringLat</text> | |
-<text x="20" y="98" style="fill: #000; font-size: 10px">$stringLon</text> | |
-<text x="20" y="110" style="fill: #000; font-size: 10px">$stringPosition</text> | |
-<text x="20" y="480" style="fill: #000; font-size: 10px">$bottomLeft1</text> | |
-<text x="20" y="494" style="fill: #000; font-size: 10px">$bottomLeft2</text> | |
-<text x="20" y="508" style="fill: #000; font-size: 10px">$bottomLeft3</text> | |
-<text x="20" y="522" style="fill: #000; font-size: 10px">$bottomLeft4</text> | |
+<rect x="0" y="0" width="772.2" height="546.0" style="fill: $paper_color_1;" /> | |
+<text x="20" y="30" style="fill: $paper_color_0; font-size: 24px">$stringTitle</text> | |
+<text x="20" y="50" style="fill: $paper_color_0; font-size: 12px">$stringName</text> | |
+<text x="20" y="62" style="fill: $paper_color_0; font-size: 10px">$stringLocation</text> | |
+<text x="20" y="74" style="fill: $paper_color_0; font-size: 10px">$stringDateTime</text> | |
+<text x="20" y="86" style="fill: $paper_color_0; font-size: 10px">$stringLat</text> | |
+<text x="20" y="98" style="fill: $paper_color_0; font-size: 10px">$stringLon</text> | |
+<text x="20" y="110" style="fill: $paper_color_0; font-size: 10px">$stringPosition</text> | |
+<text x="20" y="480" style="fill: $paper_color_0; font-size: 10px">$bottomLeft1</text> | |
+<text x="20" y="494" style="fill: $paper_color_0; font-size: 10px">$bottomLeft2</text> | |
+<text x="20" y="508" style="fill: $paper_color_0; font-size: 10px">$bottomLeft3</text> | |
+<text x="20" y="522" style="fill: $paper_color_0; font-size: 10px">$bottomLeft4</text> | |
<!-- Planets (24x24) --> | |
@@ -443,7 +443,7 @@ | |
<symbol id="retrograde"> | |
<path | |
d="M 5.1695089,0.06514307 C 3.7597989,0.21597207 2.3317349,0.33149007 0.91358191,0.23513107 C 1.5490329,0.81902207 1.4024849,1.7100011 1.4228379,2.4700431 C 1.4174159,5.2174481 1.4337709,7.9652731 1.4145019,10.712411 C 1.5149409,11.170848 0.96799791,11.834471 0.90284691,11.964302 C 1.9976889,11.964302 3.0925299,11.964302 4.1873719,11.964302 C 3.6018439,11.577975 3.6510929,10.820034 3.6417399,10.219838 C 3.6417399,8.8974601 3.6417399,7.5750831 3.6417399,6.2527051 C 4.5026259,7.3972911 5.3635109,8.5418771 6.2243959,9.6864631 C 5.6030699,10.013049 5.0721439,10.497354 4.3692489,10.672393 C 4.5753769,10.955706 4.7815039,11.23902 4.9876319,11.522333 C 5.4939219,11.018036 6.1426389,10.672218 6.7336529,10.264421 C 7.3897039,11.216912 8.4697479,12.048392 9.7419399,12.011579 C 10.143603,12.002199 11.067691,11.885824 11.063775,11.676075 C 9.9004969,11.128054 9.0018849,10.179085 8.4069229,9.1085041 C 8.9670439,8.6756641 9.5056289,8.1870051 10.177382,7.9086731 C 10.419881,7.8661501 10.031668,7.5763571 9.9815039,7.4190951 C 9.7896089,6.9062931 9.6214379,7.4694661 9.2950839,7.6239451 C 8.8453989,7.8927681 8.3078839,8.3646011 7.8614459,8.4454351 C 7.2551369,7.5898671 6.6488279,6.7342991 6.0425199,5.8787321 C 7.2451939,5.6174351 8.5827839,5.0853891 9.0704409,3.9368981 C 9.4063139,3.1120211 9.2637339,2.1667931 8.9107889,1.3734701 C 8.1684869,0.41091107 6.8692049,-0.072451931 5.6199729,0.02510607 C 5.4693279,0.03287207 5.3190519,0.04651007 5.1695089,0.06514307 L 5.1695089,0.06514307 z M 4.0054949,0.98307806 C 4.9274209,0.87516007 6.0752839,0.95659406 6.6119469,1.7769821 C 7.1995489,2.7436231 6.9771779,4.0277241 6.2388859,4.8694001 C 5.6053289,5.5549031 4.5521059,5.6780771 3.6417399,5.5727531 C 3.6417399,4.0655271 3.6417399,2.5583001 3.6417399,1.0510731 C 3.7629919,1.0284081 3.8842429,1.0057431 4.0054949,0.98307806 z" | |
- style="fill:black;" | |
+ style="fill:$paper_color_0;" | |
/> | |
</symbol> | |
@@ -494,7 +494,7 @@ | |
</g> | |
<!-- testing printer | |
-<rect x="0" y="0" width="772.2" height="546.0" style="fill: #ffffff; stroke-width: 1px; stroke:red;" /> | |
+<rect x="0" y="0" width="772.2" height="546.0" style="fill: $paper_color_1; stroke-width: 1px; stroke:red;" /> | |
<line x1="0" y1="0" x2="772.2" y2="546.0" style="fill:none; stroke-width: 1px; stroke:red;" /> | |
<line x1="772.2" y1="0" x2="0" y2="546.0" style="fill:none; stroke-width: 1px; stroke:red;" /> | |
--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment