New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 821070 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

IRS Forms Not Printing

Project Member Reported by skau@chromium.org, Mar 12 2018

Issue description

Report from feedback reports.  See b/74525373 for more details

Chrome Version       : 64.0.3282.167
Platform : 10176.72.0

What steps will reproduce the problem?
(1) Go to irs.gov
(2) Download a form (1040 EZ?)
(3) Print

What is the expected result?
Forms

What happens instead?
Garbled print out
 

Comment 1 by xlou@chromium.org, Mar 14 2018

Tested with snappy R66-10452.11.0, tried to print form 2017 instruction 1040, and found that the output paper was smashed.

Tried to test using R67, however, I wasn't able to choose a printer to print to.

Switched to test with Caroline and R67 release, same behavior observed, that is not able to add a printer or choose a printer to print to.

Comment 2 by xlou@chromium.org, Mar 19 2018

Page 2 and page 3 of the form 2010 instructions for 1040 print were smashed.  Here are the font info of page 3:

xlou@xlou2:~/chromium/src$ qpdf --show-object=12 --filtered-stream-data ~/Downloads/i1040gi.pdf 
<< /Annots [ 15 0 R 16 0 R 17 0 R 18 0 R 19 0 R 20 0 R 21 0 R 22 0 R 23 0 R 24 0 R ] /BleedBox [ 0 0 612 1008 ] /Contents [ 13 0 R ] /CropBox [ 0 0 612 792 ] /Group << /CS /DeviceRGB /S /Transparency /Type /Group >> /MediaBox [ 0 0 612 792 ] /Parent 9 0 R /Resources << /Font << /F0 4 0 R /F1 5 0 R /F2 6 0 R /F3 7 0 R /F4 14 0 R >> /ProcSet [ /PDF /Text /ImageC ] >> /Rotate 0 /StructParents 2 /Tabs /S /Type /Page >>
xlou@xlou2:~/chromium/src$ qpdf --show-object=4 --filtered-stream-data ~/Downloads/i1040gi.pdf 
<< /BaseFont /JNAXTJ+TimesNewRomanPSMT /DescendantFonts [ 70808 0 R ] /Encoding /Identity-H /Name /F0 /Subtype /Type0 /ToUnicode 70537 0 R /Type /Font >>
xlou@xlou2:~/chromium/src$ qpdf --show-object=5 --filtered-stream-data ~/Downloads/i1040gi.pdf 
<< /BaseFont /JNAXTJ+TimesNewRomanPS-ItalicMT /DescendantFonts [ 70809 0 R ] /Encoding /Identity-H /Name /F1 /Subtype /Type0 /ToUnicode 70535 0 R /Type /Font >>
xlou@xlou2:~/chromium/src$ qpdf --show-object=6 --filtered-stream-data ~/Downloads/i1040gi.pdf 
<< /BaseFont /JNAXTJ+TimesNewRomanPS-BoldMT /DescendantFonts [ 70810 0 R ] /Encoding /Identity-H /Name /F2 /Subtype /Type0 /ToUnicode 70533 0 R /Type /Font >>
xlou@xlou2:~/chromium/src$ qpdf --show-object=7 --filtered-stream-data ~/Downloads/i1040gi.pdf 
<< /BaseFont /JNAXTJ+HelveticaWorld-Bold /DescendantFonts [ 1038 0 R ] /Encoding /Identity-H /Name /F3 /Subtype /Type0 /ToUnicode 626 0 R /Type /Font >>
xlou@xlou2:~/chromium/src$ qpdf --show-object=14 --filtered-stream-data ~/Downloads/i1040gi.pdf 
<< /BaseFont /JNAXTJ+TimesNewRomanPS-BoldItalicMT /DescendantFonts [ 1039 0 R ] /Encoding /Identity-H /Name /F4 /Subtype /Type0 /ToUnicode 638 0 R /Type /Font >>
xlou@xlou2:~/chromium/src$ 

Comment 3 by skau@chromium.org, Mar 19 2018

Are the fonts embedded? They have a weird prefix.

Comment 5 by skau@chromium.org, Mar 20 2018

PostScript printing seems to be fine.  Problem only shows up when rasterizing content.  I dumped just page 2 as an uncompressed file.  It is attached.  There's a CMap section mapping characters to glyphs.
uncompressed.pdf
310 KB Download

Comment 6 by skau@chromium.org, Mar 26 2018

Status: Started (was: Unconfirmed)
Artifex landed a change upstream to fix this problem.  Picking back.

https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=8ec5c5ded5

Comment 7 by skau@chromium.org, Mar 26 2018

Cc: xlou@chromium.org
Owner: skau@chromium.org
Project Member

