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

Change Font in QTextCursor failed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.14, 5.15
    • Fix Version/s: 6.0.0
    • Component/s: GUI: Text handling
    • Labels:
      None
    • Environment:
      Windows 10/Visual Studio 2019
    • Platform/s:
      Windows

      Description

      create a QTextCharFormat, set a font family in that and use it to change the font of a selected textpart in a QTextCursor. The resulting HTML in the affected QTextDocument produces a wrong css style. See appended example. 

      Other Platforms than Windows not tested.

        Attachments

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

          Activity

            People

            Assignee:
            esabraha Eskil Abrahamsen Blomfeldt
            Reporter:
            gerd Gerhard Kokerbeck
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes