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

[REG 5.1->5.4] TextEdit does not apply underline properly when mixing asian and latin glyphs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.5.0
    • 5.4.0, 5.5.0
    • None
    • Linux (xcb) 64-bit
    • 4db31cbd4e29cf5387f4332537f8ea9e0e9f62ae

    Description

      The following TextEdit will render the underline through the text instead of under it (note that there is an asian character followed by some latin characters):

      TextEdit {
          text: "\u6277 abc"
          font.family: "Noto Sans CJK SC"
          font.underline: true
      }
      

      Tested with Noto Sans as well as Droid Sans fallback. The problem doesn't occur with typefaces lacking east asian characters. The problem doesn't occur with TextInput, either.

      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
              andrew.knight Andrew Knight
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes