Home
last modified time | relevance | path

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

/external/freetype/src/autofit/
Dafloader.c258 size_metrics->ascender = FT_PIX_ROUND( in af_loader_load_glyph()
261 size_metrics->descender = FT_PIX_ROUND( in af_loader_load_glyph()
264 size_metrics->height = FT_PIX_ROUND( in af_loader_load_glyph()
272 size_metrics->max_advance = FT_PIX_ROUND( in af_loader_load_glyph()
467 loader->pp1.x = FT_PIX_ROUND( pp1x_uh ); in af_loader_load_glyph()
468 loader->pp2.x = FT_PIX_ROUND( pp2x_uh ); in af_loader_load_glyph()
485 loader->pp1.x = FT_PIX_ROUND( pp1x + hints->xmin_delta ); in af_loader_load_glyph()
486 loader->pp2.x = FT_PIX_ROUND( pp2x + hints->xmax_delta ); in af_loader_load_glyph()
500 loader->pp1.x = FT_PIX_ROUND( pp1x ); in af_loader_load_glyph()
501 loader->pp2.x = FT_PIX_ROUND( pp2x ); in af_loader_load_glyph()
[all …]
Daflatin2.c671 delta2 = FT_PIX_ROUND( delta2 ); in af_latin2_metrics_scale_dim()
676 blue->ref.fit = FT_PIX_ROUND( blue->ref.cur ); in af_latin2_metrics_scale_dim()
1630 scaled = FT_PIX_ROUND( reference ); in af_latin2_snap_width()
1988 cur_pos1 = FT_PIX_ROUND( org_center ); in af_latin2_hint_edges()
2007 edge->pos = FT_PIX_ROUND( edge->opos ); in af_latin2_hint_edges()
2108 fit = FT_PIX_ROUND( org ); in af_latin2_hint_edges()
2116 fit = FT_PIX_ROUND( org ); in af_latin2_hint_edges()
2271 edge->pos = FT_PIX_ROUND( edge->opos ); in af_latin2_hint_edges()
Daflatin.c1402 delta2 = FT_PIX_ROUND( delta2 ); in af_latin_metrics_scale_dim()
1407 blue->ref.fit = FT_PIX_ROUND( blue->ref.cur ); in af_latin_metrics_scale_dim()
1427 blue->ref.fit = FT_PIX_ROUND( blue->ref.cur ); in af_latin_metrics_scale_dim()
2708 scaled = FT_PIX_ROUND( reference ); in af_latin_snap_width()
3169 cur_pos1 = FT_PIX_ROUND( org_center ); in af_latin_hint_edges()
3188 edge->pos = FT_PIX_ROUND( edge->opos ); in af_latin_hint_edges()
3234 cur_pos1 = FT_PIX_ROUND( org_center ); in af_latin_hint_edges()
3281 cur_pos1 = FT_PIX_ROUND( org_pos ); in af_latin_hint_edges()
3286 cur_pos2 = FT_PIX_ROUND( org_pos + org_len ) - cur_len; in af_latin_hint_edges()
3427 edge->pos = FT_PIX_ROUND( edge->opos ); in af_latin_hint_edges()
Dafcjk.c720 blue->ref.fit = FT_PIX_ROUND( blue->ref.cur ); in af_cjk_metrics_scale_dim()
738 delta2 = FT_PIX_ROUND( delta2 ); in af_cjk_metrics_scale_dim()
1489 scaled = FT_PIX_ROUND( reference ); in af_cjk_snap_width()
/external/freetype/src/pshinter/
Dpshalgo.c382 len = FT_PIX_ROUND( len ); in psh_dimension_quantize_len()
386 len = FT_PIX_ROUND( len ); in psh_dimension_quantize_len()
424 FT_Fixed delta1 = FT_PIX_ROUND( pos ) - pos; in psh_hint_snap_stem_side_delta()
425 FT_Fixed delta2 = FT_PIX_ROUND( pos + len ) - pos - len; in psh_hint_snap_stem_side_delta()
575 FT_Pos left_nearest = FT_PIX_ROUND( pos ); in psh_hint_align()
576 FT_Pos right_nearest = FT_PIX_ROUND( pos + len ); in psh_hint_align()
593 pos = FT_PIX_ROUND( pos ); in psh_hint_align()
617 len = FT_PIX_ROUND( len ); in psh_hint_align()
640 pos = FT_PIX_ROUND( pos + ( len >> 1 ) ); in psh_hint_align()
795 delta_b = FT_PIX_ROUND( center ) - center;
[all …]
Dpshglob.c55 width->fit = FT_PIX_ROUND( width->cur ); in psh_globals_scale_widths()
75 width->fit = FT_PIX_ROUND( w ); in psh_globals_scale_widths()
460 zone->cur_ref = FT_PIX_ROUND( zone->cur_ref ); in psh_blues_scale_zones()
/external/freetype/src/truetype/
Dttgload.c864 FT_PIX_ROUND( zone->cur[zone->n_points - 4].x ); in TT_Hint_Glyph()
866 FT_PIX_ROUND( zone->cur[zone->n_points - 3].x ); in TT_Hint_Glyph()
868 FT_PIX_ROUND( zone->cur[zone->n_points - 2].y ); in TT_Hint_Glyph()
870 FT_PIX_ROUND( zone->cur[zone->n_points - 1].y ); in TT_Hint_Glyph()
991 loader->linear = FT_PIX_ROUND( unrounded[n_points - 3].x - in TT_Process_Simple_Glyph()
994 loader->vadvance = FT_PIX_ROUND( unrounded[n_points - 1].x - in TT_Process_Simple_Glyph()
1318 x = FT_PIX_ROUND( x ); in TT_Process_Composite_Component()
1320 y = FT_PIX_ROUND( y ); in TT_Process_Composite_Component()
1804 loader->linear = FT_PIX_ROUND( unrounded[1].x - in load_truetype_glyph()
1807 loader->vadvance = FT_PIX_ROUND( unrounded[3].x - in load_truetype_glyph()
[all …]
Dttobjs.c1332 size_metrics->ascender = FT_PIX_ROUND( in tt_size_reset()
1335 size_metrics->descender = FT_PIX_ROUND( in tt_size_reset()
1338 size_metrics->height = FT_PIX_ROUND( in tt_size_reset()
1361 size_metrics->max_advance = FT_PIX_ROUND( in tt_size_reset()
Dttinterp.c5779 dy = FT_PIX_ROUND( B1 + dy ) - B1; in Ins_SHPIX()
6416 distance = FT_PIX_ROUND( B1 + distance - cur_dist ) - B1 + cur_dist; in Ins_MIRP()
7222 B = FT_PIX_ROUND( B1 + B ) - B1; in Ins_DELTAP()
/external/freetype/src/base/
Dftbitmap.c325 if ( ( ( FT_PIX_ROUND( xStrength ) >> 6 ) > FT_INT_MAX ) || in FT_Bitmap_Embolden()
326 ( ( FT_PIX_ROUND( yStrength ) >> 6 ) > FT_INT_MAX ) ) in FT_Bitmap_Embolden()
329 xstr = (FT_Int)FT_PIX_ROUND( xStrength ) >> 6; in FT_Bitmap_Embolden()
330 ystr = (FT_Int)FT_PIX_ROUND( yStrength ) >> 6; in FT_Bitmap_Embolden()
Dftobjs.c2963 w = FT_PIX_ROUND( w ); in FT_Match_Size()
2964 h = FT_PIX_ROUND( h ); in FT_Match_Size()
2974 if ( h != FT_PIX_ROUND( bsize->y_ppem ) ) in FT_Match_Size()
2977 if ( w == FT_PIX_ROUND( bsize->x_ppem ) || ignore_width ) in FT_Match_Size()
3035 metrics->height = FT_PIX_ROUND( FT_MulFix( face->height, in ft_recompute_scaled_metrics()
3038 metrics->max_advance = FT_PIX_ROUND( FT_MulFix( face->max_advance_width, in ft_recompute_scaled_metrics()
3461 akerning->x = FT_PIX_ROUND( akerning->x ); in FT_Get_Kerning()
3462 akerning->y = FT_PIX_ROUND( akerning->y ); in FT_Get_Kerning()
3466 FT_Pos orig_x_rounded = FT_PIX_ROUND( orig_x ); in FT_Get_Kerning()
3467 FT_Pos orig_y_rounded = FT_PIX_ROUND( orig_y ); in FT_Get_Kerning()
/external/freetype/src/winfonts/
Dwinfnt.c820 bsize->y_ppem = FT_PIX_ROUND( bsize->y_ppem ); in FNT_Face_Init()
839 bsize->x_ppem = FT_PIX_ROUND( bsize->x_ppem ); in FNT_Face_Init()
/external/freetype/include/freetype/internal/
Dftobjs.h92 #define FT_PIX_ROUND( x ) FT_PIX_FLOOR( (x) + 32 ) macro
/external/freetype/src/pfr/
Dpfrsbit.c770 glyph->root.metrics.horiAdvance = FT_PIX_ROUND( ( advance >> 2 ) ); in pfr_slot_load_bitmap()
/external/freetype/
DChangeLog.212863 FT_RoundFix but FT_PIX_ROUND.
3496 FT_PAD_CEIL, FT_PIX_FLOOR, FT_PIX_ROUND, FT_PIX_CEIL): New macros.