summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/visual/webview/settings/setFontFamily.qml
blob: 823469ff8f7351c38fdf0a2abe4eb34ab620e856 (plain)
1
2
3
4
5
6
7
8
9
10
11
import Qt 4.6
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" }
}