<p>I'm creating PDFs on-demand with ColdFusion's <a href="http://cfquickdocs.com/cf8/?getDoc=cfdocument" rel="nofollow noreferrer">CFDocument</a> tag, like so:</p>

<pre><code>&lt;cfdocument format="PDF" filename="#attributes.fileName#" overwrite="true"&gt;
    &lt;cfdocumentitem type="footer"&gt;
        &lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt;
            &lt;tr&gt;
                &lt;td align="left"&gt;&lt;font face="Tahoma" color="black"&gt;&lt;strong&gt;My Client's Corporation&lt;/strong&gt;&lt;br/&gt;Street address&lt;br/&gt;City, ST 55555&lt;/font&gt;&lt;/td&gt;
                &lt;td align="right"&gt;&lt;font face="Tahoma" color="black"&gt;Phone: 555.555.5555&lt;br/&gt;Fax: 555.555.5555&lt;br/&gt;Email: info@domain.com&lt;/font&gt;&lt;/td&gt;
            &lt;/tr&gt;
        &lt;/table&gt;
    &lt;/cfdocumentitem&gt;
    &lt;html&gt;
        &lt;body&gt;
            &lt;table border="0" cellpadding="0" cellspacing="0" width="100%"&gt;
            &lt;!--- some content here ... ---&gt;
            &lt;/table&gt;
        &lt;/body&gt;
    &lt;/html&gt;
&lt;/cfdocument&gt;
</code></pre>

<p>The problem I'm having is that sometimes (actually, most of the time, but not always) <strong><em>some</em></strong> of the footer text is there, but invisible. I can highlight it and copy/paste it into notepad, where I can see it all -- but in the generated PDF only the first line of the left column of the footer is visible, the rest is invisible. Hence why I added the font color of black in the code.</p>

<p><img src="https://i.stack.imgur.com/LHZ96.png" alt="screenshot of problem"></p>

<p>Any ideas on how to correct this?</p>

[{'answer_id': 30688, 'author': 'Adam Tuttle', 'author_id': 751, 'author_profile': 'https://Stackoverflow.com/users/751', 'pm_score': 3, 'selected': True, 'text': '<p>A PDF is what I\'m after, so I\'m not sure how outputting another format would help.</p>\n\n<p>As it turns out, the footer space just wasn\'t enough to fit all of this text; verified by the fact that changing the font size to 4pt would fit it all in without a problem.</p>\n\n<p>I spent some time attempting to rewrite the footer code using DDX <a href="http://www.coldfusionjedi.com/index.cfm/2008/6/2/Changing-the-size-of-a-footer-in-CFDOCUMENT" rel="nofollow noreferrer">as outlined here</a> and the <a href="http://cfquickdocs.com/cf8/?getDoc=cfpdf" rel="nofollow noreferrer">CFPDF</a> tag to implement it; but even after several hours of hacking away and finally getting a valid DDX as reported by the new <a href="http://cfquickdocs.com/cf8/?getDoc=IsDDX" rel="nofollow noreferrer">isDDX function</a>, the CFPDF tag reported that it was invalid DDX for some reason.</p>\n\n<p>At this point I decided I had wasted enough of the client\'s time/money and just reformatted the footer to be 2 lines of centered text, which was good enough.</p>\n'}, {'answer_id': 224415, 'author': 'Chris Dolan', 'author_id': 14783, 'author_profile': 'https://Stackoverflow.com/users/14783', 'pm_score': 1, 'selected': False, 'text': '<p>Usually when PDF shows blank text, it\'s because the font metrics are embedded in the document, but the glyphs are not.  I know nothing about ColdFusion, but you might try the following:</p>\n\n<ul>\n<li>Try a font other than Tahoma as a test.  All PDF readers must support 14 basic fonts, including 4 Helvetica variants, 4 Times variants, 4 Courier variants, Symbol and ZapfDingbats, so those are always safe choices</li>\n<li>See if ColdFusion offers any control over font embedding</li>\n<li>Try a list of alternatives in your font declaration, like "Tahoma,Helvetica,sans-serif"</li>\n</ul>\n'}]
['https://Stackoverflow.com/questions/26670', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/751/']