Home
last modified time | relevance | path

Searched refs:FT_ABS (Results 1 – 25 of 37) sorted by relevance

12

/third_party/skia/third_party/externals/freetype/src/pcf/
Dpcfread.c1250 if ( FT_ABS( accel->fontAscent ) > 0x7FFF ) in pcf_get_accel()
1256 if ( FT_ABS( accel->fontDescent ) > 0x7FFF ) in pcf_get_accel()
1586 if ( FT_ABS( face->accel.fontAscent + in pcf_load_font()
1594 bsize->height = FT_ABS( (FT_Short)( face->accel.fontAscent + in pcf_load_font()
1604 if ( ( FT_ABS( prop->value.l ) > 0x7FFFL * 10 - 5 ) ) in pcf_load_font()
1611 bsize->width = FT_ABS( (FT_Short)( ( prop->value.l + 5 ) / 10 ) ); in pcf_load_font()
1627 if ( FT_ABS( prop->value.l ) > 0x504C2L ) /* 0x7FFF * 72270/7200 */ in pcf_load_font()
1634 bsize->size = FT_MulDiv( FT_ABS( prop->value.l ), in pcf_load_font()
1646 if ( FT_ABS( prop->value.l ) > 0x7FFF ) in pcf_load_font()
1653 bsize->y_ppem = FT_ABS( (FT_Short)prop->value.l ) << 6; in pcf_load_font()
[all …]
/third_party/skia/third_party/externals/freetype/src/base/
Dftcalc.c762 val[0] = FT_ABS( matrix->xx ); in FT_Matrix_Check()
763 val[1] = FT_ABS( matrix->xy ); in FT_Matrix_Check()
764 val[2] = FT_ABS( matrix->yx ); in FT_Matrix_Check()
765 val[3] = FT_ABS( matrix->yy ); in FT_Matrix_Check()
806 temp1 = FT_ABS( m.xx * m.yy - m.xy * m.yx ); in FT_Matrix_Check()
1001 if ( ADD_LONG( FT_ABS( in_x ), FT_ABS( out_y ) ) <= 131071L && in ft_corner_orientation()
1002 ADD_LONG( FT_ABS( in_y ), FT_ABS( out_x ) ) <= 131071L ) in ft_corner_orientation()
Dftbbox.c285 shift = 27 - FT_MSB( (FT_UInt32)( FT_ABS( q1 ) | in cubic_peak()
286 FT_ABS( q2 ) | in cubic_peak()
287 FT_ABS( q3 ) | in cubic_peak()
288 FT_ABS( q4 ) ) ); in cubic_peak()
Dfttrigon.c142 shift = FT_MSB( (FT_UInt32)( FT_ABS( x ) | FT_ABS( y ) ) ); in ft_trig_prenorm()
431 return FT_ABS( v.y ); in FT_Vector_Length()
435 return FT_ABS( v.x ); in FT_Vector_Length()
Dftoutln.c1068 xshift = FT_MSB( (FT_UInt32)( FT_ABS( cbox.xMax ) | in FT_Outline_Get_Orientation()
1069 FT_ABS( cbox.xMin ) ) ) - 14; in FT_Outline_Get_Orientation()
Dftbitmap.c174 pitch = (unsigned int)FT_ABS( bitmap->pitch ); in ft_bitmap_assure_buffer()
/third_party/skia/third_party/externals/freetype/src/autofit/
Daflatin.c601 dist = FT_ABS( points[prev].y - best_y ); in af_latin_metrics_init_blues()
605 if ( FT_ABS( points[prev].x - best_x ) <= 20 * dist ) in af_latin_metrics_init_blues()
626 dist = FT_ABS( points[next].y - best_y ); in af_latin_metrics_init_blues()
628 if ( FT_ABS( points[next].x - best_x ) <= 20 * dist ) in af_latin_metrics_init_blues()
662 dist = FT_ABS( points[best_segment_last].x - in af_latin_metrics_init_blues()
743 if ( FT_ABS( best_y - points[first].y ) > height_threshold ) in af_latin_metrics_init_blues()
751 dist = FT_ABS( points[last].y - points[first].y ); in af_latin_metrics_init_blues()
753 if ( FT_ABS( points[last].x - points[first].x ) <= in af_latin_metrics_init_blues()
768 d = FT_ABS( points[last].x - points[first].x ); in af_latin_metrics_init_blues()
782 d = FT_ABS( points[last].y - points[first].y ); in af_latin_metrics_init_blues()
[all …]
Dafhints.c782 if ( ll <= 14 * FT_ABS( ss ) ) in af_direction_compute()
1010 if ( FT_ABS( out_x ) + FT_ABS( out_y ) < near_limit ) in af_glyph_hints_reload()
1099 if ( FT_ABS( out_x ) + FT_ABS( out_y ) >= near_limit2 ) in af_glyph_hints_reload()
1140 if ( FT_ABS( out_x ) + FT_ABS( out_y ) < near_limit ) in af_glyph_hints_reload()
Dafcjk.c1349 if ( FT_ABS( edge->fpos - blue->ref.org ) > in af_cjk_hints_compute_blue_edges()
1350 FT_ABS( edge->fpos - blue->shoot.org ) ) in af_cjk_hints_compute_blue_edges()
1526 if ( FT_ABS( dist - axis->widths[0].cur ) < 40 ) in af_cjk_compute_stem_width()
1759 if ( FT_ABS( u_off1 ) <= FT_ABS( u_off2 ) ) in af_hint_normal_stem()
1995 if ( FT_ABS( d2 ) < FT_ABS( d1 ) ) in af_cjk_hint_edges()
/third_party/skia/third_party/externals/freetype/src/smooth/
Dftgrays.c119 #define FT_ABS( a ) ( (a) < 0 ? -(a) : (a) ) macro
128 ( x = FT_ABS( x ), \
129 y = FT_ABS( y ), \
1084 dx = FT_ABS( ax ); in gray_render_conic()
1085 dy = FT_ABS( ay ); in gray_render_conic()
1289 dx = FT_ABS( arc[2].x + arc[0].x - 2 * arc[1].x ); in gray_render_conic()
1290 dy = FT_ABS( arc[2].y + arc[0].y - 2 * arc[1].y ); in gray_render_conic()
1405 if ( FT_ABS( 2 * arc[0].x - 3 * arc[1].x + arc[3].x ) > ONE_PIXEL / 2 || in gray_render_cubic()
1406 FT_ABS( 2 * arc[0].y - 3 * arc[1].y + arc[3].y ) > ONE_PIXEL / 2 || in gray_render_cubic()
1407 FT_ABS( arc[0].x - 3 * arc[2].x + 2 * arc[3].x ) > ONE_PIXEL / 2 || in gray_render_cubic()
[all …]
/third_party/skia/third_party/externals/freetype/src/bdf/
Dbdfdrivr.c485 bsize->width = FT_ABS( (FT_Short)( ( prop->value.l + 5 ) / 10 ) ); in BDF_Face_Init()
509 bsize->size = FT_MulDiv( FT_ABS( prop->value.l ), in BDF_Face_Init()
544 bsize->y_ppem = FT_ABS( (FT_Short)prop->value.l ) << 6; in BDF_Face_Init()
565 resolution_x = FT_ABS( (FT_Short)value ); in BDF_Face_Init()
586 resolution_y = FT_ABS( (FT_Short)value ); in BDF_Face_Init()
/third_party/skia/third_party/externals/freetype/include/freetype/internal/
Dftobjs.h73 #define FT_ABS( a ) ( (a) < 0 ? -(a) : (a) ) macro
81 ( x = FT_ABS( x ), \
82 y = FT_ABS( y ), \
/third_party/skia/third_party/externals/freetype/src/cff/
Dcffobjs.c766 temp = matrix->yy ? FT_ABS( matrix->yy ) in cff_face_init()
767 : FT_ABS( matrix->yx ); in cff_face_init()
837 temp = matrix->yy ? FT_ABS( matrix->yy ) in cff_face_init()
838 : FT_ABS( matrix->yx ); in cff_face_init()
Dcffparse.c573 if ( FT_ABS( val ) > power_ten_limits[scaling] ) in do_fixed()
/third_party/skia/third_party/externals/freetype/src/cache/
Dftcimage.c125 size = bitg->bitmap.rows * (FT_Offset)FT_ABS( bitg->bitmap.pitch ) + in ftc_inode_weight()
Dftcsbits.c190 *asize = (FT_ULong)FT_ABS( sbit->pitch ) * sbit->height; in ftc_snode_load()
/third_party/skia/third_party/externals/freetype/src/pshinter/
Dpshalgo.c429 if ( FT_ABS( delta1 ) <= FT_ABS( delta2 ) ) in psh_hint_snap_stem_side_delta()
818 if ( FT_ABS( side_delta ) < FT_ABS( delta_b ) )
1061 ax = FT_ABS( dx ); in psh_compute_dir()
1062 ay = FT_ABS( dy ); in psh_compute_dir()
/third_party/skia/third_party/externals/freetype/src/sdf/
Dftbsdf.c511 gx = FT_ABS( gx ); in compute_edge_distance()
512 gy = FT_ABS( gy ); in compute_edge_distance()
Dftsdf.c1559 if ( a == 0 || FT_ABS( a ) < 16 ) in solve_cubic_equation()
1635 dis = FT_ABS( r ); in solve_cubic_equation()
1752 return FT_ABS( sdf1.cross ) > FT_ABS( sdf2.cross ) ? sdf1 : sdf2; in resolve_corner()
2969 if ( FT_ABS(diff ) < CORNER_CHECK_EPSILON ) in sdf_contour_get_min_distance()
3328 else if ( FT_ABS( dists[index].distance - dist.distance ) in sdf_generate_bounding_box()
/third_party/skia/third_party/externals/freetype/src/winfonts/
Dwinfnt.c286 face_index = FT_ABS( face_instance_index ) & 0xFFFF; in fnt_face_get_dll_font()
736 face_index = FT_ABS( face_instance_index ) & 0xFFFF; in FNT_Face_Init()
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dsfobjs.c566 face_index = FT_ABS( face_instance_index ) & 0xFFFF; in sfnt_init_face()
608 instance_index = FT_ABS( face_instance_index ) >> 16; in sfnt_init_face()
Dsfwoff2.c627 dst[x_offset++] = (FT_Byte)FT_ABS( dx ); in store_points()
640 dst[y_offset++] = (FT_Byte)FT_ABS( dy ); in store_points()
1798 face_index = FT_ABS( *face_instance_index ) & 0xFFFF; in woff2_open_font()
/third_party/skia/third_party/externals/freetype/src/cid/
Dcidload.c195 temp_scale = FT_ABS( temp[3] ); in cid_parse_font_matrix()
/third_party/skia/third_party/externals/freetype/src/type42/
Dt42parse.c263 temp_scale = FT_ABS( temp[3] ); in t42_parse_font_matrix()
/third_party/skia/third_party/externals/freetype/src/truetype/
Dttgload.c129 *ah = (FT_UShort)FT_ABS( face->os2.sTypoAscender - in TT_Get_VMetrics()
136 *ah = (FT_UShort)FT_ABS( face->horizontal.Ascender - in TT_Get_VMetrics()

12