<span class="Apple-style-span" style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">Hi,</span><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">
<br></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">I am having trouble with Chinese characters strings. Each character itself seems to be drawn okay, but the following character starts at the same position, on top of the previous one. Some Chinese characters don't seem to have that problem, but most have, especially the most common ones. Here is a short program that demonstrates the problem: the Label should show a string of three characters, but they are drawn on top of each other.</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); "><br></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">
<br></div><blockquote style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
<div><div>#!/usr/bin/python</div></div><div><div>#-*- coding:utf8 -*-</div></div><div><div><br></div></div><div><div>from PyQt4.QtGui import *</div></div><div><div>from PyQt4.QtCore import *</div></div><div><div>import sys</div>
</div><div><div><br></div></div><div><div><br></div></div><div><div>app=QApplication(sys.argv)</div></div><div><div><br></div></div><div><div>label = QLabel("的一是")</div></div><div><div>label.resize(100, 80)</div>
</div><div><div>label.show()</div></div><div><div>label.raise_()</div></div><div><div><br></div></div><div><div>app.connect(app, SIGNAL("lastWindowClosed()"), app, SLOT("quit()"))</div></div><div><div>
app.exec_()</div></div></blockquote><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); "><br></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">
<br></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); "><br></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">
Any help is appreciated.</div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">Tore</div>