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

Default font is too small on Windows with Traditional Chinese UI language

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9.3
    • 5.9.2
    • None
    • Windows 7 Traditional Chinese

      Windows 10 Traditional Chinese

      (Multiple monitors)
    • a24597d93d7f1f30b7656af0af97f9a18797c2a5 (qtbase/5.9, 10.10.2017, 5.9.3)

    Description

      Appears to be a regression due to https://codereview.qt-project.org/#/c/165708/

      On Windows with a Traditional Chinese UI, the default UI font is PMingLiU (新細明體). On Qt 5.9.1 it uses the system-provided 9pt as the font size, which is nice and clear and matches the native UI of other (pre-Vista) applications (^). Qt 5.9.2 however decides to cap the system default font size to 8.25pt, which makes the text sub-optimal for reading. (Smaller fonts derived from the system default font size is even worse, because PMingLiU does not supply bitmap glyphs for ~7pt and the result rendering is all blurry.) 

      This issue also only (and always) happens when there are more than one monitors (even when all are using the same DPI), because the above change only checks for the monitor count without checking the monitor DPI values.

       (This will likely be the same for Japanese and simplified Chinese.)

       

      (^) Newer applications uses Microsoft JHengHei UI 10pt, which is the equivalent of Segoe UI 9pt for Traditional Chinese, and probably what QTBUG-58610 is about. (IIRC, but I might be wrong about the font size.)

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            alvinhochun Alvin Wong
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes