css3 font-face rule on QtWebKit
I'm trying to load a custom font into an HTML page using QtWebKit. I'm using the following css3 code to do this:
@font-face {
font-family: NokiaStandardLight ;
src: local(NokiaStandardLight), url( NokiaStandardLight.ttf );
}
.title {
font-family: NokiaStandardLight;
color: green;
float: center;
font-size: 32px;
}
The font is loaded using Safari or Arora, but isn't when using QtWebKit directly. The font was included into qrc file and I,' using Qt4.6. What could be the problem?
Thanks in advance.
Re: css3 font-face rule on QtWebKit
Test application
[url]http://www.mediafire.com/file/ewjotvqnbmm/fancybrowser.tar.gz[/url]
The problem doesn't occur, when used on Linux desktop, thus, Maemo specific.
Re: css3 font-face rule on QtWebKit
Some discussion on the issue:
[url]https://bugs.webkit.org/show_bug.cgi?id=36351[/url]