WOFF font support in QtWebKit 2.2.1 (and fonts in general)

  • I applied the changes detailed in the following bug to get WOFF support working.

    It seems to almost work fine except that one of the WOFF fonts is retrieved but still not rendered.

    Any suggestions on quickest way to debug this in QtWebKit or WebKit base?

    Test site is: http://solsticeadvertising.com/

    I found that this font doesn't render at all (before I enabled WOFF support) even though I can see in Inspector that the SVG and TTF fonts were downloaded.
    Renders fine in standard set of browsers.

    font-face {
    font-family: 'DeliscriptItalic';
    src: url('fonts/style_174735.eot');
    src: url('fonts/style_174735.eot?#iefix') format('embedded-opentype'),
    url('fonts/style_174735.woff') format('woff'),
    url('fonts/style_174735.ttf') format('truetype'),
    url('fonts/style_174735.svg#DeliscriptItalic') format('svg');
    font-weight: normal;
    font-style: normal;

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.