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

QFont::setWeights/QFont::setStyleNames

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • GUI: Font handling
    • None

    Description

      If a semibold variant of the font is needed, it's possible to request with setWeight(QFont::DemiBold) or setStyleName("Semibold"). There's a problem though that if the main font doesn't contain a glyph, Qt will try to find a fallback font and that font may not have Semibold style. It would be nice to have ability to set a list of preferred weights/style names so Qt would fallback to e.g. bold weight if semibold weight is not available.

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            ilya-fedin Ilya Fedin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes