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

Issue 2347313002: Remove duplicated charset definitions (Closed)

Created:
4 years, 3 months ago by npm
Modified:
4 years, 3 months ago
Reviewers:
dsinclair, Wei Li
CC:
pdfium-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Remove duplicated charset definitions, and move them to fx_font.h PWL_FontMap does not need its own charset definitions. fx_edit.h does not need to define DEFAULT_CHARSET. XFA have their own definitions. They look different in that most are MAC or MSWin charset definitions. So they are left untouched. public/fpdf_sysfontinfo.h duplicate ones were left untouched due to being in public folder. Committed: https://pdfium.googlesource.com/pdfium/+/ea3c3be83dae12ef682c68fc7cf906d790fd9f84

Patch Set 1 #

Total comments: 8

Patch Set 2 : Nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -146 lines) Patch
M core/fpdfapi/fpdf_parser/cpdf_document.cpp View 4 chunks +10 lines, -10 lines 0 comments Download
M core/fpdfdoc/cpdf_interform.cpp View 2 chunks +21 lines, -21 lines 0 comments Download
M core/fxge/android/fpf_skiafontmgr.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M core/fxge/apple/fx_mac_imp.cpp View 1 chunk +1 line, -1 line 0 comments Download
M core/fxge/ge/cfx_folderfontinfo.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M core/fxge/ge/cfx_fontmapper.cpp View 1 chunk +1 line, -1 line 0 comments Download
M core/fxge/ge/fx_ge_linux.cpp View 1 chunk +1 line, -1 line 0 comments Download
M core/fxge/include/fx_font.h View 2 chunks +21 lines, -12 lines 0 comments Download
M core/fxge/win32/fx_win32_device.cpp View 4 chunks +13 lines, -13 lines 0 comments Download
M fpdfsdk/cfx_systemhandler.cpp View 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/formfiller/cba_fontmap.cpp View 3 chunks +5 lines, -5 lines 0 comments Download
M fpdfsdk/fxedit/fxet_edit.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M fpdfsdk/fxedit/include/fx_edit.h View 1 chunk +0 lines, -4 lines 0 comments Download
M fpdfsdk/pdfwindow/PWL_Edit.cpp View 1 3 chunks +4 lines, -2 lines 0 comments Download
M fpdfsdk/pdfwindow/PWL_EditCtrl.cpp View 1 4 chunks +4 lines, -3 lines 0 comments Download
M fpdfsdk/pdfwindow/PWL_FontMap.h View 4 chunks +3 lines, -24 lines 0 comments Download
M fpdfsdk/pdfwindow/PWL_FontMap.cpp View 9 chunks +48 lines, -42 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
npm
PTAL
4 years, 3 months ago (2016-09-16 22:30:37 UTC) #5
dsinclair
https://codereview.chromium.org/2347313002/diff/1/fpdfsdk/pdfwindow/PWL_Edit.cpp File fpdfsdk/pdfwindow/PWL_Edit.cpp (right): https://codereview.chromium.org/2347313002/diff/1/fpdfsdk/pdfwindow/PWL_Edit.cpp#newcode17 fpdfsdk/pdfwindow/PWL_Edit.cpp:17: #include "core/fxge/include/cfx_renderdevice.h" This should have core/fxge/include/fx_font.h so DEFAULT_FONT is ...
4 years, 3 months ago (2016-09-19 13:04:54 UTC) #8
npm
PTAL https://codereview.chromium.org/2347313002/diff/1/fpdfsdk/pdfwindow/PWL_Edit.cpp File fpdfsdk/pdfwindow/PWL_Edit.cpp (right): https://codereview.chromium.org/2347313002/diff/1/fpdfsdk/pdfwindow/PWL_Edit.cpp#newcode17 fpdfsdk/pdfwindow/PWL_Edit.cpp:17: #include "core/fxge/include/cfx_renderdevice.h" On 2016/09/19 13:04:53, dsinclair wrote: > ...
4 years, 3 months ago (2016-09-19 14:08:32 UTC) #9
dsinclair
lgtm
4 years, 3 months ago (2016-09-19 14:11:12 UTC) #11
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/2347313002/20001
4 years, 3 months ago (2016-09-19 14:11:17 UTC) #12
commit-bot: I haz the power
4 years, 3 months ago (2016-09-19 14:24:36 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/ea3c3be83dae12ef682c68fc7cf906d790fd...

Powered by Google App Engine
This is Rietveld 408576698