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

QFont::toString() returns a string with localized style name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.12.0
    • GUI: Font handling
    • None

    Description

      For example it may return "Verdana,12,-1,5,50,0,0,0,0,0,Обычный" for ru_RU.UTF-8 locale. But  the documentation states: "Returns a description of the font. The description is a comma-separated list of the attributes, perfectly suited for use in QSettings.". And the localized font string is not suited for QSettings, because the locale may change and the font won't be created correctly from the localized string.

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            avolkov Alexander Volkov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes