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

Unified Diff: include/ports/SkRemotableFontMgr.h

Issue 673443003: Update fontMgr to take list of bcp47 language tags. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 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
Index: include/ports/SkRemotableFontMgr.h
diff --git a/include/ports/SkRemotableFontMgr.h b/include/ports/SkRemotableFontMgr.h
index bf2459955f5ce27d8bdaf25a2e2eb3cbde2baef1..6437de4bd1ec322e6b6fb0a7f28adf046361f3d9 100644
--- a/include/ports/SkRemotableFontMgr.h
+++ b/include/ports/SkRemotableFontMgr.h
@@ -135,7 +135,8 @@ public:
* so it is fine to just pass a ISO 639 here.
*/
virtual SkFontIdentity matchNameStyleCharacter(const char familyName[], const SkFontStyle&,
- const char bpc47[], SkUnichar character) const=0;
+ const char** bcp47, size_t bcpLength,
+ SkUnichar character) const=0;
/**
* Returns the data for the given data id.

Powered by Google App Engine
This is Rietveld 408576698