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

Issue 396143004: Add a working SkFontMgr_fontconfig. (Closed)

Created:
6 years, 5 months ago by bungeman-skia
Modified:
6 years, 3 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 13

Patch Set 2 : Fix FC_POSTSCRIPT_NAME and address comments. #

Patch Set 3 : Fix double free. #

Patch Set 4 : Fix ttc index and descriptor. #

Total comments: 60

Patch Set 5 : Address comments. #

Total comments: 6

Patch Set 6 : Address comments. #

Patch Set 7 : Remove T& operator* from SkAutoTCallVProc. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+823 lines, -7 lines) Patch
M gyp/ports.gyp View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkTemplates.h View 1 2 3 4 5 6 1 chunk +12 lines, -0 lines 0 comments Download
A src/ports/SkFontMgr_fontconfig.cpp View 1 2 3 4 5 1 chunk +809 lines, -0 lines 1 comment Download
M tests/FontHostTest.cpp View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M tests/FontNamesTest.cpp View 2 chunks +1 line, -5 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
bungeman-skia
https://codereview.chromium.org/396143004/diff/1/tests/FontHostTest.cpp File tests/FontHostTest.cpp (left): https://codereview.chromium.org/396143004/diff/1/tests/FontHostTest.cpp#oldcode30 tests/FontHostTest.cpp:30: { kFontTableTag_maxp, 32 }, The 'maxp' table comes in ...
6 years, 5 months ago (2014-07-17 20:38:31 UTC) #1
reed1
api lgtm w/ nit https://codereview.chromium.org/396143004/diff/1/include/core/SkTemplates.h File include/core/SkTemplates.h (right): https://codereview.chromium.org/396143004/diff/1/include/core/SkTemplates.h#newcode90 include/core/SkTemplates.h:90: fObj = obj; nitty nit: ...
6 years, 5 months ago (2014-07-17 20:41:42 UTC) #2
tomhudson
More later... https://codereview.chromium.org/396143004/diff/1/src/ports/SkFontMgr_fontconfig.cpp File src/ports/SkFontMgr_fontconfig.cpp (right): https://codereview.chromium.org/396143004/diff/1/src/ports/SkFontMgr_fontconfig.cpp#newcode29 src/ports/SkFontMgr_fontconfig.cpp:29: * FcConfig is a library state. There ...
6 years, 5 months ago (2014-07-17 21:14:46 UTC) #3
bungeman-skia
https://codereview.chromium.org/396143004/diff/1/include/core/SkTemplates.h File include/core/SkTemplates.h (right): https://codereview.chromium.org/396143004/diff/1/include/core/SkTemplates.h#newcode90 include/core/SkTemplates.h:90: fObj = obj; On 2014/07/17 20:41:42, reed1 wrote: > ...
6 years, 5 months ago (2014-07-17 22:08:27 UTC) #4
mtklein
What's our testing story here? https://codereview.chromium.org/396143004/diff/60001/include/core/SkTemplates.h File include/core/SkTemplates.h (right): https://codereview.chromium.org/396143004/diff/60001/include/core/SkTemplates.h#newcode81 include/core/SkTemplates.h:81: operator T*() const { ...
6 years, 5 months ago (2014-07-22 15:48:45 UTC) #5
bungeman-skia
The story on testing is that this becomes the new font handler for Skia and ...
6 years, 5 months ago (2014-07-22 22:09:59 UTC) #6
mtklein
lgtm https://codereview.chromium.org/396143004/diff/80001/src/ports/SkFontMgr_fontconfig.cpp File src/ports/SkFontMgr_fontconfig.cpp (right): https://codereview.chromium.org/396143004/diff/80001/src/ports/SkFontMgr_fontconfig.cpp#newcode97 src/ports/SkFontMgr_fontconfig.cpp:97: bool fUnlock; Delete? https://codereview.chromium.org/396143004/diff/80001/src/ports/SkFontMgr_fontconfig.cpp#newcode255 src/ports/SkFontMgr_fontconfig.cpp:255: old_max - old_min); ...
6 years, 4 months ago (2014-07-30 19:43:37 UTC) #7
bungeman-skia
https://codereview.chromium.org/396143004/diff/80001/src/ports/SkFontMgr_fontconfig.cpp File src/ports/SkFontMgr_fontconfig.cpp (right): https://codereview.chromium.org/396143004/diff/80001/src/ports/SkFontMgr_fontconfig.cpp#newcode97 src/ports/SkFontMgr_fontconfig.cpp:97: bool fUnlock; On 2014/07/30 19:43:37, mtklein wrote: > Delete? ...
6 years, 4 months ago (2014-08-08 21:45:25 UTC) #8
bungeman-skia
The CQ bit was checked by bungeman@google.com
6 years, 4 months ago (2014-08-25 18:24:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/bungeman@google.com/396143004/100001
6 years, 4 months ago (2014-08-25 18:25:47 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Build-Mac10.8-Clang-x86_64-Release-Trybot on tryserver.skia ...
6 years, 4 months ago (2014-08-25 18:34:59 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-25 18:37:47 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: Build-Mac10.8-Clang-x86_64-Release-Trybot on tryserver.skia (http://108.170.220.76:10117/builders/Build-Mac10.8-Clang-x86_64-Release-Trybot/builds/1292)
6 years, 4 months ago (2014-08-25 18:37:48 UTC) #13
bungeman-skia
The CQ bit was checked by bungeman@google.com
6 years, 4 months ago (2014-08-25 18:52:56 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/bungeman@google.com/396143004/120001
6 years, 4 months ago (2014-08-25 18:53:48 UTC) #15
commit-bot: I haz the power
Committed patchset #7 (120001) as a6785ccb540b1b752ab536cdf579a698eadbf7d2
6 years, 4 months ago (2014-08-25 19:00:53 UTC) #16
djsollen
djsollen@google.com changed reviewers: + djsollen@google.com
6 years, 3 months ago (2014-08-26 13:05:07 UTC) #17
djsollen
6 years, 3 months ago (2014-08-26 13:05:07 UTC) #18
Message was sent while issue was closed.
This is causing the valgrind bot to fail because we are leaking memory.

http://108.170.220.120:10115/builders/Test-Ubuntu12-ShuttleA-GTX550Ti-x86_64-...

https://codereview.chromium.org/396143004/diff/120001/src/ports/SkFontMgr_fon...
File src/ports/SkFontMgr_fontconfig.cpp (right):

https://codereview.chromium.org/396143004/diff/120001/src/ports/SkFontMgr_fon...
src/ports/SkFontMgr_fontconfig.cpp:703: FcFontRenderPrepare(fFC, pattern,
allFonts->fonts[fontIndex]));
Valgrind is picking up a leak here!

Powered by Google App Engine
This is Rietveld 408576698