HomeSort by relevance Sort by last modified time
    Searched refs:font_name (Results 1 - 25 of 42) sorted by null

1 2

  /external/chromium_org/third_party/sfntly/cpp/src/sample/chromium/
font_subsetter.h 35 // |font_name| Font name, required for TTC files. If specified NULL,
43 static int SubsetFont(const char* font_name,
font_subsetter.cc 21 int SfntlyWrapper::SubsetFont(const char* font_name,
34 if (!subsetter.LoadFont(font_name, original_font, font_size)) {
subsetter_impl.h 57 bool LoadFont(const char* font_name,
  /external/chromium_org/ui/gfx/
platform_font_ozone.cc 20 PlatformFont* PlatformFont::CreateFromNameAndSize(const std::string& font_name,
platform_font_ios.h 16 PlatformFontIOS(const std::string& font_name,
33 PlatformFontIOS(const std::string& font_name, int font_size, int style);
37 void InitWithNameSizeAndStyle(const std::string& font_name,
platform_font_android.cc 24 PlatformFont* PlatformFont::CreateFromNameAndSize(const std::string& font_name,
platform_font_mac.h 18 PlatformFontMac(const std::string& font_name,
35 PlatformFontMac(const std::string& font_name, int font_size, int font_style);
platform_font_win.h 21 PlatformFontWin(const std::string& font_name, int font_size);
99 const std::string& font_name() const { return font_name_; } function in class:gfx::PlatformFontWin::HFontRef
136 void InitWithFontNameAndSize(const std::string& font_name,
platform_font.h 25 // Creates a PlatformFont implementation with the specified |font_name|
27 static PlatformFont* CreateFromNameAndSize(const std::string& font_name,
font_fallback_win.cc 84 std::string font_name; local
87 base::WideToUTF8(values[i]), &filename, &font_name); local
90 if (!font_name.empty()) {
91 AppendFont(font_name, font.GetFontSize(), linked_fonts);
137 const std::string& font_name = font.GetFontName(); local
139 cached_linked_fonts_.find(font_name);
143 cached_linked_fonts_[font_name] = std::vector<Font>();
144 std::vector<Font>* linked_fonts = &cached_linked_fonts_[font_name];
175 std::string* font_name) {
179 font_name->clear()
    [all...]
font.cc 33 Font::Font(const std::string& font_name, int font_size)
34 : platform_font_(PlatformFont::CreateFromNameAndSize(font_name,
font.h 56 Font(const std::string& font_name, int font_size);
font_fallback_win.h 22 // Sets |filename| and |font_name| respectively. If a field is not present
26 std::string* font_name);
platform_font_win.cc 94 PlatformFontWin::PlatformFontWin(const std::string& font_name,
96 InitWithFontNameAndSize(font_name, font_size);
166 return font_ref_->font_name();
170 // With the current implementation on Windows, HFontRef::font_name() returns
173 return font_ref_->font_name();
216 void PlatformFontWin::InitWithFontNameAndSize(const std::string& font_name,
224 base::UTF8ToUTF16(font_name).c_str());
381 PlatformFont* PlatformFont::CreateFromNameAndSize(const std::string& font_name,
383 return new PlatformFontWin(font_name, font_size);
platform_font_pango.h 26 PlatformFontPango(const std::string& font_name, int font_size_pixels);
platform_font_pango.cc 122 PlatformFontPango::PlatformFontPango(const std::string& font_name,
125 query.families.push_back(font_name);
128 InitFromDetails(skia::RefPtr<SkTypeface>(), font_name, font_size_pixels, local
341 PlatformFont* PlatformFont::CreateFromNameAndSize(const std::string& font_name,
343 return new PlatformFontPango(font_name, font_size);
render_text_mac.h 59 std::string font_name; member in struct:gfx::RenderTextMac::TextRun
  /external/chromium_org/content/common/
font_cache_dispatcher_win.cc 44 base::string16 font_name = font.lfFaceName; local
49 font_name);
52 dispatcher_font_map_[dispatcher].push_back(font_name);
57 if (cache_[font_name].ref_count_ == 0) { // Requested font is new to cache.
58 cache_[font_name].ref_count_ = 1;
60 SelectObject(cache_[font_name].dc_, cache_[font_name].old_font_);
61 DeleteObject(cache_[font_name].font_);
62 ReleaseDC(NULL, cache_[font_name].dc_);
64 cache_[font_name].font_ = font_handle
    [all...]
  /external/chromium_org/content/common/mac/
font_descriptor.h 28 base::string16 font_name; member in struct:FontDescriptor
  /external/chromium_org/third_party/sfntly/cpp/src/test/autogenerated/
cmap_basic_test.cc 62 std::string font_name = "../../"; local
64 font_name += "../";
66 font_name += std::string(GetParam());
67 LoadFont(font_name.c_str(), font_factory, &font_array);
73 fprintf(stderr, "No CMap: %s\n", font_name.c_str());
77 document_ = TiXmlDocument((font_name + ".xml").c_str());
  /external/chromium_org/chrome/browser/extensions/api/font_settings/
font_settings_api.cc 71 std::string MaybeGetLocalizedFontName(const std::string& font_name) {
73 if (!font_name.empty()) {
74 gfx::Font font(font_name, 12); // dummy font size
79 return font_name;
162 std::string font_name; local
163 if (!pref->GetValue()->GetAsString(&font_name)) {
167 font_name = MaybeGetLocalizedFontName(font_name);
172 dict->SetString(kFontIdKey, font_name);
257 std::string font_name; local
336 base::DictionaryValue* font_name = new base::DictionaryValue(); local
    [all...]
  /external/chromium_org/content/browser/renderer_host/pepper/
pepper_browser_font_singleton_host.cc 79 std::string font_name; local
80 if (!cur_font->GetString(0, &font_name))
86 output.append(font_name);
  /external/chromium_org/third_party/sfntly/cpp/src/test/
cmap_test.cc 44 CMapTestCase(const char* font_name,
53 : font_name_(font_name),
64 const char* font_name() const { return font_name_; } function in class:sfntly::CMapTestCase
106 << test_case->font_name() << ", "
171 LoadFont(GetParam().font_name(), font_factory, &font_array);
180 LoadFont(GetParam().font_name(), font_factory, &font_array);
187 LoadFontUsingByteVector(GetParam().font_name(), true, &font_array);
  /external/chromium_org/ui/base/l10n/
l10n_util_win.cc 49 bool IsFontPresent(const wchar_t* font_name) {
51 font_name);
64 return wcscmp(font_name, actual_font_name) == 0;
  /external/chromium_org/content/renderer/
renderer_font_platform_win.cc 122 WCHAR font_name[256]; local
123 path.value().copy(font_name, arraysize(font_name));
124 base::debug::Alias(font_name);

Completed in 739 milliseconds

1 2