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

Issue 2197553002: Fix CGdiPrinterDriver::DrawDeviceText() to draw multiple characters. (Closed)

Created:
4 years, 4 months ago by Lei Zhang
Modified:
4 years, 4 months ago
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium@master
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Fix CGdiPrinterDriver::DrawDeviceText() to draw multiple characters. Previously, Skia generated PDFs would only output one character at a time, but now they output whole strings. Handle this case. BUG=409472 Committed: https://pdfium.googlesource.com/pdfium/+/2ba53c176df1bc5bb963901e7cc42c6a60af24eb

Patch Set 1 #

Total comments: 3

Patch Set 2 : rebase #

Patch Set 3 : Fix kerning #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -9 lines) Patch
M core/fxge/win32/fx_win32_print.cpp View 1 2 5 chunks +22 lines, -9 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
Lei Zhang
4 years, 4 months ago (2016-07-29 09:23:06 UTC) #4
bungeman-skia
I think Hal or Cary would probably be better to take a look at this.
4 years, 4 months ago (2016-07-29 14:16:23 UTC) #8
hal.canary
https://codereview.chromium.org/2197553002/diff/1/core/fxge/win32/fx_win32_print.cpp File core/fxge/win32/fx_win32_print.cpp (right): https://codereview.chromium.org/2197553002/diff/1/core/fxge/win32/fx_win32_print.cpp#newcode295 core/fxge/win32/fx_win32_print.cpp:295: ASSERT(charpos.m_OriginY == 0); why is this true?
4 years, 4 months ago (2016-07-29 15:26:21 UTC) #9
Lei Zhang
https://codereview.chromium.org/2197553002/diff/1/core/fxge/win32/fx_win32_print.cpp File core/fxge/win32/fx_win32_print.cpp (right): https://codereview.chromium.org/2197553002/diff/1/core/fxge/win32/fx_win32_print.cpp#newcode295 core/fxge/win32/fx_win32_print.cpp:295: ASSERT(charpos.m_OriginY == 0); On 2016/07/29 15:26:21, Hal Canary wrote: ...
4 years, 4 months ago (2016-07-29 15:55:52 UTC) #10
hal.canary
vertical text maybe?
4 years, 4 months ago (2016-07-29 16:42:46 UTC) #11
Lei Zhang
On 2016/07/29 16:42:46, Hal Canary wrote: > vertical text maybe? Oh, I have been testing ...
4 years, 4 months ago (2016-07-29 19:26:31 UTC) #12
hal.canary
On 2016/07/29 19:26:31, Lei Zhang wrote: > On 2016/07/29 16:42:46, Hal Canary wrote: > > ...
4 years, 4 months ago (2016-07-29 19:28:17 UTC) #13
Lei Zhang
On 2016/07/29 19:28:17, Hal Canary wrote: > I don't test vertical test well enough inside ...
4 years, 4 months ago (2016-07-29 21:16:44 UTC) #14
Lei Zhang
Printing page 12 of [2] (which has the table of vertical text) via print preview ...
4 years, 4 months ago (2016-07-29 22:42:08 UTC) #15
caryclark
I'm away on vacation. I'll be back August 8th.
4 years, 4 months ago (2016-07-30 12:44:12 UTC) #16
Lei Zhang
On 2016/07/29 19:28:17, Hal Canary wrote: > On 2016/07/29 19:26:31, Lei Zhang wrote: > > ...
4 years, 4 months ago (2016-08-04 01:36:09 UTC) #17
Lei Zhang
This is ready for another look.
4 years, 4 months ago (2016-08-15 05:48:58 UTC) #22
caryclark
lgtm
4 years, 4 months ago (2016-08-15 17:45:56 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2197553002/40001
4 years, 4 months ago (2016-08-15 17:46:58 UTC) #25
commit-bot: I haz the power
4 years, 4 months ago (2016-08-15 18:27:52 UTC) #27
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://pdfium.googlesource.com/pdfium/+/2ba53c176df1bc5bb963901e7cc42c6a60af...

Powered by Google App Engine
This is Rietveld 408576698