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

Setting QFont kerning to false can cause clipping of the text when printed to PDF.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.15.14, 5.15.15, 6.5.3, 6.5.4
    • GUI: Font handling
    • Windows 10 with 1920 x 1080 and 3840x2160 screen settings
    • Windows

    Description

      User reported about weird clipping which occurs with the example project when printed to PDF.

      Steps to reproduce:

      1.Run the example project with "font.setKerning(False)"

      2.Print to PDF printer(for example Bullzip)

      When kerning is turned off the first line can be clipped at the end with mixed results and when kerning is turned on the results look better(please see the attachments).

      When printed to paper there was no clipping.

      Attachments

        1. 654kerningfalse.pdf
          19 kB
        2. 654kerningtrue.pdf
          19 kB
        3. qt6_5_kerningoff.pdf
          86 kB
        4. qt6_5_kerningon.pdf
          86 kB
        5. QtTestKerningFalse.pdf
          19 kB
        6. QtTestKerningTrue.pdf
          19 kB
        7. TextWrapIssue.zip
          176 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            tero.pelkonen Tero Pelkonen
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes