summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual/webview/settings/setFontFamily.qml
blob: 42220e4c7d71d9b342255b4cf65d8d9a5ee4e678 (plain)
1
2
3
4
5
6
7
8
9
10
11
import Qt 4.7
import org.webkit 1.0

WebView {
    url: "test.html"
    width: 300
    height: 300
    settings.standardFontFamily: font.name
    // WebKit doesn't seem to honour any other FontFamily settings
    FontLoader { id: font; source: "tarzeau_ocr_a.ttf" }
}