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

QPicture playback ignores font hinting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 5.1.1
    • GUI: Font handling
    • Linux (Debian 6, Ubuntu 12.04), most probably reproduces also on Windows with directwrite

      The test case attached here goes through all
      hinting settings and compares QPicture and QPrinter output.

      Build and run the example code. Open the generated test.pdf. Compare the pages. Note that some of the pages are created by drawing to a QPicture then played back on a PDF printer. Some are drawn directly to the PDF printer.

      The font used is set to use no hinting. The computed bounding box for the text doesn't match the actual text drawn in the case of QPicture.

      QPicture also doesn't record hinting or ignores it when playing back.

        1. tsFontHinting.zip
          39 kB
        2. test.pdf
          46 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            esabraha Eskil Abrahamsen Blomfeldt
            qtcomsupport Qt Support
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes