0 Replies Latest reply on Apr 8, 2008 11:14 AM by Newsgroup_User

    Controlling the font output in a <cfdocument...> created pdf

    Level 7
      I am using this to create a PDF file from a text file. It is creating
      very small fonts.

      <cfdocument format="pdf" orientation="landscape" pagetype="letter">

      I've tried adding a style section to the <cfdocument...> block. But it
      has only had partial and random effects.
      pre {
      font-family: "Courier New", Courier, monospace;
      font-size: 16px;

      Is this the correct approach. I just want the report to horizontally
      fill the page, just like it would if printed straight from the text file.

      Thank You