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

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

XMLWordPrintable

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes