I have a PDF letter (thankyou for donations) that I've created in a new implementation of civi for our organization. I've struggled with formatting it to look nice when converted to PDF, and everything is great, except that in the final PDF there is a question mark beside the image of our exec dir's signature. Like so...
If I save the HTML to a file and open in my browser (Chrome, on Mac), I get "​" in the place where the "?" shows up in a PDF, suggesting a character encoding issue. The browser shows "Western (Windows-1256)" encoding, and if I change it to UTF-8, the html renders correctly. However, that doesn't solve the problem in civi. Everywhere that I know to check in my system is using UTF-8.
I've tried different image formats (PNG, JPG), and I've even seen this happen in another of my civi message templates with different image.
Strangely, our logo image in the same letter/template does not have this problem, though in a couple of my rounds of editing, the mysterious ? showed up there as well.
EDITED: Here's the HTML. (And, yes, I know inline CSS is frowned upon, but I'm not sure how to change that in the context of a Message Template. Also the internal CSS block doesn't convert through dompdf, but that would be for another thread...)
<style type="text/css">div.name {
margin-bottom: 7px;
font-family: 'Trebuchet MS';
font-size: 11px;
vertical-align: baseline;
</style>
<table>
<tbody>
<tr>
<td style="padding: 0px; width=120px">
<p><img src="/media/civicrm/persist/contribute/images/logo-707x1032.png" width="100px" /><br />
<span style="font-size: 11px; line-height: 1; font-family: 'Times New Roman';"><i>Creating global partnerships that<br />
combat extreme poverty and<br />
nurture sustainable community</i></span></p>
</td>
<td rowspan="2" width="20px"> </td>
<td rowspan="2">
<p>{contact.today_date}</p>
<p> </p>
<p>{contact.display_name}<br />
{contact.street_address}<br />
{contact.city}, {contact.state_province} {contact.postal_code}</p>
<p><span style="line-height: 1.6em;">{contact.postal_greeting},</span></p>
<p>Thank you for your gift of {contribution.total_amount} ({contribution.receive_date}) for ----. Your support is truly important in our work of bringing communities together.</p>
<p>Sincerely,<br />
<img src="/media/civicrm/persist/contribute/images/Leslie%20signature.png" width="250" /> <br />
<span style="line-height: 1.6em;">xxxxxxxx</span><br />
<span style="line-height: 1.6em;">Executive Director</span></p>
</td>
</tr>
<tr>
<td style="padding: 0px;">
<div class="name">xxxxxxxx<br />
Executive Director</div>
<div class="name">staff here</p>
<p style="margin-bottom:1em;"><span style="font-size: 11px; font-family: 'Trebuchet MS'; font-weight: bold; vertical-align: baseline;">Board of Directors:</span></p>
<p><span style="font-size: 11px; font-family: 'Trebuchet MS'; vertical-align: baseline;">board here</span></p>
</td>
</tr>
<tr>
<td align="center" colspan="3" style="padding: 0px;">
<p style="margin-top:1em"><span style="font-size: 11px; font-family: 'Times New Roman'; text-align: center;"><b>xxxxxx is a 501c3 organization. No goods or services were exchanged for this donation. Please save this letter for your taxes.</b><br />
<span>address</span></p>
</td>
</tr>
</tbody>
</table>