Index: ui/gfx/font_fallback_win.h |
diff --git a/ui/gfx/font_fallback_win.h b/ui/gfx/font_fallback_win.h |
index b9d8339e2148b6d0775e00cfb5b2be308c0c5b9c..7b5dec9e1d50ad24149e3545ca7a71410ce928bb 100644 |
--- a/ui/gfx/font_fallback_win.h |
+++ b/ui/gfx/font_fallback_win.h |
@@ -81,6 +81,14 @@ |
} // namespace internal |
+// Finds a fallback font to render the specified |text| with respect to an |
+// initial |font|. Returns the resulting font via out param |result|. Returns |
+// |true| if a fallback font was found. |
+bool GFX_EXPORT GetFallbackFont(const Font& font, |
+ const wchar_t* text, |
+ int text_length, |
+ Font* result); |
+ |
} // namespace gfx |
#endif // UI_GFX_FONT_FALLBACK_WIN_H_ |