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

REG: Wrong default dpi used when calcuating point size of font engine in QRawFont on Mac

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.0.0 Beta 1
    • GUI: Font handling
    • None
    • macOS

      Since the platform specific code path in qt_defaultDpi() has disappeared, the dpi on Mac is no longer hardcoded to 72.

      When setting the dpi of a widget, it seems to be fine, because point sizes calculated based on pixel size (and vice versa) in QFont are equal. However, when using QRawFont this does not happen. We need to find out how this works for QFont and do the same in QRawFont.

      This was found when investigating QTBUG-25555 and while it's a potential source of future problems, it does not have any detectable consequences at the moment as far as we know, since the point size calculated in QRawFont is not in use.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes