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. Webkit text rendering performance
Forum Update on Monday, May 27th 2025

Webkit text rendering performance

Scheduled Pinned Locked Moved Qt WebKit
3 Posts 2 Posters 1.6k 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.
  • D Offline
    D Offline
    djuvsland
    wrote on last edited by
    #1

    I ran into a problem while using the QWebView to display text, which can be moved around in the view. After adding quite some text (some thousand characters) performance drops significantly. Movement become choppy, and the processor core is fully utilized. Some digging around using vtune, narrows down the problem to QWindowsFontEngine::getOutlineMetrics(...) in the windows call getGlyphOutline.

    This has been tested on:

    • Windows 8 Qt MSVC 2010 32bit - 5.0.1

    • Windows 7 Qt MinGW 32bit - 5.0.1

    • Windows 7 Qt MSVC 2012 64bit - 5.0.2 latest

    • Linux GCC 64bit Qt 5.0.1

    The problem persists on all windows versions, while it performs nicely on linux (no surprise since the problem seems to be in the QWindowsFontEngine.

    Any suggestions?

    I have added a simple example:
    "Source file":http://pastebin.com/HGNWyVmy
    "Header file":http://pastebin.com/Fz6W6fXm

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      The best thing you can do is file a bug report. The relevant developers will see a bug report, but they will only stumble over entries in the forum by chance.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        djuvsland
        wrote on last edited by
        #3

        Thanks for the answer. Filed a bug report "here":https://bugreports.qt-project.org/browse/QTBUG-30324

        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