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

Hangul font rendering issue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.9.4
    • 5.5.1, 5.6
    • GUI: Font handling
    • None
    • Issue was reproduced on Ubuntu and QNX.

    Description

      Using a customers hangul ttf font, certain characters with the bar at the bottom of it had an extra line/dot drawn to the bottom left of it.

      I cannot provide the font but I have the QPaintPath of the font that can be inserted into qtbase code which will cause the issue to present itself with the default font used by Qt. There is nothing wrong with the paint path that I could see...It all connects properly. Please note that this did not occur on OSX. I also tried using a freetype test that draws the outline of the font and it didn't draw the extra line/dot:
      http://www.freetype.org/freetype2/docs/tutorial/example2.cpp

      Included test QML I used on Ubuntu with the default font used by Qt for Hangul (Korean).

      Attachments

        1. drawIssue.png
          drawIssue.png
          15 kB
        2. main.qml
          0.2 kB
        3. qtbaseChange.diff
          1 kB
        For Gerrit Dashboard: QTBUG-50845
        # Subject Branch Project Status CR V

        Activity

          People

            jmcdonnell James McDonnell
            dcape Dan Cape
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes