2 Replies Latest reply on Oct 21, 2006 10:58 AM by happysailingdude

    creating pdf pages from CF - how to control the font

    happysailingdude Level 1
      hi there - i have this..

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html>
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
      <title>pdf test page</title>
      <style type="text/css">
      <!--
      .style3 {font-family: "tahoma"}
      -->
      </style>
      </head>

      <body>

      <cfdocument format="pdf" pagetype="a4" orientation="portrait" unit="cm" margintop="2" marginleft="1.5" marginright="1.5" >
      <span class="style3">
      hello this text should be in tahoma, not times new roman!
      </span>
      </cfdocument>
      </body>
      </html>


      which creates a pdf as desired - however the font is times new roman - not tahoma. i've tried with several different fonts and it is as if this only works with times. i have checked in cf admin "font management" in case it's something to do with that - but is says tahoma is installed and available for pdfs.

      any suggestions would be gratefully received - thank you very much