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

[macOS] Poor rendering by QCoreTextFontEngine on popup windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P1: Critical
    • None
    • 5.9.2, 5.10.0, 5.11
    • None
    • macOS 10.13.x
    • macOS

    Description

      This is particularly visible on non-retina displays. See attached screenshots.

      The picture below is how QCoreTextFontEngine renders text when invoked via QPainter in QMacStyle. Notice, in particular, the poor rendition of the uppercase "U" in "Undo". In general, the glyphs stems look bolder than they should and maybe off the pixel grid.

      When we delegate the rendering to AppKit instead, which is also using CoreText (see below), the glyphs shapes, their stems in particular, are much smoother and feel much better aligned to the pixel grid. We can also notice a difference in width for the rendered text.

      See https://codereview.qt-project.org/216093 for a workaround in QMacStyle.

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            dedietri Gabriel de Dietrich (drgvond)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes