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

QFontMetrics::leftBearing & rightBearing, add handling for 32bit unicode chars

    XMLWordPrintable

Details

    Description

      QFontMetrics functions leftBearing & rightBearing both take a QChar as an argument which limits the char to 16 bit. Currently there seems to be no way to get the bearings for 32bit unicode chars which can't be expressed in 16 bits (such as certain emojis).

      Suggestion: add functions to get leftBearing and rightBearing for all 32bit unicode chars.

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            miikapernu Miika Pernu
            Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes