Fix Form fields with unexistant fonts in DA string
It may happen that a Form field's DA
string contains a
font name that is non-existant, however this situation
can be salvaged if the Form
object has a DA
string and
that string contains a valid font.
That is so, because PDF spec describes a Form DA
key as:
(Optional) A document-wide default value for the DA attribute
of variable text fields.
We also added this same logic (defaulting to Form DA
font
when the normal DA
font cannot be looked up) in function
Form::ensureFontsForAllCharacters()
so that entering
non-latin text also works for such text fields.
Fixes #1529
Edited by Nelson Benítez León