[PyQt] QFontEngine errors in QLineEdit with Japanese character
Jesse Aldridge
jessealdridge at gmail.com
Mon May 25 02:32:58 BST 2009
When I run the program below, where I pass that particular string to a
QLineEdit, I get a bunch of errors saying:
load glyph failed err=6 face=0x9269760, glyph=22961
QFontEngine: Glyph neither outline nor bitmap format=0
QtCore.qVersion() returns "4.5.0".
------------
# coding=utf-8
import sys
from PyQt4.QtGui import *
app = QApplication(sys.argv)
dialog = QDialog()
edit = QLineEdit(u"fi あ a", dialog)
dialog.exec_()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090525/c019e42f/attachment.html
More information about the PyQt
mailing list