Searched refs:font_names (Results 1 – 8 of 8) sorted by relevance
/external/chromium_org/ui/gfx/ |
D | font_fallback_win_unittest.cc | 61 std::vector<std::string> font_names; in TEST() local 63 internal::ParseFontFamilyString("Times New Roman (TrueType)", &font_names); in TEST() 64 ASSERT_EQ(1U, font_names.size()); in TEST() 65 EXPECT_EQ("Times New Roman", font_names[0]); in TEST() 66 font_names.clear(); in TEST() 69 &font_names); in TEST() 70 ASSERT_EQ(2U, font_names.size()); in TEST() 71 EXPECT_EQ("Cambria", font_names[0]); in TEST() 72 EXPECT_EQ("Cambria Math", font_names[1]); in TEST() 73 font_names.clear(); in TEST() [all …]
|
D | font_list.cc | 23 std::vector<std::string>* font_names, in ParseFontDescriptionString() argument 26 base::SplitString(font_description_string, ',', font_names); in ParseFontDescriptionString() 27 DCHECK_GT(font_names->size(), 1U); in ParseFontDescriptionString() 31 base::SplitString(font_names->back(), ' ', &styles_size); in ParseFontDescriptionString() 35 font_names->pop_back(); in ParseFontDescriptionString() 66 std::string BuildFontDescription(const std::vector<std::string>& font_names, in BuildFontDescription() argument 69 std::string description = JoinString(font_names, ','); in BuildFontDescription() 104 FontList::FontList(const std::vector<std::string>& font_names, in FontList() argument 107 : font_description_string_(BuildFontDescription(font_names, font_style, in FontList() 113 DCHECK(!font_names.empty()); in FontList() [all …]
|
D | font_fallback_win.cc | 37 std::vector<std::string>* font_names) { in GetFontNamesFromFilename() argument 46 internal::ParseFontFamilyString(it->second, font_names); in GetFontNamesFromFilename() 88 std::vector<std::string> font_names; in QueryLinkedFontsFromRegistry() local 89 GetFontNamesFromFilename(filename, font_map, &font_names); in QueryLinkedFontsFromRegistry() 90 for (size_t i = 0; i < font_names.size(); ++i) in QueryLinkedFontsFromRegistry() 91 AppendFont(font_names[i], font.GetFontSize(), linked_fonts); in QueryLinkedFontsFromRegistry() 171 std::vector<std::string>* font_names) { in ParseFontFamilyString() argument 176 base::SplitString(family, '&', font_names); in ParseFontFamilyString() 177 if (!font_names->empty()) { in ParseFontFamilyString() 178 const size_t index = font_names->back().find('('); in ParseFontFamilyString() [all …]
|
D | font_list_unittest.cc | 43 std::vector<std::string> font_names; in TEST() local 44 font_names.push_back("Arial"); in TEST() 45 font_names.push_back("Droid Sans serif"); in TEST() 48 FontList font_list = FontList(font_names, font_style, font_size); in TEST()
|
D | font_fallback_win.h | 30 std::vector<std::string>* font_names);
|
D | font_list.h | 45 FontList(const std::vector<std::string>& font_names,
|
/external/chromium/chrome/browser/ui/webui/options/ |
D | font_settings_utils_win.cc | 17 std::set<std::wstring>* font_names = in EnumFontFamExProc() local 19 if (font_names) { in EnumFontFamExProc() 23 font_names->insert(face_name); in EnumFontFamExProc() 30 std::set<std::wstring> font_names; in GetFontsList() local 38 (LPARAM)&font_names, 0); in GetFontsList() 43 for (iter = font_names.begin(); iter != font_names.end(); iter++) { in GetFontsList()
|
/external/chromium_org/content/common/ |
D | font_list_win.cc | 20 std::set<base::string16>* font_names = in EnumFontFamExProc() local 22 if (font_names) { in EnumFontFamExProc() 26 font_names->insert(face_name); in EnumFontFamExProc() 33 std::set<base::string16> font_names; in GetFontList_SlowBlocking() local 41 (LPARAM)&font_names, 0); in GetFontList_SlowBlocking() 46 for (iter = font_names.begin(); iter != font_names.end(); ++iter) { in GetFontList_SlowBlocking()
|