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

Issue 1982263004: Don't use LCD antialiasing if Fontconfig doesn't support hinting (Closed)

Created:
4 years, 7 months ago by Tom (Use chromium acct)
Modified:
4 years, 7 months ago
Reviewers:
Lei Zhang
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Don't use LCD antialiasing if Fontconfig doesn't support hinting Some Freetype implementations (like the one packaged with Fedora) do not support hinting due to patents 6219025, 6239783, 6307566, 6225973, 6243070, 6393145, 6421054, 6282327, and 6624828; the latest one expires 10/7/19. This makes LCD antialiasing very ugly, so we instead fall back on NORMAL antialiasing. A before/after on Fedora: https://bugs.chromium.org/p/chromium/issues/detail?id=479400#c31 BUG=479400 Committed: https://pdfium.googlesource.com/pdfium/+/992def065be348d6f8157fab75aee312f5f45558

Patch Set 1 #

Total comments: 4

Patch Set 2 : Initialize m_FTLibrarySupportsHinting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -2 lines) Patch
M core/fxge/ge/fx_ge_fontmap.cpp View 1 2 chunks +5 lines, -1 line 0 comments Download
M core/fxge/ge/fx_ge_text.cpp View 1 chunk +8 lines, -1 line 0 comments Download
M core/fxge/include/fx_font.h View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (12 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1982263004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1982263004/1
4 years, 7 months ago (2016-05-17 18:12:27 UTC) #2
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. CQ run can only be started ...
4 years, 7 months ago (2016-05-17 18:12:29 UTC) #4
Tom (Use chromium acct)
4 years, 7 months ago (2016-05-17 18:19:31 UTC) #8
Lei Zhang
https://codereview.chromium.org/1982263004/diff/1/core/fxge/ge/fx_ge_fontmap.cpp File core/fxge/ge/fx_ge_fontmap.cpp (right): https://codereview.chromium.org/1982263004/diff/1/core/fxge/ge/fx_ge_fontmap.cpp#newcode457 core/fxge/ge/fx_ge_fontmap.cpp:457: CFX_FontMgr::CFX_FontMgr() : m_FTLibrary(nullptr) { Can you initialize |m_FTLibrarySupportsHinting| to ...
4 years, 7 months ago (2016-05-17 18:30:54 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1982263004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1982263004/1
4 years, 7 months ago (2016-05-17 18:31:03 UTC) #11
Lei Zhang
Bots look happy so far, so lgtm.
4 years, 7 months ago (2016-05-17 18:37:37 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-17 18:49:15 UTC) #14
Tom (Use chromium acct)
https://codereview.chromium.org/1982263004/diff/1/core/fxge/ge/fx_ge_fontmap.cpp File core/fxge/ge/fx_ge_fontmap.cpp (right): https://codereview.chromium.org/1982263004/diff/1/core/fxge/ge/fx_ge_fontmap.cpp#newcode457 core/fxge/ge/fx_ge_fontmap.cpp:457: CFX_FontMgr::CFX_FontMgr() : m_FTLibrary(nullptr) { On 2016/05/17 18:30:54, Lei Zhang ...
4 years, 7 months ago (2016-05-17 19:06:37 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1982263004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1982263004/20001
4 years, 7 months ago (2016-05-17 19:07:36 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-17 19:27:27 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1982263004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1982263004/20001
4 years, 7 months ago (2016-05-17 19:29:57 UTC) #22
commit-bot: I haz the power
4 years, 7 months ago (2016-05-17 19:30:10 UTC) #24
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/992def065be348d6f8157fab75aee312f5f4...

Powered by Google App Engine
This is Rietveld 408576698