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

Some properties not included in QTextDocument::toHtml()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • None
    • 6.8
    • GUI: Text handling
    • None
    • All
    • 6ee5fcc45 (dev), e205edfff (dev)

    Description

      There are some properties, such as text stroke and complex foreground brushes (gradients for instance) which are not part of the HTML produced by QTextDocument. This means that documents using these properties cannot be saved to disk and then restored faithfully.

      There may not be HTML/CSS to handle these cases, but for similar properties we have previously added "-qt" prefixes, similar to how webkit has added support for text stroke with its own special CSS tags: https://css-tricks.com/adding-stroke-to-web-text/

      We could do the same for foreground gradients and strokes.

      Attachments

        For Gerrit Dashboard: QTBUG-123357
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes