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

Unified Diff: ui/gfx/font_fallback_win.h

Issue 2950013002: Revert of Use CTFontCreateForString for RenderTextHarfbuzz on Mac (Closed)
Patch Set: Created 3 years, 6 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 | « ui/gfx/font_fallback_mac_unittest.cc ('k') | ui/gfx/font_fallback_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « ui/gfx/font_fallback_mac_unittest.cc ('k') | ui/gfx/font_fallback_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698