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

Qt claims bitmap fonts can be scaled to any size on Windows/Mac

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.8.0 RC
    • 5.8.0 Alpha
    • GUI: Font handling
    • None
    • macOS
    • 95d127354887425b616a5087c24b6765b7bf907b

    Description

      There are several bugs caused by the introduction of the fontsAlwaysScalable() property in ef4783d2978ec5edf1b90ef5a13467c6c9ee3df6.

      1. The font dialog lists unsupported font sizes for bitmap fonts.
      2. When selecting an unsupported size, the backend will still fall back to the supported size, but it will not be reflected in the QFontInfo data about the font.
      3. When selecting a pixel size above 64 (the limit where we use QPainterPath to draw the font), the text will become invisible instead of falling back to the nearest supported size.
      4. QTBUG-56659

      The commit claims that all fonts are scalable on Windows, but this is not the case at all.

      Also, even if it were the case, there is no reason to throw away the information about which font sizes are appropriate for the bitmap fonts.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes