Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. PDF specification used for PDF files generated by QPrintDialog
Forum Updated to NodeBB v4.3 + New Features

PDF specification used for PDF files generated by QPrintDialog

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 3.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hvengel
    wrote on last edited by
    #1

    I need information on what PDF specification is used for the PDF spool files created by QPrintDialog. Specifically does it create PDF/X-4 or PDF/X-4p specification files? Also is this output fully conforming?

    Does anyone here know? If not who do I need to contact to get this information?

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hvengel
      wrote on last edited by
      #2

      These are PDF 1.4 so these are not usable for print spooling since it is not possible to set an OutputIntent.

      In addition the PDF files are not color managed even when the objects being embedded into them are. For example in Krita I can create a test image and assign it an ICC profile and then print to a PDF file. The image will be tagged as DeviceRGB which is not correct since it should be tagged with the ICC profile that was assigned to the image.

      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        zester
        wrote on last edited by
        #3

        You could take a look at http://libharu.org/wiki/Main_Page

        libHaru is a free, open source, cross platform library for generating PDF files for applications written in C or C++.[1] It is not intended for reading PDF files. libHaru can be used as a static library or as a dynamic library. It is the only free, open source C or C++ library for PDF generation that is under active development, and it is widely used.[2]

        This is what i use.

        1 Reply Last reply
        0
        • H Offline
          H Offline
          hvengel
          wrote on last edited by
          #4

          OK that is fine but I was asking about PDF print spool files generated by the Qt print dialog not how to create PDFs. I had a look at the code that is used by Qt to do this and the resulting PDF are, in the language of the PDF spec., non-conforming.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved