<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>You are right – it's not there.</div><div><br></div><div>It looks like this PDF was created by a producer that did something stupid :(. Unfortunately, there is a lot of that out there.</div><div><br></div><div>Leonard</div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> "<a href="mailto:jose.aliste@gmail.com">jose.aliste@gmail.com</a>" <<a href="mailto:jose.aliste@gmail.com">jose.aliste@gmail.com</a>><br><span style="font-weight:bold">Date: </span> Monday, February 18, 2013 10:44 AM<br><span style="font-weight:bold">To: </span> Leonard Rosenthol <<a href="mailto:lrosenth@adobe.com">lrosenth@adobe.com</a>><br><span style="font-weight:bold">Cc: </span> "<a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a>" <<a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a>><br><span style="font-weight:bold">Subject: </span> Re: [poppler] Missing fonts on DefaultAppareance of Form fields<br></div><div><br></div><div><div><div dir="ltr">Leonard,
<div><br></div><div style="">thanks for your answer, please look at [1] for an example of such file (the IRS form of 2008). In there, I can't find the Helvetica Bold font in the resources, but the DA streams all contain the /HeBo when specifying the font. About forcing to
Dingbats, poppler only forces Dingbats to render the checkboxes and the radio buttons even on pdf files that don't have Dingats in their resources (that's my understanding of the code, maybe I am mistaken). It just happened that I could re-use the code to
force adding resources of missing fonts. </div><div style=""><br></div><div style=""> </div><div style=""><br></div><div style="">Greets</div><div style=""><br></div><div style="">José</div><div style=""> </div><div style=""><br></div><div style=""><br></div><div style=""><br></div><div style=""><br></div><div style=""><br></div><div style=""><br></div><div style="">[1] <a href="http://bugzilla-attachments.gnome.org/attachment.cgi?id=124437">http://bugzilla-attachments.gnome.org/attachment.cgi?id=124437</a></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 18, 2013 at 2:25 PM, Leonard Rosenthol <span dir="ltr">
<<a href="mailto:lrosenth@adobe.com" target="_blank">lrosenth@adobe.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word"><div>Jose – that's strange, those names aren't special and need to have associated resources.</div><div><br></div><div>However, they are fairly standard…so if you must map, then map correctly (not just to Dingbats for all).</div><div><br></div><div>Leonard</div><div><br></div><span><div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none"><span style="font-weight:bold">From: </span>"<a href="mailto:jose.aliste@gmail.com" target="_blank">jose.aliste@gmail.com</a>" <<a href="mailto:jose.aliste@gmail.com" target="_blank">jose.aliste@gmail.com</a>><br><span style="font-weight:bold">Date: </span>Monday, February 18, 2013 5:29 AM<br><span style="font-weight:bold">To: </span>"<a href="mailto:poppler@lists.freedesktop.org" target="_blank">poppler@lists.freedesktop.org</a>" <<a href="mailto:poppler@lists.freedesktop.org" target="_blank">poppler@lists.freedesktop.org</a>><br><span style="font-weight:bold">Subject: </span>[poppler] Missing fonts on DefaultAppareance of Form fields<br></div><div><div class="h5"><div><br></div><div><div><div dir="ltr">Hi list,
<div><br></div><div>There are some PDF's out there (I don't know how common they are, but at least the IRS tax form of 2008 used to have this) that specify fonts like /Helv or /HeBo in their DA streams without specifying the corresponding font in the resources. You will find
a proof-of-concept patch, where I refactor the code we use to force ZapDingbats to render any of the standard 14 fonts given by the short refs. So the first question is, Do we want a feature like this? If so, reviews to make this mergable are most than welcome. </div><div><br></div><div><br></div><div>Greetings</div><div><br></div><div>José</div><div><br></div></div></div></div></div></div></span></div></blockquote></div><br></div></div></div></span></body></html>