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

Unified Diff: ui/gfx/font_fallback.h

Issue 331713003: RenderTextHarfBuzz: Implement font fallback for Win and Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments addressed 6 Created 6 years, 5 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 | « no previous file | ui/gfx/font_fallback_linux.cc » ('j') | ui/gfx/render_text_win.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/font_fallback.h
diff --git a/ui/gfx/font_fallback.h b/ui/gfx/font_fallback.h
new file mode 100644
index 0000000000000000000000000000000000000000..78f39373bff261130c195500dcb09938904f9e2a
--- /dev/null
+++ b/ui/gfx/font_fallback.h
@@ -0,0 +1,20 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_GFX_FONT_FALLBACK_H_
+#define UI_GFX_FONT_FALLBACK_H_
+
+#include <string>
+#include <vector>
+
+namespace gfx {
+
+// Given a font family name, returns the names of font families that are
+// suitable for fallback.
+std::vector<std::string> GetFallbackFontFamilies(
+ const std::string& font_family);
+
+} // namespace gfx
+
+#endif // UI_GFX_FONT_FALLBACK_H_
« no previous file with comments | « no previous file | ui/gfx/font_fallback_linux.cc » ('j') | ui/gfx/render_text_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698