Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Issue 484503002: Fix hebrew character highlight issue in a special document (Closed)

Created:
6 years, 4 months ago by Bo Xu
Modified:
6 years, 3 months ago
Reviewers:
jbreiden, Lei Zhang
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Visibility:
Public.

Description

Fix hebrew character highlight issue in a special document There is an image object and text objects in this document, but the character in each text object is reversed. When rendering, the image object is shown. However, when highlighting, the text object is selected, resulting in text index issue. Moreover, the character in the document is in reading order, which is different from normal document. BUG=pdfium:43 R=jbreiden@google.com Committed: https://pdfium.googlesource.com/pdfium/+/56ef173042d786281edcbbc9f1c38c8f97ef10d5

Patch Set 1 #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -1 line) Patch
M core/src/fpdftext/fpdf_text.cpp View 1 chunk +6 lines, -1 line 1 comment Download
M core/src/fpdftext/fpdf_text_int.cpp View 2 chunks +71 lines, -0 lines 7 comments Download

Messages

Total messages: 11 (0 generated)
Bo Xu
Hi Jeff, I add you as reviewer, not sure if you can review it. Please ...
6 years, 4 months ago (2014-08-17 05:46:40 UTC) #1
jbreiden
This is my first time reviewing PDFium code. But I do have some experience with ...
6 years, 4 months ago (2014-08-18 19:10:50 UTC) #2
Bo Xu
https://codereview.chromium.org/484503002/diff/1/core/src/fpdftext/fpdf_text_int.cpp File core/src/fpdftext/fpdf_text_int.cpp (right): https://codereview.chromium.org/484503002/diff/1/core/src/fpdftext/fpdf_text_int.cpp#newcode1699 core/src/fpdftext/fpdf_text_int.cpp:1699: if ((wstrItem.IsEmpty() || wChar == 0) && item.m_CharCode) { ...
6 years, 4 months ago (2014-08-19 03:31:50 UTC) #3
Bo Xu
On 2014/08/19 03:31:50, Bo Xu wrote: > https://codereview.chromium.org/484503002/diff/1/core/src/fpdftext/fpdf_text_int.cpp > File core/src/fpdftext/fpdf_text_int.cpp (right): > > https://codereview.chromium.org/484503002/diff/1/core/src/fpdftext/fpdf_text_int.cpp#newcode1699 ...
6 years, 4 months ago (2014-08-20 17:08:05 UTC) #4
jbreiden
I did generate this PDF file, and have 100% control. I am looking at it ...
6 years, 4 months ago (2014-08-20 19:04:27 UTC) #5
jbreiden
I will have a new, simpler PDF file tomorrow. Recommend waiting. Thank you for your ...
6 years, 4 months ago (2014-08-21 01:18:39 UTC) #6
Bo Xu
On 2014/08/21 01:18:39, jbreiden wrote: > I will have a new, simpler PDF file tomorrow. ...
6 years, 4 months ago (2014-08-21 07:04:07 UTC) #7
jbreiden
The CQ bit was checked by jbreiden@google.com
6 years, 4 months ago (2014-08-22 16:42:14 UTC) #8
jbreiden
The CQ bit was unchecked by jbreiden@google.com
6 years, 4 months ago (2014-08-22 16:42:15 UTC) #9
jbreiden
lgtm Giving an LGTM because I have no further comments. Please use your best judgement ...
6 years, 4 months ago (2014-08-22 16:58:45 UTC) #10
Bo Xu
6 years, 3 months ago (2014-09-11 21:28:35 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as 56ef173 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698