[poppler] Missing fonts on DefaultAppareance of Form fields
jose.aliste at gmail.com
jose.aliste at gmail.com
Mon Feb 18 07:44:01 PST 2013
Leonard,
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.
Greets
José
[1] http://bugzilla-attachments.gnome.org/attachment.cgi?id=124437
On Mon, Feb 18, 2013 at 2:25 PM, Leonard Rosenthol <lrosenth at adobe.com>wrote:
> Jose – that's strange, those names aren't special and need to have
> associated resources.
>
> However, they are fairly standard…so if you must map, then map correctly
> (not just to Dingbats for all).
>
> Leonard
>
> From: "jose.aliste at gmail.com" <jose.aliste at gmail.com>
> Date: Monday, February 18, 2013 5:29 AM
> To: "poppler at lists.freedesktop.org" <poppler at lists.freedesktop.org>
> Subject: [poppler] Missing fonts on DefaultAppareance of Form fields
>
> Hi list,
>
> 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.
>
>
> Greetings
>
> José
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20130218/1f0c2d1e/attachment.html>
More information about the poppler
mailing list