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

1 2

  /external/chromium_org/content/browser/renderer_host/pepper/
pepper_truetype_font_host.cc 32 font_ = PepperTrueTypeFont::Create();
34 // using |font_|.
42 base::Bind(&PepperTrueTypeFont::Initialize, font_, actual_desc),
49 if (font_.get()) {
52 font_->AddRef();
53 PepperTrueTypeFont* raw_font = font_.get();
54 font_ = NULL;
76 if (!font_.get())
84 base::Bind(&PepperTrueTypeFont::GetTableTags, font_, tags),
97 if (!font_.get()
    [all...]
pepper_truetype_font_win.cc 46 base::win::ScopedHFONT font_; member in class:content::__anon11985::PepperTrueTypeFontWin
79 font_.Set(CreateFont(0 /* height */,
93 if (!font_.Get())
97 if (!::GetObject(font_.Get(), sizeof(LOGFONT), &font_desc))
128 base::win::ScopedSelectObject select_object(hdc.Get(), font_.Get());
138 if (!font_.Get())
145 base::win::ScopedSelectObject select_object(hdc.Get(), font_.Get());
184 if (!font_.Get())
191 base::win::ScopedSelectObject select_object(hdc.Get(), font_.Get());
pepper_truetype_font_host.h 59 scoped_refptr<PepperTrueTypeFont> font_; member in class:content::PepperTrueTypeFontHost
  /external/chromium_org/third_party/sfntly/cpp/src/sample/subtly/
subsetter.cc 36 : font_(font),
42 font_.Attach(LoadFont(font_path));
47 new FontSourcedInfoBuilder(font_, 0, predicate_);
subsetter.h 36 sfntly::Ptr<sfntly::Font> font_; member in class:subtly::Subsetter
font_info.cc 113 : font_(font),
122 : font_(font),
129 Ptr<CMapTable> cmap_table = down_cast<CMapTable*>(font_->GetTable(Tag::cmap));
136 loca_table_ = down_cast<LocaTable*>(font_->GetTable(Tag::loca));
137 glyph_table_ = down_cast<GlyphTable*>(font_->GetTable(Tag::glyf));
164 font_id_map->insert(std::make_pair(font_id_, font_));
font_info.h 119 sfntly::Ptr<sfntly::Font> font_; member in class:subtly::FontSourcedInfoBuilder
  /external/sfntly/cpp/src/sample/subtly/
subsetter.cc 36 : font_(font),
42 font_.Attach(LoadFont(font_path));
47 new FontSourcedInfoBuilder(font_, 0, predicate_);
subsetter.h 36 sfntly::Ptr<sfntly::Font> font_; member in class:subtly::Subsetter
font_info.cc 113 : font_(font),
122 : font_(font),
129 Ptr<CMapTable> cmap_table = down_cast<CMapTable*>(font_->GetTable(Tag::cmap));
136 loca_table_ = down_cast<LocaTable*>(font_->GetTable(Tag::loca));
137 glyph_table_ = down_cast<GlyphTable*>(font_->GetTable(Tag::glyf));
164 font_id_map->insert(std::make_pair(font_id_, font_));
font_info.h 119 sfntly::Ptr<sfntly::Font> font_; member in class:subtly::FontSourcedInfoBuilder
  /external/chromium_org/third_party/sfntly/cpp/src/sample/chromium/
subsetter_impl.h 69 FontPtr font_; member in class:sfntly::SubsetterImpl
subsetter_impl.cc 630 font_ = FindFont(font_name, font_array);
631 if (font_ == NULL) {
641 if (factory_ == NULL || font_ == NULL) {
647 down_cast<GlyphTable*>(font_->GetTable(Tag::glyf));
648 LocaTablePtr loca_table = down_cast<LocaTable*>(font_->GetTable(Tag::loca));
749 int setup_result = SetupBitmapBuilders(font_, font_builder, glyph_ids);
776 Table* table = font_->GetTable(*i);
  /external/sfntly/cpp/src/sample/chromium/
subsetter_impl.h 69 FontPtr font_; member in class:sfntly::SubsetterImpl
  /external/chromium_org/third_party/sfntly/cpp/src/sfntly/tools/subsetter/
subsetter.cc 27 font_ = font;
36 font_.Release();
59 for (TableMap::const_iterator i = font_->GetTableMap()->begin(),
60 e = font_->GetTableMap()->end(); i != e; ++i) {
74 bool handled = (*table_subsetter)->Subset(this, font_, font_builder);
86 Table* table = font_->GetTable(*tag);
subsetter.h 60 FontPtr font_; member in class:sfntly::Subsetter
  /external/sfntly/cpp/src/sfntly/tools/subsetter/
subsetter.cc 27 font_ = font;
36 font_.Release();
59 for (TableMap::const_iterator i = font_->GetTableMap()->begin(),
60 e = font_->GetTableMap()->end(); i != e; ++i) {
74 bool handled = (*table_subsetter)->Subset(this, font_, font_builder);
86 Table* table = font_->GetTable(*tag);
subsetter.h 60 FontPtr font_; member in class:sfntly::Subsetter
  /external/chromium_org/content/common/
font_cache_dispatcher_win.cc 61 DeleteObject(cache_[font_name].font_);
64 cache_[font_name].font_ = font_handle;
103 : font_(NULL), old_font_(NULL), dc_(NULL), ref_count_(0) {
107 if (font_) {
111 DeleteObject(font_);
118 HFONT font_; member in struct:content::__anon12201::FontCache::CacheElement
  /external/chromium_org/content/child/
browser_font_resource_trusted.cc 255 font_(WebFont::create(PPFontDescToWebFontDesc(desc, prefs))) {
274 WebFontDescription web_desc = font_->fontDescription();
287 metrics->height = font_->height();
288 metrics->ascent = font_->ascent();
289 metrics->descent = font_->descent();
290 metrics->line_spacing = font_->lineSpacing();
291 metrics->x_height = static_cast<int32_t>(font_->xHeight());
334 return font_->calculateWidth(run);
346 int run_width = font_->calculateWidth(run);
349 return static_cast<uint32_t>(font_->offsetForPosition
    [all...]
browser_font_resource_trusted.h 75 scoped_ptr<blink::WebFont> font_; member in class:content::BrowserFontResource_Trusted
  /external/chromium_org/components/dom_distiller/core/
distilled_page_prefs_unittests.cc 19 : font_(DistilledPagePrefs::SANS_SERIF),
24 font_ = new_font;
27 DistilledPagePrefs::FontFamily GetFontFamily() { return font_; }
36 DistilledPagePrefs::FontFamily font_; member in class:dom_distiller::__anon11092::TestingObserver
  /external/chromium_org/ppapi/examples/ime/
ime.cc 137 font_ = pp::Font_Dev(instance_, desc);
149 int left_x = font_.MeasureSimpleText(
151 int right_x = font_.MeasureSimpleText(
159 font_.DrawTextAt(
166 offset += font_.MeasureSimpleText(str);
173 int left_x = font_.MeasureSimpleText(
175 int right_x = font_.MeasureSimpleText(
181 font_.DrawTextAt(
192 int lx = font_.MeasureSimpleText(str.substr(0, l));
193 int rx = font_.MeasureSimpleText(str.substr(0, r))
389 pp::Font_Dev font_; member in class:MyTextField
    [all...]
  /external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/
table.h 96 Ptr<Font> font_; member in class:sfntly::Table
  /external/sfntly/cpp/src/sfntly/table/
table.h 96 Ptr<Font> font_; member in class:sfntly::Table

Completed in 2846 milliseconds

1 2