incorrect kerning in some XFA form fields (libpoppler issue?)
I entered some text into a PDF containing XFA forms. I can enter the text without issue, but some of the letters are wrongly positioned, i.e. the kerning is wrong, both in Evince and on the printed page. For example, the letter "i" overlaps with the letter "m" in "Smith" (see attached image). It looks like the font in the fields might be displaying a variable width font when it is supposed to be a fixed-width font.
Since this bug is also present in xpdf and Okular (but not mupdf or pdf.js), I'm guessing this isn't a bug in Evince itself. However, I'm not sure which dependency is responsible. (I'm also not sure if it's a direct dependency problem or if it's something else like a font configuration issue. An Arch Linux user has reported reproducing the issue, so I don't believe it is isolated to my system.)
My questions:
-
Where else should I report this bug?
-
Is there any debugging or workarounds I should try?
Evince version:
$ evince --version
GNOME Document Viewer 3.28.4
Linux distribution: Ubuntu 18.04.
PDF information:
$ pdfinfo ss-5.pdf
Title: Application for Social Security Card
Subject: Use this form to apply for a new or replacemet SSN card.
Keywords: Social Security Card, Application, Card, SS-5, 5, SSN
Author: Social Security Administration
Creator: Adobe LiveCycle Designer ES 9.0
Producer: Adobe LiveCycle Designer ES 9.0
CreationDate: Mon Nov 16 07:36:43 2015 CST
ModDate: Mon Nov 23 08:01:40 2015 CST
Tagged: yes
UserProperties: no
Suspects: no
Form: XFA
JavaScript: yes
Pages: 5
Encrypted: yes (print:yes copy:no change:no addNotes:yes algorithm:AES)
Page size: 612 x 792 pts (letter)
Page rot: 0
File size: 141815 bytes
Optimized: no
PDF version: 1.7
$ pdffonts ss-5.pdf:
name type encoding emb sub uni object ID
------------------------------------ ----------------- ---------------- --- --- --- ---------
IHPIKC+ArialMT CID TrueType Identity-H yes yes yes 824 0
ArialMT TrueType WinAnsi no no no 826 0
Arial-BoldMT TrueType WinAnsi no no no 828 0
CourierStd Type 1 WinAnsi no no no 145 0
Helvetica Type 1 WinAnsi no no no 197 0
MyriadPro-Regular Type 1 WinAnsi no no no 198 0
ZapfDingbats Type 1 ZapfDingbats no no no 199 0
Ubuntu bug:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1824260
AskUbuntu question:
https://askubuntu.com/questions/1031235/wrong-letter-positioning-and-font-in-pdf-form