Skip to main content
Inspiring
August 7, 2007
Question

CFDOCUMENT and HUGE FILE SIZE & Performance

  • August 7, 2007
  • 4 replies
  • 708 views
Hi,

I am using cfdocument, it renders the PDF nicely in the browser, when I go to print, it takes forever and seems to do some "flattening" for each page that takes a long time. It also says my PDF is 41 MB or so, which is HUGE and takes quite some time to print.

Is there something I am doing wrong? I am using the developer edition CF 7 so I get the watermark, but that watermark can't be inflating my file size that much. There must be a way to speed this up a bit. It is not graphic intensive either

Any help appreciated as I am sure to get questions on why it takes so long to print and why the file size is so big. My PDF is only 8 pages and its 41 MB for some reason.

Thanks

-Westside
    This topic has been closed for replies.

    4 replies

    Known Participant
    August 9, 2007
    We added that tag and it reduced the file size by about 400k before this post... But he's using CF7 and we're using CF8... I believe that is just a CF8 issue.
    Adobe Employee
    August 9, 2007
    Hmmm.. Thats interesting.. Could you check if setting fontembed="false" in cfdocument tag makes any difference?
    Participant
    October 2, 2007
    quote:

    Originally posted by: rupesh_kumar
    Hmmm.. Thats interesting.. Could you check if setting fontembed="false" in cfdocument tag makes any difference?


    I had same issue, moving frm CF7 to CF8 the PDF file size got 30x larger, but after I added the fontembed="false" to the cfdocument tag file size got back to it's "previous" size.
    WestSideAuthor
    Inspiring
    August 8, 2007
    No, not using any images, just HTML.

    -WestSide
    Known Participant
    August 7, 2007
    Are you using any images within the PDF? We are seeing significant file size increases with image embedding. Typically 10 times the original size of the image.

    We have a document with 40 fifty kilobyte images rendering into 20MB files. That's converting 50K images into 500K images at the final PDF document.