tests/auto/declarative/qmlvisual/webview/settings/setFontFamily.qml
changeset 30 5dc02b23752f
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
       
     1 import Qt 4.7
       
     2 import org.webkit 1.0
       
     3 
       
     4 WebView {
       
     5     url: "test.html"
       
     6     width: 300
       
     7     height: 300
       
     8     settings.standardFontFamily: font.name
       
     9     // WebKit doesn't seem to honour any other FontFamily settings
       
    10     FontLoader { id: font; source: "tarzeau_ocr_a.ttf" }
       
    11 }