3djc/horus narrow arrows gap (#4183)
* Narrow gap between previous char and up and down arrow in STDSIZE * Change font generator too and run it once * Only apply to stdsize
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
@@ -91,6 +91,9 @@ def createFontBitmap(filename, fontname, fontsize, fontbold, foreground, backgro
|
||||
pass
|
||||
elif c == "." and fontsize <= 8:
|
||||
painter.drawPoint(width, fontsize)
|
||||
elif (c == u"↑" or c == u"↓") and fontsize == 16:
|
||||
rect = metrics.boundingRect(c)
|
||||
painter.drawText(width - 1, fontsize, c) # fontsize-bottom+1 -17 / 7
|
||||
else:
|
||||
rect = metrics.boundingRect(c)
|
||||
if fontsize >= 24:
|
||||
|
||||
Reference in New Issue
Block a user