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

QFont::fromString doesn't match source font

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: 5.6
    • Fix Version/s: 5.8.0 Alpha
    • Component/s: GUI: Font handling
    • Labels:
      None
    • Environment:
      Debian _stretch_, Linux 4.6.0 amd64
    • Commits:
      5dd907bf639f43be7f2cdfdd44ec3795f1b31bf6

      Description

      QFont::fromString can't reproduce exactly a font that's been serialized with QFont::toString. If one gets a font's string representation and then recreates another object from that string, the latter object is different than the former according to QFont::operator ==.

        Attachments

        1. main.cpp
          0.4 kB
        2. qtbug-54936.pro
          0.1 kB
        For Gerrit Dashboard: QTBUG-54936
        # Subject Branch Project Status CR V

          Activity

            People

            • Assignee:
              esabraha Eskil Abrahamsen Blomfeldt
              Reporter:
              kshegunov Konstantin Shegunov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes