Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-40570

QQuickPaintedItem rotated font rendering is ugly with FramebufferObject render target

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.3.1
    • GUI: Painting
    • None
    • Windows 7. Sub-pixel antialiasing (ClearType) turned on.

    Description

      I have a QQuickPaintedItem that draws some normal and rotated text with QPainter. The default font and settings are used. Antaliasing is turned on with QQuickPainterItem::setAntialiasing(true).

      It works fine unless I have `setRenderTarget(QQuickPainterItem::FramebufferObject)` in which case the rotated text looks super-ugly.

      I would have assumed it would use the Valve-style distance field text rendering technique, but it seems like it is actually just rendering the text with no antialiasing to a texture and then rotating that with bilinear filtering. The attached image shows the text with (top) and without (bottom) a FBO target.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sletta Gunnar Sletta
            timmmm Tim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes