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

Add API for low-level access to font data

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • 4.8.0
    • 4.6.2
    • GUI: Text handling
    • None
    • cad70d64d0bbada72a072ac7fdf461839db9d72a

    Description

      The lower levels of the text and font system in Qt are currently a black box. This can hinder communication with external libraries and application specifics when the application wants more control over text handling.

      A requirement is to have access to the low-level font data through Qt. The main object would be to have a function in QPainter which allows drawing text based on a font, glyph indices and positions. This, in turn, requires accessors to get glyph indices and other font data based on a set of unicode points, or possibly more precise control over which font is selected for drawing the glyphs.

      The actual requirements to make this API useful in as many use cases as possible will have to be investigated further.

      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:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes