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

Some properties not included in QTextDocument::toHtml()

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes