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

Get rid of QChar::toLower/toUpper calls in QFont* classes

    XMLWordPrintable

Details

    Description

      Converting one QChar to lower/upper case is wrong for two reasons - QChar doesn't necessarily contain the whole character (think of surrogate pair), secondly QChar::toLower/toUpper function is not locale aware, and there is at least one locale (Turkish) where the uppercase of a latin character "i" is not latin "I", hence toUpper/toLower conversion should be locale-aware in that case.

      Attachments

        Issue Links

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

          Activity

            People

              ritt.ks Konstantin Ritt
              dzyubenk Denis Dzyubenko (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes