Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-12615 Raster engine on Mac OS X
  3. QTBUG-14803

Clipped characters for large fonts with right bearing when using the raster engine on Mac OS X

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • P1: Critical
    • 4.8.0
    • GUI: Text handling
    • None
    • Mac OS X

    • macOS
    • 43d5a0757d857c2a6694ae81d6b70c04ef876aff

    Description

      To reproduce:

      1. Start the text edit demo and select all text
      2. Set the font to Lucida Grande
      3. Set the size of the text to 48
      4. Set the font style to italic

      You should see that characters such as l, i and n are clipped on the right edge. This is most likely because the bearing is not included in the bounding rect returned by the font engine, which is used to calculate the size needed for the glyphs in the texture glyph cache. For small fonts the default padding in the cache will be sufficient to hide the error, but for large fonts the bearing becomes to large and the glyphs are clipped.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes