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

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

XMLWordPrintable

    • 1447c303b (dev), 5d7272916 (6.10), 0228d5884 (6.9), a45aabf89 (tqtc/lts-6.8), aaaf5c8a9 (tqtc/lts-6.5)

      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

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

            hurlevent Oliver Eftevaag
            aelm Andrew Forrest
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There is 1 open Gerrit change