Bugfix in piano scale extension (font size)

This commit is contained in:
leyghisbb 2020-08-30 11:31:04 +02:00
parent db03015176
commit 2fbc1b54bf

View File

@ -200,7 +200,7 @@ class SVGPianoScale (inkex.Effect):
'style':'fill:%s;stroke:%s;stroke-width:%s;stroke-opacity:1;fill-opacity:1' %(Marker_color, Black, self.svg.unittouu('0.125 mm'))}
ellipse = etree.SubElement(markerGroup, 'path', ellipce_atts)
# draw the text
textstyle = {'font-size': '3 px',
textstyle = {'font-size': '4px',
'font-family': 'arial',
'text-anchor': 'middle',
'text-align': 'center',
@ -328,4 +328,4 @@ class SVGPianoScale (inkex.Effect):
self.createPiano(group)
self.createMarkersFromIntervals(group, self.options.intervals)
SVGPianoScale().run()
SVGPianoScale().run()