New issue
Advanced search Search tips
Starred by 3 users

Issue metadata

Status: Fixed
Closed: Aug 2016
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug-Regression

issue 62400

Sign in to add a comment

In Google Chrome 52 or above, text kerning in PDF form is broken.

Reported by, Jun 8 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.10 Safari/537.36

Steps to reproduce the problem:
1. Access to

What is the expected behavior?
The text in PDF form should be displayed properly.

What went wrong?
Since text kerning is broken, some characters are overlapped by other characters.

Did this work before? Yes Google Chrome 51 has no problem.

Chrome version: 52.0.2743.10  Channel: n/a
OS Version: 6.3
Flash Version: Shockwave Flash 22.0 r0
29.1 KB View Download
Components: Internals>Plugins>PDF
Labels: M-52 hasbisect OS-Linux OS-Mac
Status: Assigned (was: Unconfirmed)
able to reproduce the issue on windows 7, Linux Ubuntu 14.04 and Mac 10.11.5 using chrome version and beta 52.0.2743.33.It is working fine on stable 51.0.2704.84.
This is regression issue broken in M52.Please find the bisect information as below

Narrow bisect
Good:: 52.0.2738.0  --  (official build revision 393766)
Bad:: 52.0.2739.0  --   (official build revision 393996)


Possible suspect

dsinclair @ Could you please look into this issue if it is related to your change,else please route this to an appropriate owner for this issue.

Thank you!
Project Member

Comment 2 by, Jun 9 2016

Labels: -M-52 M-53 MovedFrom-52
Moving this nonessential bug to the next milestone.

For more details visit - Your friendly Sheriffbot
Blocking: 62400
Labels: -M-53 -Arch-x86_64 -MovedFrom-52
This looks like an issue with the XFA branch which has just been disabled on the beta branch.
May I add your test PDF to our corpus of test cases?
The fix for gets the PDF to legible, but not quite correct. There are still a few spacing issues after that Cl lands that will need to be looked into.
Does it still look as bad as kerning.jpg? There may be font substitution issues, especially on Linux.
Interestingly it looks the same with pdfium_test with and without XFA now, but it looks different from what's in current beta. The file is legable, there are just some obvious kerning issues.
25.7 KB View Download

Comment 8 by, Jun 25 2016

If you ask this question to me,
>May I add your test PDF to our corpus of test cases?

the answer is yes.
Thank you for your commitment.


Comment 10 by, Aug 31 2016

This seems to be working now on Linux using Chrome 52.0.2743.116 (or on master, with and without xfa), can you confirm if you can still reproduce?

I wouldn't be in favor of adding this to the corpus of test cases. The pdf uses a non-standard font and this font is not embedded in the pdf, so rendering may vary according to which font is used as a substitute.
Status: Fixed (was: Assigned)

Sign in to add a comment