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

QPainter::drawGlyphRun fails to draw underlines

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.2.6, 6.4.1, 6.5.0 FF
    • GUI: Painting
    • None
    • macOS

    Description

      When using QPainter::drawGlyphRun with a glyph run that has underline or strikeOut enabled, the underline is not painted if the widget's position is not 0,0. ( See example, click "Fix Me" to move widget back to 0,0  )

      The reason seems to be that the 
      QCosmeticStroker has a broken matrix in its state which means that all lines are clipped away. ( QCosmetic is only used on non-retina displays, the bug is the same on retina as well )

       


       
       

      Attachments

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            madwinter Marcus Tillmanns
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: