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

certain fonts with less pixel size does not have linearadvance value and so it is over written

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.3.0 Alpha
    • GUI: Text handling
    • None
    • Linux

    Description

      I am using certain unicode fonts and when the pixel size is really less eg. 9,
      In function QFontEngineFT::recalcAdvances under qfontengine_ft.cpp, the g->linearadvance value is always 0.So there is no spacing between characters and it is overwrites.But for the same font file, if the font size is 20 it seems to work fine.There is a valid linear advance value for higher pixel size.I am using windows batang file.I have attached web.ttf font file due to size limitations.

      Attachments

        1. web.ttf
          7 kB
        2. batang.zip
          6.49 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            parkavi06 pranknflee
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes