Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

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

    Qt WebKit
    1
    1
    3118
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      TimS last edited by

      I applied the changes detailed in the following bug to get WOFF support working.
      https://bugs.webkit.org/show_bug.cgi?id=70952

      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;
      }
      @

      1 Reply Last reply Reply Quote 0
      • First post
        Last post