Comment 8 by bugdroid1@chromium.org, Mar 27 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/ce5659c2f0ae4e7f59f8b4b79431ea75307df5ea

commit ce5659c2f0ae4e7f59f8b4b79431ea75307df5ea
Author: Sean Kau <skau@chromium.org>
Date: Tue Mar 27 21:58:23 2018

app-text/ghostscript-gpl: Another patch for glyph indexes

Backport patch from upstream where glyph indexes are not computed
properly for CMaps embedded in PDFs.

BUG= chromium:821070 
TEST=Print PDF with embedded CMap

Change-Id: I3f86f08d5bad0ee8fa2c3cbc0bb661b6b4fe522f
Reviewed-on: https://chromium-review.googlesource.com/981271
Commit-Ready: Sean Kau <skau@chromium.org>
Tested-by: Sean Kau <skau@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>

[modify] https://crrev.com/ce5659c2f0ae4e7f59f8b4b79431ea75307df5ea/app-text/ghostscript-gpl/ghostscript-gpl-9.19.ebuild
[add] https://crrev.com/ce5659c2f0ae4e7f59f8b4b79431ea75307df5ea/app-text/ghostscript-gpl/files/ghostscript-gpl-9.23-another-case-of-is_glyph_index-set_wrongly.patch
[rename] https://crrev.com/ce5659c2f0ae4e7f59f8b4b79431ea75307df5ea/app-text/ghostscript-gpl/ghostscript-gpl-9.19-r11.ebuild

Comment 9 by skau@chromium.org, Mar 28 2018

Status: Fixed (was: Started)

Comment 10 by skau@chromium.org, Mar 28 2018

master	chromium:981271	MERGED	ce5659c2	10523.0.0 (log) (images)

Comment 11 by skau@chromium.org, Mar 30 2018

Labels: Merge-Request-66
Verified behavior in canary.  Kefka 10525.0.0.  67.0.3381.0
Project Member

Comment 12 by sheriffbot@chromium.org, Mar 30 2018

Labels: -Merge-Request-66 Merge-Review-66 Hotlist-Merge-Review
This bug requires manual review: M66 has already been promoted to the beta branch, so this requires manual review
Please contact the milestone owner if you have questions.
Owners: cmasso@(Android), cmasso@(iOS), josafat@(ChromeOS), abdulsyed@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Hotlist-Merge-Review -M-64 -Merge-Review-66 Merge-Approved-66 M-66
Project Member

Comment 14 by bugdroid1@chromium.org, Apr 2 2018

Labels: merge-merged-release-R66-10452.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/58bd03079632d60be3adbe770756b8a6a56b2069

commit 58bd03079632d60be3adbe770756b8a6a56b2069
Author: Sean Kau <skau@chromium.org>
Date: Mon Apr 02 17:47:13 2018

app-text/ghostscript-gpl: Another patch for glyph indexes

Backport patch from upstream where glyph indexes are not computed
properly for CMaps embedded in PDFs.

BUG= chromium:821070 
TEST=Print PDF with embedded CMap

Change-Id: I3f86f08d5bad0ee8fa2c3cbc0bb661b6b4fe522f
Reviewed-on: https://chromium-review.googlesource.com/981271
Commit-Ready: Sean Kau <skau@chromium.org>
Tested-by: Sean Kau <skau@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
(cherry picked from commit ce5659c2f0ae4e7f59f8b4b79431ea75307df5ea)
Reviewed-on: https://chromium-review.googlesource.com/990233
Reviewed-by: Sean Kau <skau@chromium.org>
Commit-Queue: Sean Kau <skau@chromium.org>

[modify] https://crrev.com/58bd03079632d60be3adbe770756b8a6a56b2069/app-text/ghostscript-gpl/ghostscript-gpl-9.19.ebuild
[add] https://crrev.com/58bd03079632d60be3adbe770756b8a6a56b2069/app-text/ghostscript-gpl/files/ghostscript-gpl-9.23-another-case-of-is_glyph_index-set_wrongly.patch
[rename] https://crrev.com/58bd03079632d60be3adbe770756b8a6a56b2069/app-text/ghostscript-gpl/ghostscript-gpl-9.19-r11.ebuild

Project Member

Comment 15 by sheriffbot@chromium.org, Apr 6 2018

Cc: bhthompson@google.com
This issue has been approved for a merge. Please merge the fix to any appropriate branches as soon as possible!

If all merges have been completed, please remove any remaining Merge-Approved labels from this issue.

Thanks for your time! To disable nags, add the Disable-Nags label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 16 by skau@chromium.org, Apr 6 2018

Labels: -Merge-Approved-66

Sign in to add a comment