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

Add Font Hinting Preference and Font weight support in QSS

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.5.0
    • Widgets: Style Sheets
    • None
    • All

    Description

      Qt supports Font Hinting attribute for fonts, which makes text much smoother on Windows platform. Unfortunately, there is no way to set this attribute through QSS.

      Similarly, there are variable weight fonts now, which support multiple font weights, that can also only be specified using QFont::Weight enum programmatically.

      It would really be helpful if support is added in QSS to set font weight and hinting preference. so UI can easily be customized on per-widget basis e.g. in my case I need would like to use hinting for specific labels and different weights as well.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            taytoo Mike Flanigan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes