Home
last modified time | relevance | path

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

/external/chromium_org/ui/gfx/
Dplatform_font_win.cc57 void SetLogFontStyle(int font_style, LOGFONT* font_info) { in SetLogFontStyle() argument
58 font_info->lfUnderline = (font_style & gfx::Font::UNDERLINE) != 0; in SetLogFontStyle()
59 font_info->lfItalic = (font_style & gfx::Font::ITALIC) != 0; in SetLogFontStyle()
60 font_info->lfWeight = (font_style & gfx::Font::BOLD) ? FW_BOLD : FW_NORMAL; in SetLogFontStyle()
113 LOGFONT font_info; in DeriveFontWithHeight() local
114 GetObject(GetNativeFont(), sizeof(LOGFONT), &font_info); in DeriveFontWithHeight()
115 font_info.lfHeight = height; in DeriveFontWithHeight()
116 SetLogFontStyle(style, &font_info); in DeriveFontWithHeight()
118 HFONT hfont = CreateFontIndirect(&font_info); in DeriveFontWithHeight()
126 LOGFONT font_info; in DeriveFont() local
[all …]
/external/chromium_org/third_party/sfntly/cpp/src/sample/subtly/
Dmerger.cc58 Ptr<FontInfo> font_info = new FontInfo; in MergeFontInfos() local
59 font_info->set_fonts(&fonts_); in MergeFontInfos()
73 font_info->chars_to_glyph_ids()->insert( in MergeFontInfos()
76 font_info->resolved_glyph_ids()->insert( in MergeFontInfos()
81 font_info->chars_to_glyph_ids()->size(), in MergeFontInfos()
82 font_info->resolved_glyph_ids()->size()); in MergeFontInfos()
85 return font_info.Detach(); in MergeFontInfos()
Dsubsetter.cc49 Ptr<FontInfo> font_info; in Subset() local
50 font_info.Attach(info_builder->GetFontInfo()); in Subset()
51 if (!font_info) { in Subset()
60 Ptr<FontAssembler> font_assembler = new FontAssembler(font_info, in Subset()
Dfont_info.cc160 Ptr<FontInfo> font_info = new FontInfo; in GetFontInfo() local
161 font_info->set_chars_to_glyph_ids(chars_to_glyph_ids); in GetFontInfo()
162 font_info->set_resolved_glyph_ids(resolved_glyph_ids); in GetFontInfo()
165 font_info->set_fonts(font_id_map); in GetFontInfo()
169 return font_info.Detach(); in GetFontInfo()
Dfont_assembler.h41 FontAssembler(FontInfo* font_info, sfntly::IntegerSet* table_blacklist);
42 explicit FontAssembler(FontInfo* font_info);
Dfont_assembler.cc38 FontAssembler::FontAssembler(FontInfo* font_info, in FontAssembler() argument
41 font_info_ = font_info; in FontAssembler()
45 FontAssembler::FontAssembler(FontInfo* font_info) in FontAssembler() argument
47 font_info_ = font_info; in FontAssembler()
/external/sfntly/cpp/src/sample/subtly/
Dmerger.cc58 Ptr<FontInfo> font_info = new FontInfo; in MergeFontInfos() local
59 font_info->set_fonts(&fonts_); in MergeFontInfos()
73 font_info->chars_to_glyph_ids()->insert( in MergeFontInfos()
76 font_info->resolved_glyph_ids()->insert( in MergeFontInfos()
81 font_info->chars_to_glyph_ids()->size(), in MergeFontInfos()
82 font_info->resolved_glyph_ids()->size()); in MergeFontInfos()
85 return font_info.Detach(); in MergeFontInfos()
Dsubsetter.cc49 Ptr<FontInfo> font_info; in Subset() local
50 font_info.Attach(info_builder->GetFontInfo()); in Subset()
51 if (!font_info) { in Subset()
60 Ptr<FontAssembler> font_assembler = new FontAssembler(font_info, in Subset()
Dfont_info.cc160 Ptr<FontInfo> font_info = new FontInfo; in GetFontInfo() local
161 font_info->set_chars_to_glyph_ids(chars_to_glyph_ids); in GetFontInfo()
162 font_info->set_resolved_glyph_ids(resolved_glyph_ids); in GetFontInfo()
165 font_info->set_fonts(font_id_map); in GetFontInfo()
169 return font_info.Detach(); in GetFontInfo()
Dfont_assembler.h41 FontAssembler(FontInfo* font_info, sfntly::IntegerSet* table_blacklist);
42 explicit FontAssembler(FontInfo* font_info);
Dfont_assembler.cc38 FontAssembler::FontAssembler(FontInfo* font_info, in FontAssembler() argument
41 font_info_ = font_info; in FontAssembler()
45 FontAssembler::FontAssembler(FontInfo* font_info) in FontAssembler() argument
47 font_info_ = font_info; in FontAssembler()
/external/freetype/src/cff/
Dcffdrivr.c330 if ( cff && cff->font_info == NULL ) in cff_ps_get_font_info()
333 PS_FontInfoRec *font_info = NULL; in cff_ps_get_font_info() local
337 if ( FT_ALLOC( font_info, sizeof ( *font_info ) ) ) in cff_ps_get_font_info()
340 font_info->version = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
342 font_info->notice = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
344 font_info->full_name = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
346 font_info->family_name = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
348 font_info->weight = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
350 font_info->italic_angle = dict->italic_angle; in cff_ps_get_font_info()
351 font_info->is_fixed_pitch = dict->is_fixed_pitch; in cff_ps_get_font_info()
[all …]
Dcfftypes.h267 PS_FontInfoRec* font_info; /* font info dictionary */ member
Dcffload.c1681 FT_FREE( font->font_info ); in cff_font_done()
/external/chromium_org/third_party/freetype/src/cff/
Dcffdrivr.c330 if ( cff && cff->font_info == NULL ) in cff_ps_get_font_info()
333 PS_FontInfoRec *font_info = NULL; in cff_ps_get_font_info() local
337 if ( FT_ALLOC( font_info, sizeof ( *font_info ) ) ) in cff_ps_get_font_info()
340 font_info->version = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
342 font_info->notice = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
344 font_info->full_name = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
346 font_info->family_name = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
348 font_info->weight = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
350 font_info->italic_angle = dict->italic_angle; in cff_ps_get_font_info()
351 font_info->is_fixed_pitch = dict->is_fixed_pitch; in cff_ps_get_font_info()
[all …]
Dcfftypes.h267 PS_FontInfoRec* font_info; /* font info dictionary */ member
Dcffload.c1681 FT_FREE( font->font_info ); in cff_font_done()
/external/chromium_org/content/browser/renderer_host/pepper/
Dpepper_truetype_font_list_mac.mm55 for (NSArray* font_info in ns_fonts_in_family) {
58 NSInteger font_weight = [[font_info objectAtIndex:2] intValue];
64 [[font_info objectAtIndex:3] unsignedIntValue];
/external/freetype/include/freetype/internal/
Dt1types.h95 PS_FontInfoRec font_info; /* font info dictionary */ member
/external/chromium_org/third_party/freetype/include/freetype/internal/
Dt1types.h95 PS_FontInfoRec font_info; /* font info dictionary */ member
/external/chromium_org/third_party/freetype/include/freetype/
Dt1tables.h361 PS_FontInfoRec font_info; member
/external/freetype/include/freetype/
Dt1tables.h361 PS_FontInfoRec font_info; member