Home
last modified time | relevance | path

Searched refs:FT_MulFix (Results 1 – 25 of 44) sorted by relevance

12

/external/freetype/src/autofit/
Dafloader.c148 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 …]
Dafwarp.c122 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()
Daflatin2.c582 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 …]
Daflatin.c1232 scaled = FT_MulFix( blue->shoot.org, scale ); in af_latin_metrics_scale_dim()
1274 dist = FT_ABS( FT_MulFix( max_height, new_scale - scale ) ); in af_latin_metrics_scale_dim()
1333 width->cur = FT_MulFix( width->org, scale ); in af_latin_metrics_scale_dim()
1346 FT_BOOL( FT_MulFix( axis->standard_width, scale ) < 32 + 8 ); in af_latin_metrics_scale_dim()
1370 blue->ref.cur = FT_MulFix( blue->ref.org, scale ) + delta; in af_latin_metrics_scale_dim()
1372 blue->shoot.cur = FT_MulFix( blue->shoot.org, scale ) + delta; in af_latin_metrics_scale_dim()
1377 dist = FT_MulFix( blue->ref.org - blue->shoot.org, scale ); in af_latin_metrics_scale_dim()
1396 delta2 = FT_MulFix( delta2, scale ); in af_latin_metrics_scale_dim()
2176 edge_distance_threshold = FT_MulFix( laxis->edge_distance_threshold, in af_latin_hints_compute_edges()
2242 edge->opos = FT_MulFix( seg->pos, scale ); in af_latin_hints_compute_edges()
[all …]
Dafcjk.c708 blue->ref.cur = FT_MulFix( blue->ref.org, scale ) + delta; in af_cjk_metrics_scale_dim()
710 blue->shoot.cur = FT_MulFix( blue->shoot.org, scale ) + delta; in af_cjk_metrics_scale_dim()
715 dist = FT_MulFix( blue->ref.org - blue->shoot.org, scale ); in af_cjk_metrics_scale_dim()
729 delta2 = FT_MulFix( delta2, scale ); in af_cjk_metrics_scale_dim()
1043 edge_distance_threshold = FT_MulFix( laxis->edge_distance_threshold, in af_cjk_hints_compute_edges()
1127 edge->opos = FT_MulFix( seg->pos, scale ); in af_cjk_hints_compute_edges()
1308 best_dist0 = FT_MulFix( metrics->units_per_em / 40, scale ); in af_cjk_hints_compute_blue_edges()
1366 dist = FT_MulFix( dist, scale ); in af_cjk_hints_compute_blue_edges()
Dafhints.c894 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()
/external/freetype/src/psaux/
Dpshints.c205 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 …]
Dpsblues.c162 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()
Dpsfont.c140 stemWidthPer1000 = FT_MulFix( stemWidth + boldenAmount, emRatio ); in cf2_computeDarkening()
163 scaledStem = FT_MulFix( stemWidthPer1000, ppem ); in cf2_computeDarkening()
/external/freetype/src/base/
Dftcalc.c44 #undef FT_MulFix
232 FT_MulFix( FT_Long a_, in FT_MulFix() function
509 FT_MulFix( FT_Long a_, in FT_MulFix() function
670 xx = ADD_LONG( FT_MulFix( a->xx, b->xx ), in FT_Matrix_Multiply()
671 FT_MulFix( a->xy, b->yx ) ); in FT_Matrix_Multiply()
672 xy = ADD_LONG( FT_MulFix( a->xx, b->xy ), in FT_Matrix_Multiply()
673 FT_MulFix( a->xy, b->yy ) ); in FT_Matrix_Multiply()
674 yx = ADD_LONG( FT_MulFix( a->yx, b->xx ), in FT_Matrix_Multiply()
675 FT_MulFix( a->yy, b->yx ) ); in FT_Matrix_Multiply()
676 yy = ADD_LONG( FT_MulFix( a->yx, b->xy ), in FT_Matrix_Multiply()
[all …]
Dftoutln.c693 xz = FT_MulFix( vector->x, matrix->xx ) + in FT_Vector_Transform()
694 FT_MulFix( vector->y, matrix->xy ); in FT_Vector_Transform()
696 yz = FT_MulFix( vector->x, matrix->yx ) + in FT_Vector_Transform()
697 FT_MulFix( vector->y, matrix->yy ); in FT_Vector_Transform()
977 d = FT_MulFix( in.x, out.x ) + FT_MulFix( in.y, out.y ); in FT_Outline_EmboldenXY()
994 q = FT_MulFix( out.x, in.y ) - FT_MulFix( out.y, in.x ); in FT_Outline_EmboldenXY()
1001 if ( FT_MulFix( xstrength, q ) <= FT_MulFix( l, d ) ) in FT_Outline_EmboldenXY()
1007 if ( FT_MulFix( ystrength, q ) <= FT_MulFix( l, d ) ) in FT_Outline_EmboldenXY()
Dftsynth.c109 xstr = FT_MulFix( face->units_per_EM, in FT_GlyphSlot_Embolden()
Dftobjs.c3009 metrics->ascender = FT_PIX_CEIL( FT_MulFix( face->ascender, in ft_recompute_scaled_metrics()
3012 metrics->descender = FT_PIX_FLOOR( FT_MulFix( face->descender, in ft_recompute_scaled_metrics()
3015 metrics->height = FT_PIX_ROUND( FT_MulFix( face->height, in ft_recompute_scaled_metrics()
3018 metrics->max_advance = FT_PIX_ROUND( FT_MulFix( face->max_advance_width, in ft_recompute_scaled_metrics()
3021 metrics->ascender = FT_MulFix( face->ascender, in ft_recompute_scaled_metrics()
3024 metrics->descender = FT_MulFix( face->descender, in ft_recompute_scaled_metrics()
3027 metrics->height = FT_MulFix( face->height, in ft_recompute_scaled_metrics()
3030 metrics->max_advance = FT_MulFix( face->max_advance_width, in ft_recompute_scaled_metrics()
3161 scaled_w = FT_MulFix( face->units_per_EM, metrics->x_scale ); in FT_Request_Metrics()
3162 scaled_h = FT_MulFix( face->units_per_EM, metrics->y_scale ); in FT_Request_Metrics()
[all …]
/external/freetype/src/pshinter/
Dpshglob.c55 width->cur = FT_MulFix( width->org, scale ); in psh_globals_scale_widths()
66 w = FT_MulFix( width->org, scale ); in psh_globals_scale_widths()
90 FT_Pos width = FT_MulFix( org_width, dimension->scale_mult );
424 while ( threshold > 0 && FT_MulFix( threshold, scale ) > 32 ) in psh_blues_scale_zones()
455 zone->cur_top = FT_MulFix( zone->org_top, scale ) + delta; in psh_blues_scale_zones()
456 zone->cur_bottom = FT_MulFix( zone->org_bottom, scale ) + delta; in psh_blues_scale_zones()
457 zone->cur_ref = FT_MulFix( zone->org_ref, scale ) + delta; in psh_blues_scale_zones()
458 zone->cur_delta = FT_MulFix( zone->org_delta, scale ); in psh_blues_scale_zones()
512 if ( FT_MulFix( Delta, scale ) < 64 ) in psh_blues_scale_zones()
Dpshalgo.c410 hint->cur_pos = FT_MulFix( hint->org_pos, scale ) + delta; in ps_simple_scale()
411 hint->cur_len = FT_MulFix( hint->org_len, scale ); in ps_simple_scale()
449 FT_Pos pos = FT_MulFix( hint->org_pos, scale ) + delta; in psh_hint_align()
450 FT_Pos len = FT_MulFix( hint->org_len, scale ); in psh_hint_align()
526 cur_delta = FT_MulFix( cur_org_center - par_org_center, scale ); in psh_hint_align()
677 FT_Pos pos = FT_MulFix( hint->org_pos, scale ) + delta;
678 FT_Pos len = FT_MulFix( hint->org_len, scale );
747 cur_delta = FT_MulFix( cur_org_center - par_org_center, scale );
1750 point->cur_u = hint->cur_pos + FT_MulFix( delta, scale ); in psh_glyph_interpolate_strong_points()
1754 FT_MulFix( delta - hint->org_len, scale ); in psh_glyph_interpolate_strong_points()
[all …]
/external/freetype/src/truetype/
Dttgload.c1053 FT_MulFix( 1280 * ppem, in TT_Process_Simple_Glyph()
1089 vec->x = ( FT_MulFix( u->x, x_scale ) + 32 ) >> 6; in TT_Process_Simple_Glyph()
1090 vec->y = ( FT_MulFix( u->y, y_scale ) + 32 ) >> 6; in TT_Process_Simple_Glyph()
1098 vec->x = FT_MulFix( vec->x, x_scale ); in TT_Process_Simple_Glyph()
1099 vec->y = FT_MulFix( vec->y, y_scale ); in TT_Process_Simple_Glyph()
1243 x = FT_MulFix( x, m ); in TT_Process_Composite_Component()
1244 y = FT_MulFix( y, n ); in TT_Process_Composite_Component()
1258 x = FT_MulFix( x, mac_xscale ); in TT_Process_Composite_Component()
1259 y = FT_MulFix( y, mac_yscale ); in TT_Process_Composite_Component()
1271 x = FT_MulFix( x, x_scale ); in TT_Process_Composite_Component()
[all …]
Dttobjs.c951 size->cvt[i] = FT_MulFix( face->cvt[i], scale ); in tt_size_run_prep()
1334 FT_MulFix( face->root.ascender, in tt_size_reset()
1337 FT_MulFix( face->root.descender, in tt_size_reset()
1340 FT_MulFix( face->root.height, in tt_size_reset()
1363 FT_MulFix( face->root.max_advance_width, in tt_size_reset()
Dttgxvar.c940 scaledDelta = FT_MulFix( scalar, delta ); in ft_var_get_item_delta()
1932 design[i] = a->def + FT_MulFix( design[i], in ft_var_to_design()
1935 design[i] = a->def + FT_MulFix( design[i], in ft_var_to_design()
3382 cvt_deltas[j] = old_cvt_delta + FT_MulFix( deltas[j], apply ); in tt_face_vary_cvt()
3424 cvt_deltas[pindex] = old_cvt_delta + FT_MulFix( deltas[j], apply ); in tt_face_vary_cvt()
3577 out = out1 + FT_MulFix( out - in1, scale ); in tt_delta_interpolate()
3935 FT_Fixed point_delta_x = FT_MulFix( deltas_x[j], apply ); in TT_Vary_Apply_Glyph_Deltas()
3936 FT_Fixed point_delta_y = FT_MulFix( deltas_y[j], apply ); in TT_Vary_Apply_Glyph_Deltas()
4019 points_out[idx].x += FT_MulFix( deltas_x[j], apply ); in TT_Vary_Apply_Glyph_Deltas()
4020 points_out[idx].y += FT_MulFix( deltas_y[j], apply ); in TT_Vary_Apply_Glyph_Deltas()
Dttinterp.c1549 return FT_MulFix( exc->tt_metrics.ppem, Current_Ratio( exc ) ); in Current_Ppem_Stretched()
1572 return FT_MulFix( exc->cvt[idx], Current_Ratio( exc ) ); in Read_CVT_Stretched()
3179 exc->cvt[I] = FT_MulFix( args[1], exc->tt_metrics.scale ); in Ins_WCVTF()
4659 exc->GS.single_width_value = FT_MulFix( args[0], in Ins_SSW()
4984 D = FT_MulFix( D, exc->metrics.x_scale ); in Ins_MD()
4991 vec.x = FT_MulFix( vec1->x - vec2->x, exc->metrics.x_scale ); in Ins_MD()
4992 vec.y = FT_MulFix( vec1->y - vec2->y, exc->metrics.y_scale ); in Ins_MD()
6187 org_dist = FT_MulFix( org_dist, exc->metrics.x_scale ); in Ins_MDRP()
6194 vec.x = FT_MulFix( SUB_LONG( vec1->x, vec2->x ), in Ins_MDRP()
6196 vec.y = FT_MulFix( SUB_LONG( vec1->y, vec2->y ), in Ins_MDRP()
[all …]
/external/freetype/src/cid/
Dcidgload.c465 metrics->horiAdvance = FT_MulFix( metrics->horiAdvance, in cid_slot_load_glyph()
467 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, in cid_slot_load_glyph()
495 vec->x = FT_MulFix( vec->x, x_scale ); in cid_slot_load_glyph()
496 vec->y = FT_MulFix( vec->y, y_scale ); in cid_slot_load_glyph()
500 metrics->horiAdvance = FT_MulFix( metrics->horiAdvance, x_scale ); in cid_slot_load_glyph()
501 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale ); in cid_slot_load_glyph()
/external/freetype/src/type1/
Dt1gload.c520 metrics->horiAdvance = FT_MulFix( metrics->horiAdvance, in T1_Load_Glyph()
522 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, in T1_Load_Glyph()
551 vec->x = FT_MulFix( vec->x, x_scale ); in T1_Load_Glyph()
552 vec->y = FT_MulFix( vec->y, y_scale ); in T1_Load_Glyph()
556 metrics->horiAdvance = FT_MulFix( metrics->horiAdvance, x_scale ); in T1_Load_Glyph()
557 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale ); in T1_Load_Glyph()
/external/freetype/src/cff/
Dcffgload.c619 metrics->horiAdvance = FT_MulFix( metrics->horiAdvance, in cff_slot_load()
621 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, in cff_slot_load()
649 vec->x = FT_MulFix( vec->x, x_scale ); in cff_slot_load()
650 vec->y = FT_MulFix( vec->y, y_scale ); in cff_slot_load()
654 metrics->horiAdvance = FT_MulFix( metrics->horiAdvance, x_scale ); in cff_slot_load()
655 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale ); in cff_slot_load()
/external/freetype/src/pfr/
Dpfrobjs.c439 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()
Dpfrgload.c794 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/
Dhb-ft.cc490 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()

12