Index: ui/gfx/font_fallback_win.h |
diff --git a/ui/gfx/font_fallback_win.h b/ui/gfx/font_fallback_win.h |
index ee675714e7f735eb86999d3ba2f3b1b2d6c0ad19..a866a01a69b0b10c6ce75b4c986484bc7b7e2380 100644 |
--- a/ui/gfx/font_fallback_win.h |
+++ b/ui/gfx/font_fallback_win.h |
@@ -9,6 +9,7 @@ |
#include <vector> |
#include "ui/gfx/font.h" |
+#include "ui/gfx/font_fallback.h" |
namespace gfx { |
@@ -29,8 +30,6 @@ void GFX_EXPORT ParseFontLinkEntry(const std::string& entry, |
void GFX_EXPORT ParseFontFamilyString(const std::string& family, |
std::vector<std::string>* font_names); |
-} // namespace internal |
- |
// Iterator over linked fallback fonts for a given font. The linked font chain |
// comes from the Windows registry, but gets cached between uses. |
class GFX_EXPORT LinkedFontsIterator { |
@@ -77,6 +76,17 @@ class GFX_EXPORT LinkedFontsIterator { |
DISALLOW_COPY_AND_ASSIGN(LinkedFontsIterator); |
}; |
+} // namespace internal |
+ |
+// Finds a fallback font to use to render the specified |text| with respect to |
msw
2014/07/12 17:41:11
nit: remove "to use", "to render" is sufficient
ckocagil
2014/07/12 19:53:26
Done.
|
+// an initial |font|. Returns the resulting font via out param |result|. Returns |
+// |true| if a fallback font was found. |
+bool GetUniscribeFallbackFont(HDC hdc, |
+ const Font& font, |
+ const wchar_t* text, |
+ int text_length, |
+ Font* result); |
+ |
} // namespace gfx |
#endif // UI_GFX_FONT_FALLBACK_WIN_H_ |