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

REG from 4.7: Windows /VS: Resolve mask of fonts is 0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.8.0
    • 4.8.0
    • None
    • Windows Vista 64bit (MSVC2010)
    • cb5e526c6023237c36aac3446a0a18288f39f3a9

    Description

      Various font-related bugs can be observed in Qt 4.8:

      • Qt Designer: Changed font properties of a widget are not saved/nor shown in preview
      • Qt Creator: Saved Font settings are not applied to new editors/after restart

      It looks like there is some regression in the resolve mask handling on Windows. The attached sample code prints:
      [Qt version Font resolve mask]
      4.7.4 FONT QFont( "Courier,15,-1,5,50,0,0,0,0,0" ) 3
      4.8.0 FONT QFont( "Courier,15,-1,5,50,0,0,0,0,0" ) 0

      It works on Linux and with MinGW32 , 32bit VS9, though .
      It could arguably be a compiler bug of VS2010/64bit.

      Attachments

        1. main.cpp
          0.4 kB
        2. QTBUG-18921_110429.patch
          0.4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            kleint Friedemann Kleint
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes