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

PDF export looks wrong when using the DirectWrite font engine

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2: Important P2: Important
    • None
    • 4.8.0
    • None
    • Windows 7

      QFontEngineDirectWrite doesn't override QFontEngine::properties and therefore the PDF export code can't get the correct bounding box and other information when embedding fonts into PDF. This means that exported PDFs give warnings when opened in Acrobat Reader and look incorrect.

      To see this, use the attached test app. Turn on the 'DirectWrite' checkbox and click the 'Save as PDF' button. This should save 'test.pdf' in the same folder as the test app itself. Open this PDF in Acrobat and observe that the glyphs are the wrong size. Also I get a warning about an invalid bbox in the embedded font from Acrobat.

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

            esabraha Eskil Abrahamsen Blomfeldt
            jlarcombe James Larcombe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes