|
Add Pepper TrueType font API call to enumerate fonts in a given family.
Adds a new function, GetFontsInFamily, to the PPB_TrueTypeFont_Dev interface.
This method returns an array of descriptors for every font in the given family
on the host platform.
Tests are currently disabled for Windows and Mac, since I got failures on XP and OSX 10.6 when landing them originally. I will re-enable them in follow on patches, which will be easier to land / revert if necessary. The tests pass locally for me on all platforms.
BUG= 79375, 230130
TEST=browser_tests, gtest_filter="PPAPIOutOfProcessTest.TrueTypeFont"
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195082
Total comments: 14
Total comments: 2
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+536 lines, -68 lines) |
Patch |
 |
M |
content/browser/renderer_host/pepper/pepper_truetype_font_list.h
|
View
|
1
2
3
4
5
|
2 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/pepper/pepper_truetype_font_list_android.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/pepper/pepper_truetype_font_list_host.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/pepper/pepper_truetype_font_list_host.cc
|
View
|
|
3 chunks |
+23 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/pepper/pepper_truetype_font_list_linux.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+40 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/pepper/pepper_truetype_font_list_mac.mm
|
View
|
1
2
|
2 chunks |
+59 lines, -0 lines |
2 comments
|
Download
|
 |
M |
content/browser/renderer_host/pepper/pepper_truetype_font_list_win.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+47 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_truetype_font_mac.mm
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+15 lines, -16 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_truetype_font_win.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/api/dev/ppb_truetype_font_dev.idl
|
View
|
1
2
3
4
5
6
7
8
|
9 chunks |
+38 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_truetype_font_dev.h
|
View
|
1
2
3
4
5
6
7
8
|
9 chunks |
+32 lines, -10 lines |
0 comments
|
Download
|
 |
M |
ppapi/cpp/dev/truetype_font_dev.h
|
View
|
1
2
3
4
5
6
7
|
8 chunks |
+73 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ppapi/cpp/dev/truetype_font_dev.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+22 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppapi_messages.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/truetype_font_resource.cc
|
View
|
1
2
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/proxy/truetype_font_singleton_resource.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/proxy/truetype_font_singleton_resource.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+53 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/tests/test_truetype_font.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/tests/test_truetype_font.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+62 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/thunk/ppb_truetype_font_dev_thunk.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+17 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/thunk/ppb_truetype_font_singleton_api.h
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
Total messages: 23 (0 generated)
|