[Horus] DE special chars added

This commit is contained in:
Bertrand Songis
2016-04-08 09:05:07 +02:00
parent dc4587b5b6
commit 79fcaec78f
18 changed files with 34 additions and 33 deletions
+3 -4
View File
@@ -10,15 +10,14 @@ app = Qt.QApplication(sys.argv)
for f in glob.glob("fonts/*.ttf"):
QtGui.QFontDatabase.addApplicationFont(f)
chars_en = u""" !"#$%&'()*+,-./0123456789:;<=>?°ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz~ ≥→←↑↓↗↘↙↖△"""
chars_en = u""" !"#$%&'()*+,-./0123456789:;<=>?°ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz~|≥→←↑↓↗↘↙↖△"""
chars_fr = u"""éèàîç"""
chars_de = u"""ÄäÖöÜüß"""
COUNT_EXTRA_CHARS = 12
chars_extra = u"".join([chr(1+i) for i in range(COUNT_EXTRA_CHARS)])
chars = chars_en + chars_extra + chars_fr
print len(chars_en + chars_extra)
chars = chars_en + chars_extra + chars_fr + chars_de
def createFontBitmap(filename, fontname, fontsize, fontbold, foreground, background, coordsfile=True):