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

QTextCharFormat fontPointSize() doesnt not return the same as QTextCharFormat font().pointSize()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.5.1, 5.13.1
    • GUI: Font handling
    • None

    Description

      When iterating through a QTextDocument with a QTextCursor, based on a QGraphicsTextItem with the HTML set from the clipboard,

      cursor.charFormat().fontPointSize() seems to always returns 0, while
      cursor.charFormat().font().pointSize() seems to return the correct size

      Attachments

        Activity

          People

            hurlevent Oliver Eftevaag
            aelm Andrew Forrest
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: