Home
last modified time | relevance | path

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

12

/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/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/type1/
Dt1driver.c139 *afont_info = ((T1_Face)face)->type1.font_info; in t1_ps_get_font_info()
504 retval = sizeof ( type1->font_info.is_fixed_pitch ); in t1_ps_get_font_value()
506 *((FT_Bool *)value) = type1->font_info.is_fixed_pitch; in t1_ps_get_font_value()
510 retval = sizeof ( type1->font_info.underline_position ); in t1_ps_get_font_value()
512 *((FT_Short *)value) = type1->font_info.underline_position; in t1_ps_get_font_value()
516 retval = sizeof ( type1->font_info.underline_thickness ); in t1_ps_get_font_value()
518 *((FT_UShort *)value) = type1->font_info.underline_thickness; in t1_ps_get_font_value()
528 retval = ft_strlen( type1->font_info.version ) + 1; in t1_ps_get_font_value()
530 ft_memcpy( value, (void *)( type1->font_info.version ), retval ); in t1_ps_get_font_value()
534 retval = 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/pdfium/third_party/freetype/src/type1/
Dt1driver.c139 *afont_info = ((T1_Face)face)->type1.font_info; in t1_ps_get_font_info()
504 retval = sizeof ( type1->font_info.is_fixed_pitch ); in t1_ps_get_font_value()
506 *((FT_Bool *)value) = type1->font_info.is_fixed_pitch; in t1_ps_get_font_value()
510 retval = sizeof ( type1->font_info.underline_position ); in t1_ps_get_font_value()
512 *((FT_Short *)value) = type1->font_info.underline_position; in t1_ps_get_font_value()
516 retval = sizeof ( type1->font_info.underline_thickness ); in t1_ps_get_font_value()
518 *((FT_UShort *)value) = type1->font_info.underline_thickness; in t1_ps_get_font_value()
528 retval = ft_strlen( type1->font_info.version ) + 1; in t1_ps_get_font_value()
530 ft_memcpy( value, (void *)( type1->font_info.version ), retval ); in t1_ps_get_font_value()
534 retval = 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/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/cff/
Dcffdrivr.c386 if ( cff && cff->font_info == NULL ) in cff_ps_get_font_info()
389 PS_FontInfoRec *font_info = NULL; in cff_ps_get_font_info() local
393 if ( FT_ALLOC( font_info, sizeof ( *font_info ) ) ) in cff_ps_get_font_info()
396 font_info->version = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
398 font_info->notice = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
400 font_info->full_name = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
402 font_info->family_name = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
404 font_info->weight = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
406 font_info->italic_angle = dict->italic_angle; in cff_ps_get_font_info()
407 font_info->is_fixed_pitch = dict->is_fixed_pitch; in cff_ps_get_font_info()
[all …]
/external/pdfium/third_party/freetype/src/cff/
Dcffdrivr.c386 if ( cff && cff->font_info == NULL ) in cff_ps_get_font_info()
389 PS_FontInfoRec *font_info = NULL; in cff_ps_get_font_info() local
393 if ( FT_ALLOC( font_info, sizeof ( *font_info ) ) ) in cff_ps_get_font_info()
396 font_info->version = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
398 font_info->notice = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
400 font_info->full_name = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
402 font_info->family_name = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
404 font_info->weight = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
406 font_info->italic_angle = dict->italic_angle; in cff_ps_get_font_info()
407 font_info->is_fixed_pitch = dict->is_fixed_pitch; in cff_ps_get_font_info()
[all …]
/external/ImageMagick/MagickCore/
Dwidget.c76 #define MaxTextWidth ((unsigned int) (255*XTextWidth(font_info,"_",1)))
77 #define MinTextWidth (26*XTextWidth(font_info,"_",1))
78 #define QuantumMargin MagickMax(font_info->max_bounds.width,12)
79 #define WidgetTextWidth(font_info,text) \ argument
80 ((unsigned int) XTextWidth(font_info,text,Extent(text)))
326 *font_info; in XDrawBeveledButton() local
358 font_info=window_info->font_info; in XDrawBeveledButton()
359 width=WidgetTextWidth(font_info,button_info->text); in XDrawBeveledButton()
364 (font_info->ascent+font_info->descent)) >> 1)+font_info->ascent; in XDrawBeveledButton()
522 *font_info; in XDrawMatteText() local
[all …]
Dxwindow-private.h176 *font_info; member
354 *font_info; member
452 *font_info; member
Dxwindow.c388 if (windows->font_info != (XFontStruct *) NULL) in DestroyXResources()
390 XFreeFont(windows->display,windows->font_info); in DestroyXResources()
391 windows->font_info=(XFontStruct *) NULL; in DestroyXResources()
524 context_values.font=annotate_info->font_info->fid; in XAnnotateImage()
533 (int) annotate_info->font_info->ascent,annotate_info->text, in XAnnotateImage()
822 *font_info; in XBestFont() local
824 font_info=(XFontStruct *) NULL; in XBestFont()
844 if (font_info == (XFontStruct *) NULL) in XBestFont()
845 font_info=XLoadQueryFont(display,fontlist[i]); in XBestFont()
850 if (font_info == (XFontStruct *) NULL) in XBestFont()
[all …]
Danimate.c1373 *font_info; in XAnimateImages() local
1466 if (windows->font_info != (XFontStruct *) NULL) in XAnimateImages()
1467 (void) XFreeFont(display,windows->font_info); in XAnimateImages()
1468 windows->font_info=XBestFont(display,resource_info,MagickFalse); in XAnimateImages()
1469 if (windows->font_info == (XFontStruct *) NULL) in XAnimateImages()
1481 font_info=windows->font_info; in XAnimateImages()
1566 XGetWindowInfo(display,visual_info,map_info,pixel,font_info, in XAnimateImages()
1580 context_values.font=font_info->fid; in XAnimateImages()
1646 XGetWindowInfo(display,visual_info,map_info,pixel,font_info, in XAnimateImages()
1695 XGetWindowInfo(display,visual_info,map_info,pixel,font_info, in XAnimateImages()
[all …]
Ddisplay.c1899 *font_info; in XAnnotateEditImage() local
1987 font_info=XLoadQueryFont(display,resource_info->font_name[ in XAnnotateEditImage()
1989 if (font_info == (XFontStruct *) NULL) in XAnnotateEditImage()
1996 (void) XFreeFont(display,font_info); in XAnnotateEditImage()
2239 font_info=XLoadQueryFont(display,resource_info->font_name[font_id]); in XAnnotateEditImage()
2240 if (font_info == (XFontStruct *) NULL) in XAnnotateEditImage()
2244 font_info=windows->font_info; in XAnnotateEditImage()
2246 if ((x+font_info->max_bounds.width) >= (int) windows->image.width) in XAnnotateEditImage()
2247 x=(int) windows->image.width-font_info->max_bounds.width; in XAnnotateEditImage()
2248 if (y < (int) (font_info->ascent+font_info->descent)) in XAnnotateEditImage()
[all …]
/external/freetype/src/cff/
Dcffdrivr.c386 if ( cff && cff->font_info == NULL ) in cff_ps_get_font_info()
389 PS_FontInfoRec *font_info = NULL; in cff_ps_get_font_info() local
393 if ( FT_ALLOC( font_info, sizeof ( *font_info ) ) ) in cff_ps_get_font_info()
396 font_info->version = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
398 font_info->notice = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
400 font_info->full_name = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
402 font_info->family_name = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
404 font_info->weight = cff_index_get_sid_string( cff, in cff_ps_get_font_info()
406 font_info->italic_angle = dict->italic_angle; in cff_ps_get_font_info()
407 font_info->is_fixed_pitch = dict->is_fixed_pitch; in cff_ps_get_font_info()
[all …]
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/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/third_party/freetype/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/freetype/include/freetype/internal/
Dt1types.h96 PS_FontInfoRec font_info; /* font info dictionary */ member
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/include/freetype/internal/
Dt1types.h95 PS_FontInfoRec font_info; /* font info dictionary */ member
/external/pdfium/third_party/freetype/include/freetype/internal/
Dt1types.h95 PS_FontInfoRec font_info; /* font info dictionary */ member
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/type42/
Dt42drivr.c127 *afont_info = ((T42_Face)face)->type1.font_info; in t42_ps_get_font_info()

12