/external/chromium_org/ui/gfx/ |
font_fallback_win_unittest.cc | 61 std::vector<std::string> font_names; local 63 internal::ParseFontFamilyString("Times New Roman (TrueType)", &font_names); 64 ASSERT_EQ(1U, font_names.size()); 65 EXPECT_EQ("Times New Roman", font_names[0]); 66 font_names.clear(); 69 &font_names); 70 ASSERT_EQ(2U, font_names.size()); 71 EXPECT_EQ("Cambria", font_names[0]); 72 EXPECT_EQ("Cambria Math", font_names[1]); 73 font_names.clear() [all...] |
font_list.cc | 16 // Parses font description into |font_names|, |font_style| and |font_size|. 18 std::vector<std::string>* font_names, 21 base::SplitString(font_description_string, ',', font_names); 22 DCHECK_GT(font_names->size(), 1U); 26 base::SplitString(font_names->back(), ' ', &styles_size); 30 font_names->pop_back(); 60 // Returns font description from |font_names|, |font_style|, and |font_size|. 61 std::string BuildFontDescription(const std::vector<std::string>& font_names, 64 std::string description = JoinString(font_names, ','); 92 FontList::FontList(const std::vector<std::string>& font_names, 158 std::vector<std::string> font_names; local 229 std::vector<std::string> font_names; local 267 std::vector<std::string> font_names; local [all...] |
font_fallback_win.cc | 32 // Fills |font_names| with a list of font families found in the font file at 37 std::vector<std::string>* font_names) { 46 internal::ParseFontFamilyString(it->second, font_names); 88 std::vector<std::string> font_names; local 89 GetFontNamesFromFilename(filename, font_map, &font_names); 90 for (size_t i = 0; i < font_names.size(); ++i) 91 AppendFont(font_names[i], font.GetFontSize(), linked_fonts); 171 std::vector<std::string>* font_names) { 176 base::SplitString(family, '&', font_names); 177 if (!font_names->empty()) [all...] |
font_fallback_win.h | 30 std::vector<std::string>* font_names);
|
font_list.h | 45 FontList(const std::vector<std::string>& font_names,
|
font_list_unittest.cc | 42 std::vector<std::string> font_names; local 43 font_names.push_back("Arial"); 44 font_names.push_back("Droid Sans serif"); 47 FontList font_list = FontList(font_names, font_style, font_size);
|
/external/chromium/chrome/browser/ui/webui/options/ |
font_settings_utils_win.cc | 17 std::set<std::wstring>* font_names = local 19 if (font_names) { 23 font_names->insert(face_name); 30 std::set<std::wstring> font_names; local 38 (LPARAM)&font_names, 0); 43 for (iter = font_names.begin(); iter != font_names.end(); iter++) {
|
/external/chromium_org/content/common/ |
font_list_win.cc | 20 std::set<string16>* font_names = local 22 if (font_names) { 26 font_names->insert(face_name); 33 std::set<string16> font_names; local 41 (LPARAM)&font_names, 0); 46 for (iter = font_names.begin(); iter != font_names.end(); ++iter) {
|