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

Issue 2113563003: Implement CGdiPrinterDriver::DrawDeviceText(). (Closed)

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

Description

Implement CGdiPrinterDriver::DrawDeviceText(). This is sufficient to print text with GDI for PDFs generated by Chromium and cannot print any arbitrary PDF. Text that cannot be printed will be drawn as glyphs as before. BUG=409472 Committed: https://pdfium.googlesource.com/pdfium/+/fdb35ffb8d4bd283dd8f5905936f5c400fea3394

Patch Set 1 #

Patch Set 2 : override #

Patch Set 3 : comments #

Total comments: 7

Patch Set 4 : Experimental public APIs #

Patch Set 5 : rebase #

Patch Set 6 : Generalize transforms #

Patch Set 7 : Detect font mismatches, clean up code #

Patch Set 8 : Self review #

Total comments: 2

Patch Set 9 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+220 lines, -8 lines) Patch
M core/fxge/include/fx_ge_win32.h View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M core/fxge/win32/fx_win32_print.cpp View 1 2 3 4 5 6 7 2 chunks +164 lines, -8 lines 0 comments Download
M core/fxge/win32/win32_int.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M fpdfsdk/fpdfview.cpp View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M public/fpdfview.h View 1 2 3 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (12 generated)
Lei Zhang
I hope eventually we'll move to a world with DirectWrite and XPS output, but in ...
4 years, 5 months ago (2016-06-30 07:54:09 UTC) #2
dsinclair
https://codereview.chromium.org/2113563003/diff/40001/core/fxge/win32/fx_win32_print.cpp File core/fxge/win32/fx_win32_print.cpp (right): https://codereview.chromium.org/2113563003/diff/40001/core/fxge/win32/fx_win32_print.cpp#newcode22 core/fxge/win32/fx_win32_print.cpp:22: bool g_pdfium_print_text_with_gdi = false; On 2016/06/30 07:54:08, Lei Zhang ...
4 years, 5 months ago (2016-06-30 13:31:57 UTC) #5
Lei Zhang
https://codereview.chromium.org/2113563003/diff/40001/core/fxge/win32/fx_win32_print.cpp File core/fxge/win32/fx_win32_print.cpp (right): https://codereview.chromium.org/2113563003/diff/40001/core/fxge/win32/fx_win32_print.cpp#newcode22 core/fxge/win32/fx_win32_print.cpp:22: bool g_pdfium_print_text_with_gdi = false; On 2016/06/30 13:31:57, dsinclair wrote: ...
4 years, 5 months ago (2016-06-30 22:20:09 UTC) #6
dsinclair
lgtm
4 years, 5 months ago (2016-07-06 17:21:34 UTC) #7
Lei Zhang
Reminder to self from bungeman: Test and see how this handles web fonts.
4 years, 5 months ago (2016-07-07 19:01:49 UTC) #8
Lei Zhang
On 2016/07/07 19:01:49, Lei Zhang wrote: > Reminder to self from bungeman: Test and see ...
4 years, 5 months ago (2016-07-08 00:21:50 UTC) #9
bungeman-skia
On 2016/07/08 00:21:50, Lei Zhang wrote: > On 2016/07/07 19:01:49, Lei Zhang wrote: > > ...
4 years, 5 months ago (2016-07-08 19:08:35 UTC) #10
Lei Zhang
On 2016/07/08 19:08:35, bungeman-skia wrote: > On 2016/07/08 00:21:50, Lei Zhang wrote: > > On ...
4 years, 5 months ago (2016-07-08 19:15:46 UTC) #11
Lei Zhang
bungeman: PTAL I fixed transforms. Previously, I didn't realize xform.eM21 needed to be negative GetC(), ...
4 years, 5 months ago (2016-07-11 17:32:15 UTC) #12
Lei Zhang
Given all the recent GDI fuss, +kulshin@ for this PDFium CL. See my initial comment ...
4 years, 5 months ago (2016-07-12 21:41:43 UTC) #13
Ilya Kulshin
We're generally trying to move away from GDI. Admittedly I don't know nearly as much ...
4 years, 5 months ago (2016-07-12 23:05:11 UTC) #15
Lei Zhang
On 2016/07/12 23:05:11, Ilya Kulshin wrote: > We're generally trying to move away from GDI. ...
4 years, 5 months ago (2016-07-12 23:18:07 UTC) #17
Ilya Kulshin
On 2016/07/12 23:18:07, Lei Zhang wrote: > On 2016/07/12 23:05:11, Ilya Kulshin wrote: > > ...
4 years, 5 months ago (2016-07-12 23:40:32 UTC) #18
Ilya Kulshin
https://codereview.chromium.org/2113563003/diff/140001/core/fxge/win32/fx_win32_print.cpp File core/fxge/win32/fx_win32_print.cpp (right): https://codereview.chromium.org/2113563003/diff/140001/core/fxge/win32/fx_win32_print.cpp#newcode217 core/fxge/win32/fx_win32_print.cpp:217: // assume the printing is happening on the machine ...
4 years, 5 months ago (2016-07-12 23:40:56 UTC) #19
Lei Zhang
https://codereview.chromium.org/2113563003/diff/140001/core/fxge/win32/fx_win32_print.cpp File core/fxge/win32/fx_win32_print.cpp (right): https://codereview.chromium.org/2113563003/diff/140001/core/fxge/win32/fx_win32_print.cpp#newcode217 core/fxge/win32/fx_win32_print.cpp:217: // assume the printing is happening on the machine ...
4 years, 5 months ago (2016-07-13 00:01:05 UTC) #20
Lei Zhang
bungeman: Can you take another look?
4 years, 5 months ago (2016-07-15 00:06:14 UTC) #21
bungeman-skia
On 2016/07/15 00:06:14, Lei Zhang wrote: > bungeman: Can you take another look? Still have ...
4 years, 5 months ago (2016-07-15 14:30:02 UTC) #22
Lei Zhang
On 2016/07/15 14:30:02, bungeman-skia wrote: > On 2016/07/15 00:06:14, Lei Zhang wrote: > > bungeman: ...
4 years, 5 months ago (2016-07-15 18:05:07 UTC) #23
bungeman-skia
On 2016/07/15 18:05:07, Lei Zhang wrote: > On 2016/07/15 14:30:02, bungeman-skia wrote: > > On ...
4 years, 5 months ago (2016-07-15 20:03:20 UTC) #24
Lei Zhang
On 2016/07/15 20:03:20, bungeman-skia wrote: > On 2016/07/15 18:05:07, Lei Zhang wrote: > > On ...
4 years, 5 months ago (2016-07-15 20:42:06 UTC) #25
bungeman-skia
On 2016/07/15 20:42:06, Lei Zhang wrote: > On 2016/07/15 20:03:20, bungeman-skia wrote: > > On ...
4 years, 5 months ago (2016-07-15 20:44:56 UTC) #26
Lei Zhang
On 2016/07/15 20:44:56, bungeman-skia wrote: > As a note (and you may or may not ...
4 years, 5 months ago (2016-07-15 20:48:19 UTC) #27
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/2113563003/160001
4 years, 5 months ago (2016-07-18 20:45:30 UTC) #34
commit-bot: I haz the power
4 years, 5 months ago (2016-07-18 20:45:48 UTC) #36
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://pdfium.googlesource.com/pdfium/+/fdb35ffb8d4bd283dd8f5905936f5c400fea...

Powered by Google App Engine
This is Rietveld 408576698