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

Add QFontMetrics::inFont(uint) which checks if a given font supports a specific UCS-4 encoded code point

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • 4.8.0
    • 4.7.0
    • GUI: Font handling
    • None
    • 5e06fcfa6139988cce2e88d604ba8e05d5e43dd0

    Description

      QFontMetrics::inFont() takes a QChar, which means it only supports characters which are representable by a single unicode point in 16 bits. In order to support all character ranges, we need to implement an overload which takes a UCS-4 encoded code point. Using this, people would be able to make font selection algorithms for unicode ranges that require surrogates in UTF-16.

      Attachments

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              esabraha Eskil Abrahamsen Blomfeldt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes