#1924 fixed with rename function added. Code review needed, I also saved

2kb RAM here ... Needs more tests than only mine, thanks!
This commit is contained in:
bsongis
2015-01-21 21:23:29 +01:00
parent bbae10fae1
commit aca3d01adc
10 changed files with 132 additions and 78 deletions
+3 -2
View File
@@ -37,9 +37,10 @@ def createFontBitmap(filename, foreground, background):
if i == 0:
rect.setWidth(4)
elif i == 14:
rect.setLeft(rect.left()+1)
rect.setWidth(1)
painter.drawText(width*i-rect.left(), size+1, c)
painter.drawPoint(width*i, size);
else:
painter.drawText(width*i-rect.left(), size+1, c)
for j in range(rect.width(), width):
painter.drawLine(width*i+j, 0, width*i+j, size+4)
painter.end()