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

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes