0 Replies Latest reply on Jul 6, 2006 12:44 AM by Hitesh_Patel-LWMdQu

    <cfdocument> : smaller font in generated French Version PDF

    Hitesh_Patel-LWMdQu
      Hello there,

      I am having an issue with PDF file generated by <CFDOCUMENT>.
      I have CFMX 7.0 on my development server.

      I am getting smaller font size (very hard to read) in case of French content within PDF file. Code is as below.

      ===== For French version FONT SIZE is not OK

      <cfset Variables.FileName = "#Variables.DirPath#\French#Variables.ResNumber##DateFormat(Now(),'mmddyyyy')##TimeFormat (Now(),'HHmmss')#.pdf">
      <cfdocument format="PDF" filename="#Variables.FileName#" fontembed="yes" overwrite="yes">
      <cfinclude template="GeneratePlainTextContent_French.cfm">
      </cfdocument>

      <!--- within GeneratePlainTextContent__French.cfm there is simply plain/text (no HTML tags) & there is a French language content --->

      <CFMAIL FROM="#Variables.MainEmail#" to="#Variables.Email#" charset="iso-8859-1" subject="#Variables.Subject#" type="text">
      <cfmailparam file="#Variables.FileName#" type="application/pdf">
      ..
      ..
      ..
      </cfmail>


      ====== For English language it works 100% fine.

      <cfset Variables.FileName = "#Variables.DirPath#\French#Variables.ResNumber##DateFormat(Now(),'mmddyyyy')##TimeFormat (Now(),'HHmmss')#.pdf">
      <cfdocument format="PDF" filename="#Variables.FileName#" overwrite="yes">
      <cfinclude template="GeneratePlainTextContent_English.cfm">
      </cfdocument>

      <!--- within GeneratePlainTextContent_English.cfm there is simply plain/text (no HTML tags) & there is a English language content --->

      <CFMAIL FROM="#Variables.MainEmail#" to="#Variables.Email#" subject="#Variables.Subject#" type="text">
      <cfmailparam file="#Variables.FileName#" type="application/pdf">
      ..
      ..
      ..
      </cfmail>


      In brief, I want to have proper FONT SIZE for French Lanauge PDF content.

      Thanks.