[Qt-interest] QWebKit does not display chinese charcters from chinese web site
Sorin Lazarescu
Sorin.Lazarescu at jdsu.com
Thu Jul 23 21:40:41 CEST 2009
Hi John
What is the folder that QWebKit is searching on Linux for chinese fonts?
Thanks
-----Original Message-----
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of John McClurkin
Sent: July 23, 2009 3:33 PM
To: qt-interest at trolltech.com
Subject: Re: [Qt-interest] QWebKit does not display chinese charcters
from chinese web site
Sorin Lazarescu wrote:
> Hi everybody
>
>
>
> I use a small QT sample that uses QWebKit to render HTML pages. The
> small sample written in Qt is below:
>
>
>
> QWidget *win = new QWidget();
>
> QVBoxLayout *lay = new QVBoxLayout();
>
> QWebView *web = new QWebView();
>
> web->load(QUrl("http://chinese.aol.com"));
>
> lay->addWidget(web);
>
> win->setLayout(lay);
>
> win->show();
>
>
>
> I have no problem to display any English Web site but when I am going
to
> http://chinese.aol.com all Chinese characters from the site are
> presented as empty boxes or nothing. Arora that is based on WebKit
> module has also the same problem when loading chinese site!
>
>
>
> Is any way I could use WebKit and display the chinese HTML pages as IE
> is doing?
You need to have Chinese fonts in directory searched by QWebKit. I don't
know where IE looks for fonts.
>
>
>
> Thanks
>
>
>
> Sorin
>
>
>
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list