×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    3

    css3 font-face rule on QtWebKit

    I'm trying to load a custom font into an HTML page using QtWebKit. I'm using the following css3 code to do this:

    @font-face {
    font-family: NokiaStandardLight ;
    src: local(NokiaStandardLight), url( NokiaStandardLight.ttf );
    }

    .title {
    font-family: NokiaStandardLight;
    color: green;
    float: center;
    font-size: 32px;
    }

    The font is loaded using Safari or Arora, but isn't when using QtWebKit directly. The font was included into qrc file and I,' using Qt4.6. What could be the problem?

    Thanks in advance.

  2. #2
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: css3 font-face rule on QtWebKit

    Test application
    http://www.mediafire.com/file/ewjotv...browser.tar.gz
    The problem doesn't occur, when used on Linux desktop, thus, Maemo specific.
    Last edited by divanov; 2010-03-16 at 17:51. Reason: update

  3. #3
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Posts
    4,326

    Re: css3 font-face rule on QtWebKit

    Some discussion on the issue:
    https://bugs.webkit.org/show_bug.cgi?id=36351

Similar Threads

  1. How to persist customised CBA Font ?
    By r_d_jackson in forum Symbian User Interface
    Replies: 0
    Last Post: 2009-11-16, 20:04
  2. Using the font from setting list in custom listbox
    By alav in forum Symbian User Interface
    Replies: 1
    Last Post: 2008-11-05, 17:17
  3. How to get the name of the used font
    By chrishawaii in forum Symbian User Interface
    Replies: 1
    Last Post: 2007-06-22, 06:55
  4. Font Face
    By tigran_g in forum Mobile Java General
    Replies: 4
    Last Post: 2006-09-16, 18:40
  5. [announce] full screen dot amtrix scroller
    By xchip in forum Symbian
    Replies: 7
    Last Post: 2006-06-08, 22:17

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •