Project: chromium Issues People Development process History Sign in
New issue
Advanced search Search tips
Starred by 3 users
Status: Fixed
Owner:
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux, Windows, Mac
Pri: 2
Type: Bug-Regression

Blocking:
issue 62400



Sign in to add a comment
In Google Chrome 52 or above, text kerning in PDF form is broken.
Reported by shima...@gmail.com, Jun 8 2016 Back to list
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 http://www.broadband-xp.com/test/chrome/form_text.pdf
2. 
3. 

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
 
kerning.jpg
29.1 KB View Download
Components: Internals>Plugins>PDF
Labels: M-52 hasbisect OS-Linux OS-Mac
Owner: dsinclair@chromium.org
Status: Assigned
able to reproduce the issue on windows 7, Linux Ubuntu 14.04 and Mac 10.11.5 using chrome version 53.0.262.0 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)

CHANGELOG URL:
================
  https://chromium.googlesource.com/chromium/src/+log/b63b54ffb934677bcb8b6986a250bea71c0d147e..8eb4c80b7558a1bdd547e24b6b129b0d84223b21

Possible suspect
==================
https://chromium.googlesource.com/chromium/src/+/08e9434b6f4938517755815da37752b0cd906be7

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 sheriffbot@chromium.org, Jun 9 2016
Labels: -M-52 M-53 MovedFrom-52
Moving this nonessential bug to the next milestone.

For more details visit https://www.chromium.org/issue-tracking/autotriage - 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 https://bugs.chromium.org/p/chromium/issues/detail?id=617490 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.
form_text.pdf.0.png
25.7 KB View Download
Comment 8 by shima...@gmail.com, 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.

Cc: dsinclair@chromium.org
Owner: npm@chromium.org
Comment 10 by npm@chromium.org, 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
Sign in to add a comment