incorrect kerning in some XFA form fields
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 xpdf and on the printed page. For example, the letter "i" overlaps with the letter "m" in "Smith":
I've observed this bug to be present in Evince, xpdf, and Okular, but not mupdf or pdf.js. I've also confirmed it to be present in the output of pdftoppm
and pdfcairo
. An Arch Linux user has reported reproducing the issue, and both Ubuntu and GNOME have confirmed the bug.
My questions:
-
Is this the correct place to report this bug?
-
Is this a duplicate of #694 ?
-
Should I include any further debugging information?
libpoppler version:
$ file /usr/lib/x86_64-linux-gnu/libpoppler.so.73.0.0
/usr/lib/x86_64-linux-gnu/libpoppler.so.73.0.0: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=29185bb684d73e7289db19f77b3b4f3fbb4ca0f9, stripped
$ apt-cache policy libpoppler73
libpoppler73:
Installed: 0.62.0-2ubuntu2.8
Candidate: 0.62.0-2ubuntu2.8
Version table:
*** 0.62.0-2ubuntu2.8 500
500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
100 /var/lib/dpkg/status
0.62.0-2ubuntu2 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
xpdf version:
$ xpdf -v
xpdf version 3.04
Copyright 1996-2014 Glyph & Cog, LLC
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 -subst ss-5.pdf
name object ID substitute font substitute font file
------------------------------------ --------- ------------------------------------ ------------------------------------
ArialMT 826 0 Arial /usr/share/fonts/truetype/msttcorefonts/Arial.ttf
Arial-BoldMT 828 0 Arial Negreta /usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf
CourierStd 145 0 DejaVu Sans /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
Helvetica 197 0 Bitstream Vera Sans /usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf
MyriadPro-Regular 198 0 DejaVu Sans /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
ZapfDingbats 199 0 DejaVu Sans /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
Evince bug:
https://gitlab.gnome.org/GNOME/evince/issues/1127
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
Potentially related bugs:
Attachments: