Home
last modified time | relevance | path

Searched refs:num_axis (Results 1 – 15 of 15) sorted by relevance

/external/pdfium/third_party/freetype/src/type1/
Dt1load.c105 FT_UInt num_axis ) in t1_allocate_blend() argument
158 if ( num_axis > 0 ) in t1_allocate_blend()
160 if ( blend->num_axis != 0 && blend->num_axis != num_axis ) in t1_allocate_blend()
163 blend->num_axis = num_axis; in t1_allocate_blend()
168 num_axis = blend->num_axis; in t1_allocate_blend()
169 if ( num_designs && num_axis && blend->design_pos[0] == 0 ) in t1_allocate_blend()
174 if ( FT_NEW_ARRAY( blend->design_pos[0], num_designs * num_axis ) ) in t1_allocate_blend()
178 blend->design_pos[n] = blend->design_pos[0] + num_axis * n; in t1_allocate_blend()
203 master->num_axis = blend->num_axis; in T1_Get_Multi_Master()
206 for ( n = 0; n < blend->num_axis; n++ ) in T1_Get_Multi_Master()
[all …]
/external/pdfium/third_party/freetype/src/truetype/
Dttgxvar.c328 if ( axisCount != (FT_Long)blend->mmvar->num_axis ) in ft_var_load_avar()
463 if ( gvar_head.axisCount != (FT_UShort)blend->mmvar->num_axis ) in ft_var_load_gvar()
572 for ( i = 0; i < blend->num_axis; i++ ) in ft_var_apply_tuple()
830 mmvar->num_axis = in TT_Get_MM_Var()
924 (FT_Var_Named_Style*)&( mmvar->axis[mmvar->num_axis] ); in TT_Get_MM_Var()
931 next_coords += mmvar->num_axis; in TT_Get_MM_Var()
936 for ( n = 0; n < mmvar->num_axis; n++ ) in TT_Get_MM_Var()
1018 if ( num_coords > mmvar->num_axis ) in TT_Set_MM_Blend()
1021 mmvar->num_axis, num_coords )); in TT_Set_MM_Blend()
1022 num_coords = mmvar->num_axis; in TT_Set_MM_Blend()
[all …]
Dttgxvar.h83 FT_UInt num_axis; member
Dttobjs.c669 face->blend->mmvar->num_axis, in tt_face_init()
/external/freetype/src/truetype/
Dttgxvar.c344 if ( axisCount != (FT_Long)blend->mmvar->num_axis ) in ft_var_load_avar()
468 if ( itemStore->axisCount != (FT_Long)blend->mmvar->num_axis ) in ft_var_load_item_variation_store()
1462 if ( gvar_head.axisCount != (FT_UShort)blend->mmvar->num_axis ) in ft_var_load_gvar()
1597 for ( i = 0; i < blend->num_axis; i++ ) in ft_var_apply_tuple()
1861 mmvar->num_axis = in TT_Get_MM_Var()
1973 (FT_Var_Named_Style*)&( mmvar->axis[mmvar->num_axis] ); in TT_Get_MM_Var()
1980 next_coords += mmvar->num_axis; in TT_Get_MM_Var()
1985 for ( n = 0; n < mmvar->num_axis; n++ ) in TT_Get_MM_Var()
2068 if ( num_coords > mmvar->num_axis ) in TT_Set_MM_Blend()
2071 mmvar->num_axis, num_coords )); in TT_Set_MM_Blend()
[all …]
Dttgxvar.h229 FT_UInt num_axis; member
Dttobjs.c663 face->blend->mmvar->num_axis, in tt_face_init()
Dttinterp.c7447 FT_UInt num_axes = exc->face->blend->num_axis; in Ins_GETVARIATION()
7731 exc->new_top = exc->args + exc->face->blend->num_axis; in TT_RunIns()
/external/pdfium/third_party/freetype/include/freetype/
Dftmm.h105 FT_UInt num_axis; member
212 FT_UInt num_axis; member
Dt1tables.h301 FT_UInt num_axis; member
/external/freetype/include/freetype/
Dftmm.h106 FT_UInt num_axis; member
237 FT_UInt num_axis; member
Dt1tables.h301 FT_UInt num_axis; member
/external/harfbuzz_ng/src/
Dhb-ft.cc624 FT_Fixed *ft_coords = (FT_Fixed *) calloc (mm_var->num_axis, sizeof (FT_Fixed)); in hb_ft_font_create()
625 int *coords = (int *) calloc (mm_var->num_axis, sizeof (int)); in hb_ft_font_create()
628 if (!FT_Get_Var_Blend_Coordinates (ft_face, mm_var->num_axis, ft_coords)) in hb_ft_font_create()
630 for (unsigned int i = 0; i < mm_var->num_axis; ++i) in hb_ft_font_create()
633 hb_font_set_var_coords_normalized (font, coords, mm_var->num_axis); in hb_ft_font_create()
/external/skia/src/ports/
DSkFontHost_FreeType.cpp304 if (static_cast<FT_UInt>(data.getAxisCount()) != variations->num_axis) { in ft_face_setup_axes()
306 rec->fFace->family_name, variations->num_axis, data.getAxisCount())); in ft_face_setup_axes()
1542 if (!coordinates || coordinateCount < SkToInt(variations->num_axis)) { in onGetVariationDesignPosition()
1543 return variations->num_axis; in onGetVariationDesignPosition()
1546 SkAutoSTMalloc<4, FT_Fixed> coords(variations->num_axis); in onGetVariationDesignPosition()
1549 !gFTLibrary->fGetVarDesignCoordinates(face, variations->num_axis, coords.get())) in onGetVariationDesignPosition()
1551 for (FT_UInt i = 0; i < variations->num_axis; ++i) { in onGetVariationDesignPosition()
1555 } else if (static_cast<FT_UInt>(fta.getAxesCount()) == variations->num_axis) { in onGetVariationDesignPosition()
1556 for (FT_UInt i = 0; i < variations->num_axis; ++i) { in onGetVariationDesignPosition()
1568 return variations->num_axis; in onGetVariationDesignPosition()
[all …]
/external/freetype/src/cff/
Dcffobjs.c731 mm_var->num_axis, in cff_face_init()