[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] QFontEngine errors in QLineEdit with Japanese character
From: Jesse Aldridge <jessealdridge () gmail ! com>
Date: 2009-05-25 1:32:58
Message-ID: a89f888d0905241832h45cf7bfbhf142899ee567ed2f () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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_()
[Attachment #5 (text/html)]
When I run the program below, where I pass that particular string to a QLineEdit, I \
get a bunch of errors saying:<br><br> load glyph failed err=6 face=0x9269760, \
glyph=22961<br> QFontEngine: Glyph neither outline nor bitmap format=0<br> \
<br><br> QtCore.qVersion() returns "4.5.0".<br>
<br><br>------------<br># coding=utf-8<br><br>import sys<br><br>from PyQt4.QtGui \
import *<br><br>app = QApplication(sys.argv)<br><br>dialog = QDialog()<br>edit = \
QLineEdit(u"fi あ a", dialog)<br><br>dialog.exec_()
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic