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

Issue 2239703003: Refactoring cfx_fontmapper (Closed)

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

Description

Clean up cfx_fontmapper a little Added methods to reduce duplicated code Nit fixes Committed: https://pdfium.googlesource.com/pdfium/+/445a94b089c155f79cc8602c724418898dc2a861

Patch Set 1 #

Total comments: 7

Patch Set 2 : Nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -192 lines) Patch
M core/fxge/ge/cfx_fontmapper.cpp View 26 chunks +123 lines, -192 lines 0 comments Download
M core/fxge/include/cfx_fontmapper.h View 1 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
npm
PTAL https://codereview.chromium.org/2239703003/diff/1/core/fxge/ge/cfx_fontmapper.cpp File core/fxge/ge/cfx_fontmapper.cpp (left): https://codereview.chromium.org/2239703003/diff/1/core/fxge/ge/cfx_fontmapper.cpp#oldcode490 core/fxge/ge/cfx_fontmapper.cpp:490: family = g_Base14FontNames[iBaseFont]; If the if loop is ...
4 years, 4 months ago (2016-08-11 17:06:22 UTC) #3
dsinclair
lgtm w/ nit. https://codereview.chromium.org/2239703003/diff/1/core/fxge/ge/cfx_fontmapper.cpp File core/fxge/ge/cfx_fontmapper.cpp (right): https://codereview.chromium.org/2239703003/diff/1/core/fxge/ge/cfx_fontmapper.cpp#newcode631 core/fxge/ge/cfx_fontmapper.cpp:631: void* hFont = m_pFontInfo->MapFont(weight, bItalic, Charset, ...
4 years, 4 months ago (2016-08-11 19:09:12 UTC) #4
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/2239703003/20001
4 years, 4 months ago (2016-08-11 19:17:32 UTC) #7
npm
https://codereview.chromium.org/2239703003/diff/1/core/fxge/ge/cfx_fontmapper.cpp File core/fxge/ge/cfx_fontmapper.cpp (right): https://codereview.chromium.org/2239703003/diff/1/core/fxge/ge/cfx_fontmapper.cpp#newcode631 core/fxge/ge/cfx_fontmapper.cpp:631: void* hFont = m_pFontInfo->MapFont(weight, bItalic, Charset, PitchFamily, On 2016/08/11 ...
4 years, 4 months ago (2016-08-11 19:24:11 UTC) #8
commit-bot: I haz the power
4 years, 4 months ago (2016-08-11 19:32:30 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/445a94b089c155f79cc8602c724418898dc2...

Powered by Google App Engine
This is Rietveld 408576698