OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_GFX_TEST_FONTCONFIG_UTIL_LINUX_H_ | 5 #ifndef UI_GFX_TEST_FONTCONFIG_UTIL_LINUX_H_ |
6 #define UI_GFX_TEST_FONTCONFIG_UTIL_LINUX_H_ | 6 #define UI_GFX_TEST_FONTCONFIG_UTIL_LINUX_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 std::string CreateFontconfigEditStanza(const std::string& name, | 47 std::string CreateFontconfigEditStanza(const std::string& name, |
48 const std::string& type, | 48 const std::string& type, |
49 const std::string& value); | 49 const std::string& value); |
50 | 50 |
51 // Returns a Fontconfig <test> stanza. | 51 // Returns a Fontconfig <test> stanza. |
52 std::string CreateFontconfigTestStanza(const std::string& name, | 52 std::string CreateFontconfigTestStanza(const std::string& name, |
53 const std::string& op, | 53 const std::string& op, |
54 const std::string& type, | 54 const std::string& type, |
55 const std::string& value); | 55 const std::string& value); |
56 | 56 |
| 57 // Returns a Fontconfig <alias> stanza. |
| 58 std::string CreateFontconfigAliasStanza(const std::string& original_family, |
| 59 const std::string& preferred_family); |
| 60 |
57 } // namespace gfx | 61 } // namespace gfx |
58 | 62 |
59 #endif // UI_GFX_TEST_FONTCONFIG_UTIL_LINUX_H_ | 63 #endif // UI_GFX_TEST_FONTCONFIG_UTIL_LINUX_H_ |
OLD | NEW |