the font in QML is not smooth, in windows
Page |
1 |
I found font in QML is not smooth in windows, whatever font-type I chosen ,
but in linux/ubuntu, the font is good.
20 replies
This may be because QML file is not UTF-8 formated.
You have to convert that file into UTF-8 format.
I found this bugreport while searching deep into the matter.
Chinese font Bugreport [bugreports.qt.nokia.com]
winxp and win7 is the same question
font can display correctly in windows and ubuntu,
and the font look better in ubuntu than windows
you can see here
!http://www.flickr.com/photos/42560763@N06/5301788393/()!
upper is in win7 ,and following is in ubuntu, at the same computer,
you can see carefully ,carefully
I take shot from win7 and ubuntu at my laptop
in win7
http://www.flickr.com/photos/42560763@N06/5302659990/
in linux
http://www.flickr.com/photos/42560763@N06/5302064907/
- ///////////////////
- import QtQuick 1.0
- Item {
- width: 800; height: 600
- Text {
- anchors.fill: parent
- text: "As a boy, Chris Cooley watched his father dabble at the potter’s wheel; after his football career, he plans to keep pottery in his life.核心提示:由于上座率低,上海至北京的一趟动卧车将在2011年1月5日被全部改造成普通软卧。此前媒体曝光上海至成都的豪华动卧最贵票价达2330元,有舆论批评开出这种低上座率班次是浪费春运的运力,铁路方面则回应这是中国发展的需要。"
- font.family: "simhei"; font.pointSize: 30
- wrapMode: Text.WordWrap
- }
- }
- ///////////////////////////
[EDIT: added @-tags for code formatting, Volker]
I’ve created a bugreport [bugreports.qt.nokia.com] . ;)
You must log in to post a reply. Not a member yet? Register here!





