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