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

Wrong font metrics on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.2.1
    • GUI: Font handling
    • None
    • Windows

    Description

      On Windows 10 the attached program yields 115 for Line spacing and 185 for String width.
      On Linux these values are 230 and 370 respectively. These values are correct.
      The values on Windows are exactly half the values on Linux. 

      Attachments

        1. main.cpp
          0.5 kB
        2. FontMetricsWindows.pro
          0.1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            jv J.-K. Vollenweider
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes