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

Issue 791426 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Regarding copy text in the cropped pdf file

Reported by j.rechar...@gmail.com, Dec 4 2017

Issue description

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

Steps to reproduce the problem:
1. Open the attached file - CroppedPdf.pdf
2. Select all text using "Ctrl+A"
3. Copy text using "Ctrl+C"
4. Paste the text on your text editor using "Ctrl+V"

What is the expected behavior?
It should be shown only two lines text like below.

===================================
CHAPTER 1
1Introduction
===================================

What went wrong?
It seems to be extracted all text with out of page bound like below.

========================================
25
CHAPTER 1
1Introduction
The Adobe Portable Document Format (PDF) is the native file format of the
Adobe®
 Acrobat®
 family of products. The goal of these products is to enable users
to exchange and view electronic documents easily and reliably, independently of
the environment in which they were created. PDF relies on the same imaging
model as the PostScript®
 page description language to describe text and graphics
in a device-independent and resolution-independent manner. To improve performance
for interactive viewing, PDF defines a more structured format than that
used by most PostScript language programs. PDF also includes objects, such as
annotations and hypertext links, that are not part of the page itself but are useful
for interactive viewing and document interchange.
1.1 About This Book
This book provides a description of the PDF file format and is intended primarily
for developers of PDF producer applications that create PDF files directly. It also
contains enough information to allow developers to write PDF consumer applications
that read existing PDF files and interpret or modify their contents.
Although the PDF Reference is independent of any particular software implementation,
some PDF features are best explained by describing the way they are processed
by a typical application program. In such cases, this book uses the Acrobat
family of PDF viewer applications as its model. (The prototypical viewer is the
fully capable Acrobat product, not the limited Adobe Reader®
 product.) Appendix
C discusses some implementation limits in the Acrobat viewer applications, even
though these limits are not part of the file format itself. Appendix H provides
compatibility and implementation notes that describe how Acrobat viewers behave
when they encounter newer features they do not understand and specify areas
in which the Acrobat products diverge from the specification presented in
================================================

Did this work before? N/A 

Chrome version: 62.0.3202.94  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: 

The "CroppedPdf.pdf" file is cropped from the "OriginalPdf.pdf".
 
OriginalPdf.pdf
133 KB Download
CroppedPdf.pdf
73.9 KB Download
Cc: vamshi.k...@techmahindra.com
Components: Internals>Plugins>PDF
Labels: Triaged-ET M-65 Needs-Triage-M62 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on the reported chrome version stable 62.0.3202.94 and on the latest canary 65.0.3285.0 Using Windows 7, Mac 10.13.1 and Ubuntu 14.04. As the issue is seen from M50(50.0.2624.0) hence treating it as non-regression and marking it as Untriaged. 
Labels: -M-65 -Needs-Triage-M62
Owner: hnakashima@chromium.org
Status: Assigned (was: Untriaged)
This sounds like PE to me
Owner: ----
Status: Available (was: Assigned)

Sign in to add a comment