Fri, 03 Sep 2010 18:54:15 +0200
Fixed a compatibility issue with QsciScintilla 2.4.5 and newer.
QScintilla/QsciScintillaCompat.py | file | annotate | diff | comparison | revisions |
--- a/QScintilla/QsciScintillaCompat.py Mon Aug 30 19:01:55 2010 +0200 +++ b/QScintilla/QsciScintillaCompat.py Fri Sep 03 18:54:15 2010 +0200 @@ -96,7 +96,7 @@ except AttributeError: rangeHigh = list(range(40, 128)) - f = font.family() + f = font.family().encode() ps = font.pointSize() for style in rangeLow + rangeHigh: self.SendScintilla(QsciScintilla.SCI_STYLESETFONT, style, f)