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

Line height will adapt to font selected for invisible characters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.7.0 Beta
    • GUI: Text handling
    • None

    Description

      If a font is selected for a character, the line height will be adjusted to accommodate for this font, even if the character is not visible. This can cause unexpected issues when some font on the system contains a glyph for a control character, since we currently do look these up in the fonts.

      One solution for it would be to be smarter in the font selection algorithm and ignore control chars here. This would also increase performance in some cases.

      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:

                Gerrit Reviews

                  There are no open Gerrit changes