/external/freetype/src/autofit/ |
D | afloader.c | 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() 259 FT_MulFix( face->ascender, in af_loader_load_glyph() 262 FT_MulFix( face->descender, in af_loader_load_glyph() 265 FT_MulFix( face->height, in af_loader_load_glyph() 273 FT_MulFix( face->max_advance_width, in af_loader_load_glyph() 413 loader->pp2.x = FT_MulFix( slot->metrics.horiAdvance, in af_loader_load_glyph() 522 vvector.x = FT_MulFix( vvector.x, style_metrics->scaler.x_scale ); in af_loader_load_glyph() 523 vvector.y = FT_MulFix( vvector.y, style_metrics->scaler.y_scale ); in af_loader_load_glyph() 561 FT_MulFix( slot->metrics.horiAdvance, in af_loader_load_glyph() [all …]
|
D | afwarp.c | 122 FT_Pos y0 = FT_MulFix( segments[nn].pos, scale ) + delta; in af_warper_compute_line_best() 240 warper->x1 = FT_MulFix( X1, org_scale ) + org_delta; in af_warper_compute() 241 warper->x2 = FT_MulFix( X2, org_scale ) + org_delta; in af_warper_compute() 344 new_delta = xx1 - FT_MulFix( X1, new_scale ); in af_warper_compute() 356 hints->xmin_delta = FT_MulFix( X1, best_scale - org_scale ) in af_warper_compute() 358 hints->xmax_delta = FT_MulFix( X2, best_scale - org_scale ) in af_warper_compute()
|
D | aflatin2.c | 582 scaled = FT_MulFix( blue->shoot.org, scaler->y_scale ); in af_latin2_metrics_scale_dim() 629 width->cur = FT_MulFix( width->org, scale ); in af_latin2_metrics_scale_dim() 636 FT_BOOL( FT_MulFix( axis->standard_width, scale ) < 32 + 8 ); in af_latin2_metrics_scale_dim() 647 blue->ref.cur = FT_MulFix( blue->ref.org, scale ) + delta; in af_latin2_metrics_scale_dim() 649 blue->shoot.cur = FT_MulFix( blue->shoot.org, scale ) + delta; in af_latin2_metrics_scale_dim() 654 dist = FT_MulFix( blue->ref.org - blue->shoot.org, scale ); in af_latin2_metrics_scale_dim() 664 delta2 = FT_MulFix( delta2, scale ); in af_latin2_metrics_scale_dim() 1146 edge_distance_threshold = FT_MulFix( laxis->edge_distance_threshold, in af_latin2_hints_compute_edges() 1219 edge->opos = FT_MulFix( seg->pos, scale ); in af_latin2_hints_compute_edges() 1423 best_dist0 = FT_MulFix( metrics->units_per_em / 40, scale ); in af_latin2_hints_compute_blue_edges() [all …]
|
D | aflatin.c | 1231 scaled = FT_MulFix( blue->shoot.org, scale ); in af_latin_metrics_scale_dim() 1273 dist = FT_ABS( FT_MulFix( max_height, new_scale - scale ) ); in af_latin_metrics_scale_dim() 1332 width->cur = FT_MulFix( width->org, scale ); in af_latin_metrics_scale_dim() 1345 FT_BOOL( FT_MulFix( axis->standard_width, scale ) < 32 + 8 ); in af_latin_metrics_scale_dim() 1369 blue->ref.cur = FT_MulFix( blue->ref.org, scale ) + delta; in af_latin_metrics_scale_dim() 1371 blue->shoot.cur = FT_MulFix( blue->shoot.org, scale ) + delta; in af_latin_metrics_scale_dim() 1376 dist = FT_MulFix( blue->ref.org - blue->shoot.org, scale ); in af_latin_metrics_scale_dim() 1395 delta2 = FT_MulFix( delta2, scale ); in af_latin_metrics_scale_dim() 2175 edge_distance_threshold = FT_MulFix( laxis->edge_distance_threshold, in af_latin_hints_compute_edges() 2241 edge->opos = FT_MulFix( seg->pos, scale ); in af_latin_hints_compute_edges() [all …]
|
D | afhints.c | 894 point->ox = point->x = FT_MulFix( vec->x, x_scale ) + x_delta; in af_glyph_hints_reload() 895 point->oy = point->y = FT_MulFix( vec->y, y_scale ) + y_delta; in af_glyph_hints_reload() 1443 u = before->pos + FT_MulFix( fu - before->fpos, in af_glyph_hints_align_strong_points() 1556 u = u1 + FT_MulFix( u - v1, scale ); in af_iup_interp() 1709 point->x = FT_MulFix( point->fx, scale ) + delta; in af_glyph_hints_scale_dim() 1714 point->y = FT_MulFix( point->fy, scale ) + delta; in af_glyph_hints_scale_dim()
|
D | afcjk.c | 707 blue->ref.cur = FT_MulFix( blue->ref.org, scale ) + delta; in af_cjk_metrics_scale_dim() 709 blue->shoot.cur = FT_MulFix( blue->shoot.org, scale ) + delta; in af_cjk_metrics_scale_dim() 714 dist = FT_MulFix( blue->ref.org - blue->shoot.org, scale ); in af_cjk_metrics_scale_dim() 728 delta2 = FT_MulFix( delta2, scale ); in af_cjk_metrics_scale_dim() 1042 edge_distance_threshold = FT_MulFix( laxis->edge_distance_threshold, in af_cjk_hints_compute_edges() 1126 edge->opos = FT_MulFix( seg->pos, scale ); in af_cjk_hints_compute_edges() 1307 best_dist0 = FT_MulFix( metrics->units_per_em / 40, scale ); in af_cjk_hints_compute_blue_edges() 1365 dist = FT_MulFix( dist, scale ); in af_cjk_hints_compute_blue_edges()
|
/external/freetype/src/psaux/ |
D | pshints.c | 205 hint->dsCoord = FT_MulFix( hint->csCoord, scale ); in cf2_hint_init() 337 return FT_MulFix( csCoord, hintmap->scale ); in cf2_hintmap_map() 361 return ADD_INT32( FT_MulFix( SUB_INT32( csCoord, in cf2_hintmap_map() 372 return ADD_INT32( FT_MulFix( SUB_INT32( csCoord, in cf2_hintmap_map() 692 FT_MulFix( SUB_INT32( secondHintEdge->csCoord, in cf2_hintmap_insertHint() 1173 pt.x = ADD_INT32( FT_MulFix( glyphpath->scaleX, x ), in cf2_glyphpath_hintPoint() 1174 FT_MulFix( glyphpath->scaleC, y ) ); in cf2_glyphpath_hintPoint() 1178 FT_MulFix( glyphpath->font->outerTransform.a, pt.x ), in cf2_glyphpath_hintPoint() 1180 FT_MulFix( glyphpath->font->outerTransform.c, pt.y ), in cf2_glyphpath_hintPoint() 1183 FT_MulFix( glyphpath->font->outerTransform.b, pt.x ), in cf2_glyphpath_hintPoint() [all …]
|
D | psblues.c | 162 FT_MulFix( in cf2_blues_init() 174 FT_MulFix( in cf2_blues_init() 433 FT_MulFix( in cf2_blues_init() 439 FT_MulFix( in cf2_blues_init()
|
D | psfont.c | 139 stemWidthPer1000 = FT_MulFix( stemWidth + boldenAmount, emRatio ); in cf2_computeDarkening() 162 scaledStem = FT_MulFix( stemWidthPer1000, ppem ); in cf2_computeDarkening()
|
/external/freetype/src/truetype/ |
D | ttgload.c | 1062 FT_MulFix( 1280 * ppem, in TT_Process_Simple_Glyph() 1098 vec->x = ( FT_MulFix( u->x, x_scale ) + 32 ) >> 6; in TT_Process_Simple_Glyph() 1099 vec->y = ( FT_MulFix( u->y, y_scale ) + 32 ) >> 6; in TT_Process_Simple_Glyph() 1107 vec->x = FT_MulFix( vec->x, x_scale ); in TT_Process_Simple_Glyph() 1108 vec->y = FT_MulFix( vec->y, y_scale ); in TT_Process_Simple_Glyph() 1119 loader->pp1.x = FT_MulFix( loader->pp1.x, x_scale ); in TT_Process_Simple_Glyph() 1120 loader->pp2.x = FT_MulFix( loader->pp2.x, x_scale ); in TT_Process_Simple_Glyph() 1136 loader->pp3.x = FT_MulFix( loader->pp3.x, x_scale ); in TT_Process_Simple_Glyph() 1137 loader->pp3.y = FT_MulFix( loader->pp3.y, y_scale ); in TT_Process_Simple_Glyph() 1138 loader->pp4.x = FT_MulFix( loader->pp4.x, x_scale ); in TT_Process_Simple_Glyph() [all …]
|
D | ttobjs.c | 950 size->cvt[i] = FT_MulFix( face->cvt[i], scale ); in tt_size_run_prep() 1333 FT_MulFix( face->root.ascender, in tt_size_reset() 1336 FT_MulFix( face->root.descender, in tt_size_reset() 1339 FT_MulFix( face->root.height, in tt_size_reset() 1362 FT_MulFix( face->root.max_advance_width, in tt_size_reset()
|
D | ttgxvar.c | 940 scaledDelta = FT_MulFix( scalar, delta ); in ft_var_get_item_delta() 1968 design[i] = a->def + FT_MulFix( design[i], in ft_var_to_design() 1971 design[i] = a->def + FT_MulFix( design[i], in ft_var_to_design() 3421 cvt_deltas[j] = old_cvt_delta + FT_MulFix( deltas[j], apply ); in tt_face_vary_cvt() 3463 cvt_deltas[pindex] = old_cvt_delta + FT_MulFix( deltas[j], apply ); in tt_face_vary_cvt() 3616 out = out1 + FT_MulFix( out - in1, scale ); in tt_delta_interpolate() 3974 FT_Fixed point_delta_x = FT_MulFix( deltas_x[j], apply ); in TT_Vary_Apply_Glyph_Deltas() 3975 FT_Fixed point_delta_y = FT_MulFix( deltas_y[j], apply ); in TT_Vary_Apply_Glyph_Deltas() 4058 points_out[idx].x += FT_MulFix( deltas_x[j], apply ); in TT_Vary_Apply_Glyph_Deltas() 4059 points_out[idx].y += FT_MulFix( deltas_y[j], apply ); in TT_Vary_Apply_Glyph_Deltas()
|
D | ttinterp.c | 1548 return FT_MulFix( exc->tt_metrics.ppem, Current_Ratio( exc ) ); in Current_Ppem_Stretched() 1571 return FT_MulFix( exc->cvt[idx], Current_Ratio( exc ) ); in Read_CVT_Stretched() 3174 exc->cvt[I] = FT_MulFix( args[1], exc->tt_metrics.scale ); in Ins_WCVTF() 4651 exc->GS.single_width_value = FT_MulFix( args[0], in Ins_SSW() 4976 D = FT_MulFix( D, exc->metrics.x_scale ); in Ins_MD() 4983 vec.x = FT_MulFix( vec1->x - vec2->x, exc->metrics.x_scale ); in Ins_MD() 4984 vec.y = FT_MulFix( vec1->y - vec2->y, exc->metrics.y_scale ); in Ins_MD() 6137 org_dist = FT_MulFix( org_dist, exc->metrics.x_scale ); in Ins_MDRP() 6144 vec.x = FT_MulFix( SUB_LONG( vec1->x, vec2->x ), in Ins_MDRP() 6146 vec.y = FT_MulFix( SUB_LONG( vec1->y, vec2->y ), in Ins_MDRP() [all …]
|
/external/freetype/src/base/ |
D | ftcalc.c | 43 #undef FT_MulFix 231 FT_MulFix( FT_Long a_, in FT_MulFix() function 508 FT_MulFix( FT_Long a_, in FT_MulFix() function 669 xx = ADD_LONG( FT_MulFix( a->xx, b->xx ), in FT_Matrix_Multiply() 670 FT_MulFix( a->xy, b->yx ) ); in FT_Matrix_Multiply() 671 xy = ADD_LONG( FT_MulFix( a->xx, b->xy ), in FT_Matrix_Multiply() 672 FT_MulFix( a->xy, b->yy ) ); in FT_Matrix_Multiply() 673 yx = ADD_LONG( FT_MulFix( a->yx, b->xx ), in FT_Matrix_Multiply() 674 FT_MulFix( a->yy, b->yx ) ); in FT_Matrix_Multiply() 675 yy = ADD_LONG( FT_MulFix( a->yx, b->xy ), in FT_Matrix_Multiply() [all …]
|
D | ftoutln.c | 692 xz = FT_MulFix( vector->x, matrix->xx ) + in FT_Vector_Transform() 693 FT_MulFix( vector->y, matrix->xy ); in FT_Vector_Transform() 695 yz = FT_MulFix( vector->x, matrix->yx ) + in FT_Vector_Transform() 696 FT_MulFix( vector->y, matrix->yy ); in FT_Vector_Transform() 976 d = FT_MulFix( in.x, out.x ) + FT_MulFix( in.y, out.y ); in FT_Outline_EmboldenXY() 993 q = FT_MulFix( out.x, in.y ) - FT_MulFix( out.y, in.x ); in FT_Outline_EmboldenXY() 1000 if ( FT_MulFix( xstrength, q ) <= FT_MulFix( l, d ) ) in FT_Outline_EmboldenXY() 1006 if ( FT_MulFix( ystrength, q ) <= FT_MulFix( l, d ) ) in FT_Outline_EmboldenXY()
|
D | ftsynth.c | 108 xstr = FT_MulFix( face->units_per_EM, in FT_GlyphSlot_Embolden()
|
D | ftstroke.c | 559 a1.x = FT_MulFix( -a0.y, coef ); in ft_stroke_border_arcto() 560 a1.y = FT_MulFix( a0.x, coef ); in ft_stroke_border_arcto() 572 a2.x = FT_MulFix( a3.y, coef ); in ft_stroke_border_arcto() 573 a2.y = FT_MulFix( -a3.x, coef ); in ft_stroke_border_arcto() 1113 FT_MulFix( radius, stroker->miter_limit ), in ft_stroker_outside() 1117 delta.x = FT_MulFix( middle.y, coef ); in ft_stroker_outside() 1118 delta.y = FT_MulFix( -middle.x, coef ); in ft_stroker_outside()
|
/external/freetype/src/pshinter/ |
D | pshglob.c | 54 width->cur = FT_MulFix( width->org, scale ); in psh_globals_scale_widths() 65 w = FT_MulFix( width->org, scale ); in psh_globals_scale_widths() 89 FT_Pos width = FT_MulFix( org_width, dimension->scale_mult ); 423 while ( threshold > 0 && FT_MulFix( threshold, scale ) > 32 ) in psh_blues_scale_zones() 454 zone->cur_top = FT_MulFix( zone->org_top, scale ) + delta; in psh_blues_scale_zones() 455 zone->cur_bottom = FT_MulFix( zone->org_bottom, scale ) + delta; in psh_blues_scale_zones() 456 zone->cur_ref = FT_MulFix( zone->org_ref, scale ) + delta; in psh_blues_scale_zones() 457 zone->cur_delta = FT_MulFix( zone->org_delta, scale ); in psh_blues_scale_zones() 511 if ( FT_MulFix( Delta, scale ) < 64 ) in psh_blues_scale_zones()
|
D | pshalgo.c | 409 hint->cur_pos = FT_MulFix( hint->org_pos, scale ) + delta; in ps_simple_scale() 410 hint->cur_len = FT_MulFix( hint->org_len, scale ); in ps_simple_scale() 448 FT_Pos pos = FT_MulFix( hint->org_pos, scale ) + delta; in psh_hint_align() 449 FT_Pos len = FT_MulFix( hint->org_len, scale ); in psh_hint_align() 525 cur_delta = FT_MulFix( cur_org_center - par_org_center, scale ); in psh_hint_align() 676 FT_Pos pos = FT_MulFix( hint->org_pos, scale ) + delta; 677 FT_Pos len = FT_MulFix( hint->org_len, scale ); 746 cur_delta = FT_MulFix( cur_org_center - par_org_center, scale ); 1749 point->cur_u = hint->cur_pos + FT_MulFix( delta, scale ); in psh_glyph_interpolate_strong_points() 1753 FT_MulFix( delta - hint->org_len, scale ); in psh_glyph_interpolate_strong_points() [all …]
|
/external/freetype/src/cid/ |
D | cidgload.c | 464 metrics->horiAdvance = FT_MulFix( metrics->horiAdvance, in cid_slot_load_glyph() 466 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, in cid_slot_load_glyph() 494 vec->x = FT_MulFix( vec->x, x_scale ); in cid_slot_load_glyph() 495 vec->y = FT_MulFix( vec->y, y_scale ); in cid_slot_load_glyph() 499 metrics->horiAdvance = FT_MulFix( metrics->horiAdvance, x_scale ); in cid_slot_load_glyph() 500 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale ); in cid_slot_load_glyph()
|
/external/freetype/src/cff/ |
D | cffgload.c | 616 metrics->horiAdvance = FT_MulFix( metrics->horiAdvance, in cff_slot_load() 618 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, in cff_slot_load() 646 vec->x = FT_MulFix( vec->x, x_scale ); in cff_slot_load() 647 vec->y = FT_MulFix( vec->y, y_scale ); in cff_slot_load() 651 metrics->horiAdvance = FT_MulFix( metrics->horiAdvance, x_scale ); in cff_slot_load() 652 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale ); in cff_slot_load() 668 metrics->vertBearingY = FT_MulFix( metrics->vertBearingY, in cff_slot_load()
|
/external/freetype/src/type1/ |
D | t1gload.c | 519 metrics->horiAdvance = FT_MulFix( metrics->horiAdvance, in T1_Load_Glyph() 521 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, in T1_Load_Glyph() 550 vec->x = FT_MulFix( vec->x, x_scale ); in T1_Load_Glyph() 551 vec->y = FT_MulFix( vec->y, y_scale ); in T1_Load_Glyph() 555 metrics->horiAdvance = FT_MulFix( metrics->horiAdvance, x_scale ); in T1_Load_Glyph() 556 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale ); in T1_Load_Glyph()
|
/external/freetype/src/pfr/ |
D | pfrobjs.c | 439 vec->x = FT_MulFix( vec->x, x_scale ); in pfr_slot_load() 440 vec->y = FT_MulFix( vec->y, y_scale ); in pfr_slot_load() 444 metrics->horiAdvance = FT_MulFix( metrics->horiAdvance, x_scale ); in pfr_slot_load() 445 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale ); in pfr_slot_load()
|
D | pfrgload.c | 794 vec->x = FT_MulFix( vec->x, subglyph->x_scale ) + in pfr_glyph_load_rec() 796 vec->y = FT_MulFix( vec->y, subglyph->y_scale ) + in pfr_glyph_load_rec()
|
/external/harfbuzz_ng/src/ |
D | hb-ft.cc | 490 metrics->ascender = FT_MulFix(ft_face->ascender, ft_face->size->metrics.y_scale); in hb_ft_get_font_h_extents() 491 metrics->descender = FT_MulFix(ft_face->descender, ft_face->size->metrics.y_scale); in hb_ft_get_font_h_extents() 492 …metrics->line_gap = FT_MulFix( ft_face->height, ft_face->size->metrics.y_scale ) - (metrics->ascen… in hb_ft_get_font_h_extents()
|