Home
last modified time | relevance | path

Searched refs:FT_DivFix (Results 1 – 25 of 38) sorted by relevance

12

/external/freetype/src/psaux/
Dpsfont.c168 *darkenAmount = FT_DivFix( cf2_intToFixed( y1 ), ppem ); in cf2_computeDarkening()
175 FT_DivFix( cf2_intToFixed( x1 ), ppem ); in cf2_computeDarkening()
182 FT_DivFix( cf2_intToFixed( y1 ), ppem ); in cf2_computeDarkening()
192 FT_DivFix( cf2_intToFixed( x2 ), ppem ); in cf2_computeDarkening()
199 FT_DivFix( cf2_intToFixed( y2 ), ppem ); in cf2_computeDarkening()
210 FT_DivFix( cf2_intToFixed( x3 ), ppem ); in cf2_computeDarkening()
217 FT_DivFix( cf2_intToFixed( y3 ), ppem ); in cf2_computeDarkening()
224 *darkenAmount = FT_DivFix( cf2_intToFixed( y4 ), ppem ); in cf2_computeDarkening()
229 *darkenAmount = FT_DivFix( *darkenAmount, 2 * emRatio ); in cf2_computeDarkening()
412 font->stdVW = FT_DivFix( cf2_intToFixed( 75 ), emRatio ); in cf2_font_setup()
[all …]
Dpsblues.c279 csUnitsPerPixel = FT_DivFix( cf2_intToFixed( 1 ), blues->scale ); in cf2_blues_init()
366 if ( blues->blueScale > FT_DivFix( cf2_intToFixed( 1 ), in cf2_blues_init()
370 blues->blueScale = FT_DivFix( cf2_intToFixed( 1 ), in cf2_blues_init()
Dpsft.c82 maxScale = FT_DivFix( CF2_MAX_SIZE, cf2_intToFixed( unitsPerEm ) ); in cf2_checkTransform()
556 *blueScale = FT_DivFix( in cf2_getBlueMetrics()
Dpsconv.c341 decimal = FT_DivFix( decimal, divider ); in PS_Conv_ToFixed()
Dpshints.c545 FT_DivFix( SUB_INT32( hintmap->edge[i].dsCoord, in cf2_hintmap_adjustHints()
555 FT_DivFix( SUB_INT32( hintmap->edge[j].dsCoord, in cf2_hintmap_adjustHints()
1248 s = FT_DivFix( cf2_perp( w, v ), denominator ); in cf2_glyphpath_computeIntersection()
Dt1decode.c1013 top[0] = FT_DivFix( top[0], top[1] ); in t1_decoder_parse_charstrings()
1425 *top = FT_DivFix( top[0], top[1] ); in t1_decoder_parse_charstrings()
Dpsintrp.c1598 FT_DivFix( dividend, divisor ) ); in cf2_interpT2CharString()
1987 FT_DivFix( dividend, in cf2_interpT2CharString()
2273 new_root = ( root + FT_DivFix( arg, root ) + 1 ) >> 1; in cf2_interpT2CharString()
Dcffdecode.c1711 args[0] = FT_DivFix( args[0], args[1] ); in cff_decoder_parse_charstrings()
1762 new_root = ( root + FT_DivFix( args[0], root ) + 1 ) >> 1; in cff_decoder_parse_charstrings()
/external/freetype/src/autofit/
Dafloader.c108 FT_Fixed em_ratio = FT_DivFix( af_intToFixed( 1000 ), em_size ); in af_loader_embolden_glyph_in_slot()
148 darken_x = FT_DivFix( FT_MulFix( darken_by_font_units_x, in af_loader_embolden_glyph_in_slot()
167 darken_y = FT_DivFix( FT_MulFix( darken_by_font_units_y, in af_loader_embolden_glyph_in_slot()
194 FT_DivFix( em_size - ( darken_by_font_units_y + af_intToFixed( 8 ) ), in af_loader_embolden_glyph_in_slot()
268 size_metrics->x_scale = FT_DivFix( size_metrics->x_ppem << 6, in af_loader_load_glyph()
270 size_metrics->y_scale = FT_DivFix( size_metrics->y_ppem << 6, in af_loader_load_glyph()
615 em_ratio = FT_DivFix( af_intToFixed( 1000 ), in af_loader_compute_darkening()
656 darken_amount = FT_DivFix( af_intToFixed( y1 ), ppem ); in af_loader_compute_darkening()
663 FT_DivFix( af_intToFixed( x1 ), ppem ); in af_loader_compute_darkening()
670 FT_DivFix( af_intToFixed( y1 ), ppem ); in af_loader_compute_darkening()
[all …]
Dafangles.c171 angle += af_arctan[FT_DivFix( dy, dx ) >> ( 16 - AF_ATAN_BITS )]; in af_angle_atan()
174 af_arctan[FT_DivFix( dx, dy ) >> ( 16 - AF_ATAN_BITS )]; in af_angle_atan()
Dafwarp.c343 new_scale = org_scale + FT_DivFix( w - warper->w0, X2 - X1 ); in af_warper_compute()
Dafcjk.c724 delta1 = FT_DivFix( blue->ref.fit, scale ) - blue->shoot.org; in af_cjk_metrics_scale_dim()
864 dist_threshold = FT_DivFix( 64 * 3, dist_threshold ); in af_cjk_hints_link_segments()
1046 edge_distance_threshold = FT_DivFix( 64 / 4, scale ); in af_cjk_hints_compute_edges()
Dafhints.c1440 before->scale = FT_DivFix( after->pos - before->pos, in af_glyph_hints_align_strong_points()
1544 FT_Fixed scale = FT_DivFix( u2 - u1, v2 - v1 ); in af_iup_interp()
/external/freetype/src/base/
Dftcalc.c253 FT_DivFix( FT_Long a_, in FT_DivFix() function
608 FT_DivFix( FT_Long a_, in FT_DivFix() function
704 matrix->xy = -FT_DivFix( matrix->xy, delta ); in FT_Matrix_Invert()
705 matrix->yx = -FT_DivFix( matrix->yx, delta ); in FT_Matrix_Invert()
710 matrix->xx = FT_DivFix( yy, delta ); in FT_Matrix_Invert()
711 matrix->yy = FT_DivFix( xx, delta ); in FT_Matrix_Invert()
793 FT_Fixed scale = FT_DivFix( maxval, 23170 ); in FT_Matrix_Check()
796 if ( !FT_DivFix( nonzero_minval, scale ) ) in FT_Matrix_Check()
799 m.xx = FT_DivFix( matrix->xx, scale ); in FT_Matrix_Check()
800 m.xy = FT_DivFix( matrix->xy, scale ); in FT_Matrix_Check()
[all …]
Dftstroke.c1047 length = FT_DivFix( stroker->radius, thcos ); in ft_stroker_inside()
1192 length = FT_DivFix( stroker->radius, thcos ); in ft_stroker_outside()
1469 length = FT_DivFix( stroker->radius, FT_Cos( theta ) ); in FT_Stroker_ConicTo()
1677 length1 = FT_DivFix( stroker->radius, FT_Cos( theta1 ) ); in FT_Stroker_CubicTo()
1678 length2 = FT_DivFix( stroker->radius, FT_Cos( theta2 ) ); in FT_Stroker_CubicTo()
Dfttrigon.c333 return FT_DivFix( v.y, v.x ); in FT_Tan()
/external/freetype/src/cff/
Dcffobjs.c756 *upm = (FT_ULong)FT_DivFix( (FT_Long)*upm, temp ); in cff_face_init()
758 matrix->xx = FT_DivFix( matrix->xx, temp ); in cff_face_init()
759 matrix->yx = FT_DivFix( matrix->yx, temp ); in cff_face_init()
760 matrix->xy = FT_DivFix( matrix->xy, temp ); in cff_face_init()
761 matrix->yy = FT_DivFix( matrix->yy, temp ); in cff_face_init()
762 offset->x = FT_DivFix( offset->x, temp ); in cff_face_init()
763 offset->y = FT_DivFix( offset->y, temp ); in cff_face_init()
828 *upm = (FT_ULong)FT_DivFix( (FT_Long)*upm, temp ); in cff_face_init()
830 matrix->xx = FT_DivFix( matrix->xx, temp ); in cff_face_init()
831 matrix->yx = FT_DivFix( matrix->yx, temp ); in cff_face_init()
[all …]
Dcffparse.c407 result = FT_DivFix( number, 10 ); in cff_parse_real()
445 result = FT_DivFix( number, power_tens[fraction_length - 4] ); in cff_parse_real()
450 result = FT_DivFix( number, power_tens[fraction_length - 5] ); in cff_parse_real()
485 result = FT_DivFix( number, power_tens[fraction_length] ); in cff_parse_real()
652 return FT_DivFix( number, power_tens[integer_length - 4] ); in cff_parse_fixed_dynamic()
657 return FT_DivFix( number, power_tens[integer_length - 5] ); in cff_parse_fixed_dynamic()
/external/freetype/src/pfr/
Dpfrdrivr.c122 x_scale = FT_DivFix( size->metrics.x_ppem << 6, in pfr_get_metrics()
125 y_scale = FT_DivFix( size->metrics.y_ppem << 6, in pfr_get_metrics()
/external/freetype/src/cid/
Dcidload.c207 root->units_per_EM = (FT_UShort)FT_DivFix( 1000, temp_scale ); in cid_parse_font_matrix()
209 temp[0] = FT_DivFix( temp[0], temp_scale ); in cid_parse_font_matrix()
210 temp[1] = FT_DivFix( temp[1], temp_scale ); in cid_parse_font_matrix()
211 temp[2] = FT_DivFix( temp[2], temp_scale ); in cid_parse_font_matrix()
212 temp[4] = FT_DivFix( temp[4], temp_scale ); in cid_parse_font_matrix()
213 temp[5] = FT_DivFix( temp[5], temp_scale ); in cid_parse_font_matrix()
/external/freetype/src/type42/
Dt42parse.c275 temp[0] = FT_DivFix( temp[0], temp_scale ); in t42_parse_font_matrix()
276 temp[1] = FT_DivFix( temp[1], temp_scale ); in t42_parse_font_matrix()
277 temp[2] = FT_DivFix( temp[2], temp_scale ); in t42_parse_font_matrix()
278 temp[4] = FT_DivFix( temp[4], temp_scale ); in t42_parse_font_matrix()
279 temp[5] = FT_DivFix( temp[5], temp_scale ); in t42_parse_font_matrix()
/external/freetype/src/truetype/
Dttobjs.c1357 size_metrics->x_scale = FT_DivFix( size_metrics->x_ppem << 6, in tt_size_reset()
1359 size_metrics->y_scale = FT_DivFix( size_metrics->y_ppem << 6, in tt_size_reset()
1373 size->ttmetrics.y_ratio = FT_DivFix( size_metrics->y_ppem, in tt_size_reset()
1380 size->ttmetrics.x_ratio = FT_DivFix( size_metrics->x_ppem, in tt_size_reset()
/external/freetype/src/type1/
Dt1load.c245 FT_DivFix( ncv - axismap->blend_points[j - 1], in mm_axis_unmap()
1408 root->units_per_EM = (FT_UShort)FT_DivFix( 1000, temp_scale ); in t1_parse_font_matrix()
1410 temp[0] = FT_DivFix( temp[0], temp_scale ); in t1_parse_font_matrix()
1411 temp[1] = FT_DivFix( temp[1], temp_scale ); in t1_parse_font_matrix()
1412 temp[2] = FT_DivFix( temp[2], temp_scale ); in t1_parse_font_matrix()
1413 temp[4] = FT_DivFix( temp[4], temp_scale ); in t1_parse_font_matrix()
1414 temp[5] = FT_DivFix( temp[5], temp_scale ); in t1_parse_font_matrix()
/external/freetype/include/freetype/
Dfreetype.h4639 FT_DivFix( FT_Long a,
/external/freetype/src/pshinter/
Dpshglob.c730 max_scale = FT_DivFix( 1000, max_height ); in psh_globals_new()

12