Home
last modified time | relevance | path

Searched refs:font_id (Results 1 – 22 of 22) sorted by relevance

/external/chromium_org/ppapi/thunk/
Dppb_browser_font_trusted_thunk.cc36 PP_Bool Describe(PP_Resource font_id, in Describe() argument
39 EnterBrowserFont enter(font_id, true); in Describe()
44 PP_Bool DrawTextAt(PP_Resource font_id, in DrawTextAt() argument
51 EnterBrowserFont enter(font_id, true); in DrawTextAt()
58 int32_t MeasureText(PP_Resource font_id, in MeasureText() argument
60 EnterBrowserFont enter(font_id, true); in MeasureText()
64 uint32_t CharacterOffsetForPixel(PP_Resource font_id, in CharacterOffsetForPixel() argument
67 EnterBrowserFont enter(font_id, true); in CharacterOffsetForPixel()
73 int32_t PixelOffsetForCharacter(PP_Resource font_id, in PixelOffsetForCharacter() argument
76 EnterBrowserFont enter(font_id, true); in PixelOffsetForCharacter()
/external/chromium_org/third_party/sfntly/cpp/src/sample/subtly/
Dfont_info.h40 GlyphId(int32_t glyph_id, FontId font_id);
48 FontId font_id() const { return font_id_; } in font_id() function
49 void set_font_id(const FontId font_id) { font_id_ = font_id; } in set_font_id() argument
77 virtual sfntly::FontDataTable* GetTable(FontId font_id, int32_t tag);
104 FontSourcedInfoBuilder(sfntly::Font* font, FontId font_id);
106 FontId font_id,
Dfont_info.cc41 GlyphId::GlyphId(int32_t glyph_id, FontId font_id) in GlyphId() argument
43 font_id_(font_id) { in GlyphId()
79 FontDataTable* FontInfo::GetTable(FontId font_id, int32_t tag) { in GetTable() argument
82 FontIdMap::iterator it = fonts_->find(font_id); in GetTable()
88 const TableMap* FontInfo::GetTableMap(FontId font_id) { in GetTableMap() argument
91 FontIdMap::iterator it = fonts_->find(font_id); in GetTableMap()
112 FontSourcedInfoBuilder::FontSourcedInfoBuilder(Font* font, FontId font_id) in FontSourcedInfoBuilder() argument
114 font_id_(font_id), in FontSourcedInfoBuilder()
120 FontId font_id, in FontSourcedInfoBuilder() argument
123 font_id_(font_id), in FontSourcedInfoBuilder()
Dfont_assembler.cc185 int32_t font_id = it->font_id(); in AssembleGlyphAndLocaTables() local
189 (font_info_->GetTable(font_id, Tag::loca)); in AssembleGlyphAndLocaTables()
196 (font_info_->GetTable(font_id, Tag::glyf)); in AssembleGlyphAndLocaTables()
/external/sfntly/cpp/src/sample/subtly/
Dfont_info.h40 GlyphId(int32_t glyph_id, FontId font_id);
48 FontId font_id() const { return font_id_; } in font_id() function
49 void set_font_id(const FontId font_id) { font_id_ = font_id; } in set_font_id() argument
77 virtual sfntly::FontDataTable* GetTable(FontId font_id, int32_t tag);
104 FontSourcedInfoBuilder(sfntly::Font* font, FontId font_id);
106 FontId font_id,
Dfont_info.cc41 GlyphId::GlyphId(int32_t glyph_id, FontId font_id) in GlyphId() argument
43 font_id_(font_id) { in GlyphId()
79 FontDataTable* FontInfo::GetTable(FontId font_id, int32_t tag) { in GetTable() argument
82 FontIdMap::iterator it = fonts_->find(font_id); in GetTable()
88 const TableMap* FontInfo::GetTableMap(FontId font_id) { in GetTableMap() argument
91 FontIdMap::iterator it = fonts_->find(font_id); in GetTableMap()
112 FontSourcedInfoBuilder::FontSourcedInfoBuilder(Font* font, FontId font_id) in FontSourcedInfoBuilder() argument
114 font_id_(font_id), in FontSourcedInfoBuilder()
120 FontId font_id, in FontSourcedInfoBuilder() argument
123 font_id_(font_id), in FontSourcedInfoBuilder()
Dfont_assembler.cc185 int32_t font_id = it->font_id(); in AssembleGlyphAndLocaTables() local
189 (font_info_->GetTable(font_id, Tag::loca)); in AssembleGlyphAndLocaTables()
196 (font_info_->GetTable(font_id, Tag::glyf)); in AssembleGlyphAndLocaTables()
/external/chromium_org/content/common/mac/
Dfont_loader.mm80 uint32 font_id = font_ids.size() + 1;
81 font_ids[font_path] = font_id;
82 return font_id;
94 result->font_id = 0;
152 result->font_id = GetFontIDForFont(font_path);
Dfont_loader.h35 uint32 font_id; member
/external/freetype/src/pfr/
Dpfrload.c457 if ( phy_font->font_id != NULL ) in pfr_extra_item_load_font_id()
460 if ( FT_ALLOC( phy_font->font_id, len + 1 ) ) in pfr_extra_item_load_font_id()
464 FT_MEM_COPY( phy_font->font_id, p, len ); in pfr_extra_item_load_font_id()
465 phy_font->font_id[len] = 0; in pfr_extra_item_load_font_id()
671 FT_FREE( phy_font->font_id ); in pfr_phy_font_done()
/external/chromium_org/third_party/freetype/src/pfr/
Dpfrload.c457 if ( phy_font->font_id != NULL ) in pfr_extra_item_load_font_id()
460 if ( FT_ALLOC( phy_font->font_id, len + 1 ) ) in pfr_extra_item_load_font_id()
464 FT_MEM_COPY( phy_font->font_id, p, len ); in pfr_extra_item_load_font_id()
465 phy_font->font_id[len] = 0; in pfr_extra_item_load_font_id()
671 FT_FREE( phy_font->font_id ); in pfr_phy_font_done()
/external/chromium_org/content/renderer/
Drenderer_webkitplatformsupport_impl.cc204 uint32* font_id);
549 NSFont* src_font, CGFontRef* out, uint32* font_id) { in loadFont() argument
554 src_font_descriptor, &font_data_size, &font_data, font_id))) { in loadFont()
556 *font_id = 0; in loadFont()
561 *font_id == 0) { in loadFont()
565 *font_id = 0; in loadFont()
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/internal/
Dt1types.h121 FT_Long font_id; member
/external/pdfium/core/include/thirdparties/freetype/freetype/internal/
Dt1types.h121 FT_Long font_id; member
/external/chromium_org/third_party/freetype/include/freetype/internal/
Dt1types.h121 FT_Long font_id; member
/external/freetype/include/internal/
Dt1types.h121 FT_Long font_id; member
/external/chromium_org/content/ppapi_plugin/
Dppapi_webkitplatformsupport_impl.cc90 uint32_t* font_id) { in loadFont() argument
/external/chromium_org/content/common/
Dsandbox_mac_fontloading_unittest.mm116 EXPECT_GT(result.font_id, 0U);
/external/chromium_org/content/browser/renderer_host/
Drender_message_filter.cc677 if (result->font_data_size == 0 || result->font_id == 0) { in SendLoadFontReply()
679 result->font_id = 0; in SendLoadFontReply()
685 reply, result->font_data_size, handle, result->font_id); in SendLoadFontReply()
/external/pdfium/core/src/fpdfapi/fpdf_font/
Dfpdf_font.cpp398 int font_id = _PDF_GetStandardFontName(fontname); in GetStockFont() local
399 if (font_id < 0) { in GetStockFont()
403 CPDF_Font* pFont = pFontGlobals->Find(pDoc, font_id); in GetStockFont()
413 pFontGlobals->Set(pDoc, font_id, pFont); in GetStockFont()
/external/chromium_org/chrome/browser/extensions/api/font_settings/
Dfont_settings_api.cc297 new base::StringValue(params->details.font_id)); in RunSync()
/external/chromium_org/pdf/pdfium/
Dpdfium_engine.cc260 unsigned long GetFontData(struct _FPDF_SYSFONTINFO*, void* font_id, in GetFontData() argument
269 long res_id = reinterpret_cast<long>(font_id); in GetFontData()
275 void DeleteFont(struct _FPDF_SYSFONTINFO*, void* font_id) { in DeleteFont() argument
276 long res_id = reinterpret_cast<long>(font_id); in DeleteFont()