Different behavior in Poppler when font is not found on FormFieldText
I have some PDF's (with form annotations) that when are written by Poppler (Okular, or any other) look different than other editors (Tried Master PDF and Chrome so far).
I investigated and here are the findings:
Imagine a scenario where there is a:
-
FormFieldText
withda = /Arial 10
-
Form
withda = /Helv 0
Poppler tries to locate Arial
font.
If failed, it will rely on Form's da
, which is /Helv 0
Since the font size on Form
is 0
, the text appears too big (As 0 means automatic sizing)
although the field is set to have size 10.
It seems that other generators will switch to Helv for font, but keep the font size as defined on field.