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 <[email protected]>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: "[email protected]" <[email protected]>
> Date: Monday, February 18, 2013 5:29 AM
> To: "[email protected]" <[email protected]>
> 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é
>
>
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to