Home
last modified time | relevance | path

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

12

/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/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
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/
Dcffdrivr.c331 if ( cff && cff->font_info == NULL ) in cff_ps_get_font_info()
334 PS_FontInfoRec *font_info = NULL; in cff_ps_get_font_info() local
338 if ( FT_ALLOC( font_info, sizeof ( *font_info ) ) ) in cff_ps_get_font_info()
341 font_info->version = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
343 font_info->notice = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
345 font_info->full_name = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
347 font_info->family_name = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
349 font_info->weight = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
351 font_info->italic_angle = dict->italic_angle; in cff_ps_get_font_info()
352 font_info->is_fixed_pitch = dict->is_fixed_pitch; in cff_ps_get_font_info()
[all …]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/
Dt1driver.c139 *afont_info = ((T1_Face)face)->type1.font_info; in t1_ps_get_font_info()
502 retval = sizeof ( type1->font_info.is_fixed_pitch ); in t1_ps_get_font_value()
504 *((FT_Bool *)value) = type1->font_info.is_fixed_pitch; in t1_ps_get_font_value()
508 retval = sizeof ( type1->font_info.underline_position ); in t1_ps_get_font_value()
510 *((FT_Short *)value) = type1->font_info.underline_position; in t1_ps_get_font_value()
514 retval = sizeof ( type1->font_info.underline_thickness ); in t1_ps_get_font_value()
516 *((FT_UShort *)value) = type1->font_info.underline_thickness; in t1_ps_get_font_value()
526 retval = (FT_Long)( ft_strlen( type1->font_info.version ) + 1 ); in t1_ps_get_font_value()
528 ft_memcpy( value, (void *)( type1->font_info.version ), retval ); in t1_ps_get_font_value()
532 retval = (FT_Long)( ft_strlen( type1->font_info.notice ) + 1 ); in t1_ps_get_font_value()
[all …]
Dt1objs.c232 PS_FontInfo info = &type1->font_info; in T1_Face_Done()
311 PS_FontInfo info = &type1->font_info; in T1_Face_Init()
/external/freetype/src/cff/
Dcffdrivr.c332 if ( cff && cff->font_info == NULL ) in cff_ps_get_font_info()
335 PS_FontInfoRec *font_info = NULL; in cff_ps_get_font_info() local
339 if ( FT_ALLOC( font_info, sizeof ( *font_info ) ) ) in cff_ps_get_font_info()
342 font_info->version = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
344 font_info->notice = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
346 font_info->full_name = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
348 font_info->family_name = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
350 font_info->weight = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
352 font_info->italic_angle = dict->italic_angle; in cff_ps_get_font_info()
353 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
/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/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cid/
Dcidobjs.c206 info = &cid->font_info; in cid_face_done()
351 PS_FontInfo info = &cid->font_info; in cid_face_init()
Dcidriver.c75 *afont_info = ((CID_Face)face)->cid.font_info; in cid_ps_get_font_info()
/external/pdfium/core/include/thirdparties/freetype/freetype/internal/
Dt1types.h95 PS_FontInfoRec font_info; /* font info dictionary */ member
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/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/freetype/include/internal/
Dt1types.h95 PS_FontInfoRec font_info; /* font info dictionary */ member

12