/AliOS-Things-master/components/freetype/src/base/ |
A D | ftglyph.c | 194 FT_Outline_Done( FT_GLYPH( glyph )->library, &glyph->outline ); in ft_outline_glyph_done() 298 *aglyph = glyph; in FT_DEFINE_GLYPH() 360 FT_Glyph glyph; in FT_Get_Glyph() local 413 *aglyph = glyph; in FT_Get_Glyph() 430 if ( !glyph || !glyph->clazz ) in FT_Glyph_Transform() 468 if ( !glyph || !glyph->clazz ) in FT_Glyph_Get_CBox() 471 clazz = glyph->clazz; in FT_Glyph_Get_CBox() 522 glyph = *the_glyph; in FT_Glyph_To_Bitmap() 523 if ( !glyph ) in FT_Glyph_To_Bitmap() 611 if ( glyph ) in FT_Done_Glyph() [all …]
|
A D | ftstroke.c | 2271 glyph = *pglyph; in FT_Glyph_Stroke() 2272 if ( glyph == NULL || glyph->clazz != FT_OUTLINE_GLYPH_CLASS_GET ) in FT_Glyph_Stroke() 2283 glyph = copy; in FT_Glyph_Stroke() 2314 *pglyph = glyph; in FT_Glyph_Stroke() 2318 FT_Done_Glyph( glyph ); in FT_Glyph_Stroke() 2319 glyph = NULL; in FT_Glyph_Stroke() 2347 glyph = *pglyph; in FT_Glyph_StrokeBorder() 2348 if ( glyph == NULL || glyph->clazz != FT_OUTLINE_GLYPH_CLASS_GET ) in FT_Glyph_StrokeBorder() 2359 glyph = copy; in FT_Glyph_StrokeBorder() 2403 *pglyph = glyph; in FT_Glyph_StrokeBorder() [all …]
|
/AliOS-Things-master/components/freetype/src/pfr/ |
A D | pfrgload.c | 43 FT_ZERO( glyph ); in pfr_glyph_init() 46 glyph->path_begun = 0; in pfr_glyph_init() 67 FT_FREE( glyph->subs ); in pfr_glyph_done() 69 glyph->max_subs = 0; in pfr_glyph_done() 70 glyph->num_subs = 0; in pfr_glyph_done() 73 glyph->path_begun = 0; in pfr_glyph_done() 114 glyph->path_begun = 0; in pfr_glyph_close_contour() 122 glyph->path_begun = 0; in pfr_glyph_start() 305 glyph->y_control = glyph->x_control + x_count; in pfr_glyph_load_simple() 611 if ( FT_RENEW_ARRAY( glyph->subs, glyph->max_subs, new_max ) ) in pfr_glyph_load_compound() [all …]
|
A D | pfrsbit.c | 528 pfr_slot_load_bitmap( PFR_Slot glyph, in pfr_slot_load_bitmap() argument 533 PFR_Face face = (PFR_Face) glyph->root.face; in pfr_slot_load_bitmap() 615 glyph->root.linearHoriAdvance = advance; in pfr_slot_load_bitmap() 649 glyph->root.format = FT_GLYPH_FORMAT_BITMAP; in pfr_slot_load_bitmap() 654 glyph->root.bitmap.width = (FT_Int)xsize; in pfr_slot_load_bitmap() 662 glyph->root.metrics.horiBearingX = xpos << 6; in pfr_slot_load_bitmap() 663 glyph->root.metrics.horiBearingY = ypos << 6; in pfr_slot_load_bitmap() 665 glyph->root.metrics.vertBearingX = - glyph->root.metrics.width >> 1; in pfr_slot_load_bitmap() 666 glyph->root.metrics.vertBearingY = 0; in pfr_slot_load_bitmap() 670 glyph->root.bitmap_left = (FT_Int)xpos; in pfr_slot_load_bitmap() [all …]
|
A D | pfrgload.h | 28 pfr_glyph_init( PFR_Glyph glyph, 32 pfr_glyph_done( PFR_Glyph glyph ); 36 pfr_glyph_load( PFR_Glyph glyph,
|
/AliOS-Things-master/components/freetype/src/pshinter/ |
A D | pshalgo.c | 1146 FT_FREE( glyph->points ); in psh_glyph_done() 1147 FT_FREE( glyph->contours ); in psh_glyph_done() 1149 glyph->num_points = 0; in psh_glyph_done() 1150 glyph->num_contours = 0; in psh_glyph_done() 1152 glyph->memory = 0; in psh_glyph_done() 1268 FT_MEM_ZERO( glyph, sizeof ( *glyph ) ); in psh_glyph_init() 1360 glyph->outline = outline; in psh_glyph_init() 1361 glyph->globals = globals; in psh_glyph_init() 2205 if ( FT_NEW( glyph ) ) in ps_hints_apply() 2208 ps_debug_glyph = glyph; in ps_hints_apply() [all …]
|
/AliOS-Things-master/components/freetype/ |
A D | README.md | 71 ## FT_Load_Glyph加载字符的glyph 75 glyph_index, /* glyph index */ 91 …加载对应的glyph(glyph含有关键点,相对位置。实际上是根据字符的编码类型和编码值找到glyph,不同的编码类型的字符,要用不同的charmap来寻找其glyph,一个charmap支持一种… 93 5.用某些函数把glyph里的关键点缩放为这个字体大小 102 …ap)。字符对应的字体数据称为glyph,字体文件中通常带有一个字符映射表,用来把字符映射到对应glyph的索引值。因为字符集的编码方式有多种,所以可以存在多个子映射表,以支持从不同编码的字符到g…
|
/AliOS-Things-master/components/freetype/src/gxvalid/ |
A D | gxvprop.c | 82 FT_GlyphSlot glyph; in gxv_prop_zero_advance_validate() local 95 glyph = face->glyph; in gxv_prop_zero_advance_validate() 97 if ( glyph->advance.x != (FT_Pos)0 || in gxv_prop_zero_advance_validate() 98 glyph->advance.y != (FT_Pos)0 ) in gxv_prop_zero_advance_validate() 111 FT_UShort glyph, in gxv_prop_property_validate() argument 114 if ( glyph != 0 && ( property & GXV_PROP_FLOATER ) ) in gxv_prop_property_validate() 115 gxv_prop_zero_advance_validate( glyph, valid ); in gxv_prop_property_validate() 139 if ( glyph <= complement ) in gxv_prop_property_validate() 155 glyph )); in gxv_prop_property_validate() 188 gxv_prop_LookupValue_validate( FT_UShort glyph, in gxv_prop_LookupValue_validate() argument [all …]
|
A D | gxvlcar.c | 69 FT_UShort glyph, in gxv_lcar_partial_validate() argument 77 gxv_ctlPoint_validate( glyph, partial, valid ); in gxv_lcar_partial_validate() 85 gxv_lcar_LookupValue_validate( FT_UShort glyph, in gxv_lcar_LookupValue_validate() argument 105 gxv_lcar_partial_validate( partial, glyph, valid ); in gxv_lcar_LookupValue_validate()
|
A D | gxvmort4.c | 42 gxv_mort_subtable_type4_lookupval_validate( FT_UShort glyph, in gxv_mort_subtable_type4_lookupval_validate() argument 46 FT_UNUSED( glyph ); in gxv_mort_subtable_type4_lookupval_validate()
|
A D | gxvjust.c | 317 FT_UShort glyph; in gxv_just_actSubrecord_type5_validate() local 322 glyph = FT_NEXT_USHORT( p ); in gxv_just_actSubrecord_type5_validate() 327 gxv_just_check_max_gid( glyph, "type5:glyph", valid ); in gxv_just_actSubrecord_type5_validate() 404 gxv_just_pcTable_LookupValue_entry_validate( FT_UShort glyph, in gxv_just_pcTable_LookupValue_entry_validate() argument 408 FT_UNUSED( glyph ); in gxv_just_pcTable_LookupValue_entry_validate() 540 gxv_just_wdcTable_LookupValue_validate( FT_UShort glyph, in gxv_just_wdcTable_LookupValue_validate() argument 544 FT_UNUSED( glyph ); in gxv_just_wdcTable_LookupValue_validate()
|
A D | gxvmorx1.c | 160 gxv_morx_subtable_type1_LookupValue_validate( FT_UShort glyph, in gxv_morx_subtable_type1_LookupValue_validate() argument 164 FT_UNUSED( glyph ); /* for the non-debugging case */ in gxv_morx_subtable_type1_LookupValue_validate() 166 GXV_TRACE(( "morx subtable type1 subst.: %d -> %d\n", glyph, value_p->u )); in gxv_morx_subtable_type1_LookupValue_validate()
|
/AliOS-Things-master/components/SDL2/src/ttf/ |
A D | SDL_ttf.c | 630 glyph = face->glyph; in Load_Glyph() 1237 c_glyph *glyph; in TTF_SizeUTF8() local 1308 if (glyph->advance > glyph->maxx) { in TTF_SizeUTF8() 1399 c_glyph *glyph; in TTF_RenderUTF8_Solid() local 1460 width = glyph->maxx - glyph->minx; in TTF_RenderUTF8_Solid() 1579 c_glyph *glyph; in TTF_RenderUTF8_Shaded() local 1651 width = glyph->maxx - glyph->minx; in TTF_RenderUTF8_Shaded() 1770 c_glyph *glyph; in TTF_RenderUTF8_Blended() local 1835 width = glyph->maxx - glyph->minx; in TTF_RenderUTF8_Blended() 1952 c_glyph *glyph; in TTF_RenderUTF8_Blended_Wrapped() local [all …]
|
/AliOS-Things-master/components/freetype/src/cache/ |
A D | ftcimage.c | 37 if ( inode->glyph ) in ftc_inode_free() 39 FT_Done_Glyph( inode->glyph ); in ftc_inode_free() 40 inode->glyph = NULL; in ftc_inode_free() 80 &inode->glyph ); in FTC_INode_New() 112 FT_Glyph glyph = inode->glyph; in ftc_inode_weight() local 117 switch ( glyph->format ) in ftc_inode_weight() 124 bitg = (FT_BitmapGlyph)glyph; in ftc_inode_weight() 135 outg = (FT_OutlineGlyph)glyph; in ftc_inode_weight()
|
A D | ftcbasic.c | 176 if ( face->glyph->format == FT_GLYPH_FORMAT_BITMAP || in ftc_basic_family_load_glyph() 177 face->glyph->format == FT_GLYPH_FORMAT_OUTLINE ) in ftc_basic_family_load_glyph() 180 FT_Glyph glyph; in ftc_basic_family_load_glyph() local 183 error = FT_Get_Glyph( face->glyph, &glyph ); in ftc_basic_family_load_glyph() 186 *aglyph = glyph; in ftc_basic_family_load_glyph() 336 *aglyph = FTC_INODE( node )->glyph; in FTC_ImageCache_Lookup() 398 *aglyph = FTC_INODE( node )->glyph; in FTC_ImageCache_LookupScaler()
|
/AliOS-Things-master/components/freetype/src/cff/ |
A D | cffgload.c | 263 builder->glyph = glyph; in cff_builder_init() 266 if ( glyph ) in cff_builder_init() 315 CFF_GlyphSlot glyph = builder->glyph; in cff_builder_done() local 318 if ( glyph ) in cff_builder_done() 785 FT_GlyphSlot glyph = (FT_GlyphSlot)builder->glyph; in cff_operator_seac() local 812 glyph->num_subglyphs = 2; in cff_operator_seac() 2642 glyph->x_scale = 0x10000L; in cff_slot_load() 2643 glyph->y_scale = 0x10000L; in cff_slot_load() 2778 glyph->x_scale = FT_MulDiv( glyph->x_scale, top_upm, sub_upm ); in cff_slot_load() 2779 glyph->y_scale = FT_MulDiv( glyph->y_scale, top_upm, sub_upm ); in cff_slot_load() [all …]
|
/AliOS-Things-master/components/freetype/src/truetype/ |
A D | ttgload.c | 409 load->glyph->control_len = 0; in TT_Load_Simple_Glyph() 410 load->glyph->control_data = 0; in TT_Load_Simple_Glyph() 1854 TT_GlyphSlot glyph = loader->glyph; in compute_glyph_metrics() local 2007 glyph->metrics.vertBearingX = glyph->metrics.horiBearingX - in compute_glyph_metrics() 2032 face = (TT_Face)glyph->face; in load_sbit_image() 2045 glyph->outline.n_points = 0; in load_sbit_image() 2093 face = (TT_Face)glyph->face; in tt_loader_init() 2305 loader->glyph = (FT_GlyphSlot)glyph; in tt_loader_init() 2374 if ( !glyph->metrics.horiAdvance && glyph->linearHoriAdvance ) in TT_Load_Glyph() 2398 glyph->num_subglyphs = 0; in TT_Load_Glyph() [all …]
|
/AliOS-Things-master/components/freetype/include/ |
A D | ftrender.h | 41 (*FT_Glyph_InitFunc)( FT_Glyph glyph, 46 (*FT_Glyph_DoneFunc)( FT_Glyph glyph ); 49 (*FT_Glyph_TransformFunc)( FT_Glyph glyph, 54 (*FT_Glyph_GetBBoxFunc)( FT_Glyph glyph, 62 (*FT_Glyph_PrepareFunc)( FT_Glyph glyph,
|
A D | ftglyph.h | 288 FT_Glyph_Transform( FT_Glyph glyph, 421 FT_Glyph_Get_CBox( FT_Glyph glyph, 551 FT_Done_Glyph( FT_Glyph glyph );
|
/AliOS-Things-master/components/freetype/src/type42/ |
A D | t42objs.c | 588 if ( face->glyph == NULL ) in T42_GlyphSlot_Init() 591 slot->ttslot = t42face->ttf_face->glyph; in T42_GlyphSlot_Init() 639 T42_GlyphSlot_Load( FT_GlyphSlot glyph, in T42_GlyphSlot_Load() argument 645 T42_GlyphSlot t42slot = (T42_GlyphSlot)glyph; in T42_GlyphSlot_Load() 660 glyph->metrics = t42slot->ttslot->metrics; in T42_GlyphSlot_Load() 665 glyph->format = t42slot->ttslot->format; in T42_GlyphSlot_Load() 666 glyph->outline = t42slot->ttslot->outline; in T42_GlyphSlot_Load() 668 glyph->bitmap = t42slot->ttslot->bitmap; in T42_GlyphSlot_Load() 669 glyph->bitmap_left = t42slot->ttslot->bitmap_left; in T42_GlyphSlot_Load() 670 glyph->bitmap_top = t42slot->ttslot->bitmap_top; in T42_GlyphSlot_Load() [all …]
|
/AliOS-Things-master/components/freetype/src/bdf/ |
A D | bdflib.c | 1477 bdf_glyph_t* glyph; in _bdf_parse_glyphs() local 1752 bp = glyph->bitmap + p->row * glyph->bpr; in _bdf_parse_glyphs() 1776 if ( glyph->bbx.width ) in _bdf_parse_glyphs() 1853 glyph->bbx.ascent = (short)( glyph->bbx.height + glyph->bbx.y_offset ); in _bdf_parse_glyphs() 1854 glyph->bbx.descent = (short)( -glyph->bbx.y_offset ); in _bdf_parse_glyphs() 1861 p->rbearing = (short)( glyph->bbx.width + glyph->bbx.x_offset ); in _bdf_parse_glyphs() 1872 glyph->dwidth = glyph->bbx.width; in _bdf_parse_glyphs() 1888 glyph->swidth = sw; in _bdf_parse_glyphs() 1920 glyph->bpr = ( glyph->bbx.width * p->font->bpp + 7 ) >> 3; in _bdf_parse_glyphs() 1922 bitmap_size = glyph->bpr * glyph->bbx.height; in _bdf_parse_glyphs() [all …]
|
A D | bdfdrivr.c | 115 result = encodings[mid].glyph + 1; in bdf_cmap_char_index() 155 result = encodings[mid].glyph + 1; in bdf_cmap_char_next() 169 result = encodings[min].glyph + 1; in bdf_cmap_char_next() 676 bdf_glyph_t glyph; in BDF_Glyph_Load() local 697 glyph = bdf->bdffont->glyphs[glyph_index]; in BDF_Glyph_Load() 699 bitmap->rows = glyph.bbx.height; in BDF_Glyph_Load() 700 bitmap->width = glyph.bbx.width; in BDF_Glyph_Load() 701 if ( glyph.bpr > INT_MAX ) in BDF_Glyph_Load() 703 glyph.bpr )); in BDF_Glyph_Load() 728 slot->bitmap_left = glyph.bbx.x_offset; in BDF_Glyph_Load() [all …]
|
/AliOS-Things-master/components/freetype/src/pcf/ |
A D | pcf.h | 130 FT_UShort glyph; member 210 #define PCF_FORMAT( bit, byte, glyph, scan ) \ argument 214 ( PCF_SIZE_TO_INDEX( glyph ) << 0 ) )
|
/AliOS-Things-master/components/freetype/src/type1/ |
A D | t1gload.c | 274 T1_GlyphSlot glyph = (T1_GlyphSlot)t1glyph; in T1_Load_Glyph() local 312 glyph->x_scale = t1size->metrics.x_scale; in T1_Load_Glyph() 313 glyph->y_scale = t1size->metrics.y_scale; in T1_Load_Glyph() 317 glyph->x_scale = 0x10000L; in T1_Load_Glyph() 318 glyph->y_scale = 0x10000L; in T1_Load_Glyph() 455 FT_Fixed x_scale = glyph->x_scale; in T1_Load_Glyph() 456 FT_Fixed y_scale = glyph->y_scale; in T1_Load_Glyph()
|
/AliOS-Things-master/components/freetype/src/tools/ftrandom/ |
A D | README | 14 loads each glyph; 15 (optionally reviewing the contours of the glyph) 29 --check-outlines Call FT_Outline_Decompose on each glyph.
|