Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. WOFF font support in QtWebKit 2.2.1 (and fonts in general)
QtWS25 Last Chance

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

Scheduled Pinned Locked Moved Qt WebKit
1 Posts 1 Posters 3.3k Views
  • 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 Offline
    T Offline
    TimS
    wrote on last edited by
    #1

    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
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved