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

Unified Diff: third_party/WebKit/Source/platform/fonts/opentype/OpenTypeSanitizer.cpp

Issue 1911123002: Pass through 'sbix' table Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add a layout test with a test sbix font Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/third_party/FruityGirl/README.chromium ('k') | third_party/ots/src/ots.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/fonts/opentype/OpenTypeSanitizer.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/opentype/OpenTypeSanitizer.cpp b/third_party/WebKit/Source/platform/fonts/opentype/OpenTypeSanitizer.cpp
index f281fc1859d5afbc56d224387cfa1eddd4c02338..f327ddbff2a5fba97bb7f6e07b852dc28c8f4d72 100644
--- a/third_party/WebKit/Source/platform/fonts/opentype/OpenTypeSanitizer.cpp
+++ b/third_party/WebKit/Source/platform/fonts/opentype/OpenTypeSanitizer.cpp
@@ -153,6 +153,7 @@ ots::TableAction BlinkOTSContext::GetTableAction(uint32_t tag)
const uint32_t gposTag = OTS_TAG('G', 'P', 'O', 'S');
const uint32_t gsubTag = OTS_TAG('G', 'S', 'U', 'B');
#endif
+ const uint32_t sbixTag = OTS_TAG('s', 'b', 'i', 'x');
switch (tag) {
// Google Color Emoji Tables
@@ -167,6 +168,7 @@ ots::TableAction BlinkOTSContext::GetTableAction(uint32_t tag)
case gposTag:
case gsubTag:
#endif
+ case sbixTag:
return ots::TABLE_ACTION_PASSTHRU;
default:
return ots::TABLE_ACTION_DEFAULT;
« no previous file with comments | « third_party/WebKit/LayoutTests/third_party/FruityGirl/README.chromium ('k') | third_party/ots/src/ots.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698