PDA

View Full Version : QWebView does not display Specific font properly ?



mismael85
8th February 2011, 09:19
I am trying to display Arabic text in a QWebView using "Traditional Arabic" font but the text did not display properly , however if i used another font it displays correctly.
and also the page is displayed correctly in firefox and chrome browser.
what is the problem with the webkit?

agarny
8th February 2011, 11:24
Does your page render fine in Safari? The reason I am asking this is that QWebView relies on WebKit (http://webkit.org/) which is used in Safari. In other words, if your page renders properly in Safari (http://www.apple.com/safari/), then you did something wrong in your program. If it doesn't work fine in Safari, then it would help to know what you did exactly... As it stands, it's next to impossible to help you...

mismael85
8th February 2011, 15:09
I tried it on Safari and opera and it works fine on both.

agarny
8th February 2011, 16:44
Then I would say that the problem must be on your end...

mismael85
8th February 2011, 17:05
I tried also to display the page in the browser from the demos it also displayed incorrectly