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

Incorrect rendering of some combining marks in monospaced fonts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 4.8.0
    • 4.7.1
    • GUI: Text handling
    • None
    • Qt X/11 4.7.1
      GCC 4.5.1
    • 57bda4d3139edeb76689ac64a8c36e5551093bf9, 86e7893c2c1a4c316a1db510ab6abeafa7267c3d

      Various combining marks (U+0300 - U+036F) are incorrectly rendered using monospaced fonts.
      Attached is a file I used to test which marks where affected (UTF-8 encoding).
      I have tried a dozen fonts including the multiple Liberation and DejaVu variants and all monospaced fonts show the same rendering bugs whereas the variable width one do not.

      Update : see attached scrennshot of the attached file. On the left, a QTextLayout-based editor with DejaVu Sans Mono, on the right the same editor with DejaVu Sans. Notice how some (but not all) combining marks are improperly rendered (i.e not combined) with the monospaced font.

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

            jiang Jiang Jiang
            huguesb Hugues Bruant
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes