Solved

CFdocumnet font issue

Posted on 2008-10-13
5
37 Views
Last Modified: 2016-05-14
Hi all,
          I am using cf8 for my site. I tried to create a PDF report by using cfdocumnet tag and its content is dynamic. If the page number is less, that is one or two, its font is correct. But if the number of pages increases, the font becoming smaller....Can any one help me?
0
Comment
Question by:Digitalmesh
  • 3
5 Comments
 
LVL 39

Expert Comment

by:gdemaria
Comment Utility
Each page auto-sizes depending on the amount of content.  It will scale down to fit bigger content and give you a smaller font size.  Check to make sure that your content can fit in the same amount of space on each page.  
0
 
LVL 1

Expert Comment

by:sir-fal
Comment Utility
You can just specify an absolute font-size using CSS try adding the following after your <cfdocumentsection> and of course remember to include a <body> tag-set in the document.


<style type="text/css" media="all">
  body { font-size: 11pt; font-family: arial; }
</style>

Open in new window

0
 
LVL 39

Accepted Solution

by:
gdemaria earned 500 total points
Comment Utility
Even if you specify the font-size (which I assume you're already doing) cfdocument can auto-size or shrink the page if the other content is too large.  For example, you may have an image or a table or perhaps just the width of the page is too big, then cfdocument will shrink everything to fit.

0
 

Expert Comment

by:EE_AutoDeleter
Comment Utility
I've requested that this question be deleted for the following reason:

No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Not enough information to confirm an answer.

If you feel this question should be closed differently, post an objection and a moderator will read all objections and then close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

Experts-Exchange Auto Deleter
0
 
LVL 39

Expert Comment

by:gdemaria
Comment Utility
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Hi, Even though I have created this Tutorial on My personal Blog, Some people might not able to find my website, So here i am posting it again Today, from the topic it is very clear that i will be showing you here the very basic usage of how we …
CFGRID Custom Functionality Series -  Part 1 Hi Guys, I was once asked how it is possible to to add a hyperlink in the cfgrid and open the window to show the data. Now this is quite simple, I have to use the EXT JS library for this and I achiev…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now