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

QPicture playback ignores font hinting

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        1. test.pdf
          46 kB
        2. tsFontHinting.zip
          39 kB

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes