Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/freetype/src/autofit/
Dafloader.c255 size_metrics->ascender = FT_PIX_ROUND( in af_loader_load_glyph()
258 size_metrics->descender = FT_PIX_ROUND( in af_loader_load_glyph()
261 size_metrics->height = FT_PIX_ROUND( in af_loader_load_glyph()
269 size_metrics->max_advance = FT_PIX_ROUND( in af_loader_load_glyph()
458 loader->pp1.x = FT_PIX_ROUND( pp1x_uh ); in af_loader_load_glyph()
459 loader->pp2.x = FT_PIX_ROUND( pp2x_uh ); in af_loader_load_glyph()
476 loader->pp1.x = FT_PIX_ROUND( pp1x ); in af_loader_load_glyph()
477 loader->pp2.x = FT_PIX_ROUND( pp2x ); in af_loader_load_glyph()
491 loader->pp1.x = FT_PIX_ROUND( pp1x ); in af_loader_load_glyph()
492 loader->pp2.x = FT_PIX_ROUND( pp2x ); in af_loader_load_glyph()
[all …]
Daflatin.c1397 delta2 = FT_PIX_ROUND( delta2 ); in af_latin_metrics_scale_dim()
1402 blue->ref.fit = FT_PIX_ROUND( blue->ref.cur ); in af_latin_metrics_scale_dim()
1422 blue->ref.fit = FT_PIX_ROUND( blue->ref.cur ); in af_latin_metrics_scale_dim()
2717 scaled = FT_PIX_ROUND( reference ); in af_latin_snap_width()
3178 cur_pos1 = FT_PIX_ROUND( org_center ); in af_latin_hint_edges()
3197 edge->pos = FT_PIX_ROUND( edge->opos ); in af_latin_hint_edges()
3243 cur_pos1 = FT_PIX_ROUND( org_center ); in af_latin_hint_edges()
3290 cur_pos1 = FT_PIX_ROUND( org_pos ); in af_latin_hint_edges()
3295 cur_pos2 = FT_PIX_ROUND( org_pos + org_len ) - cur_len; in af_latin_hint_edges()
3436 edge->pos = FT_PIX_ROUND( edge->opos ); in af_latin_hint_edges()
Dafcjk.c714 blue->ref.fit = FT_PIX_ROUND( blue->ref.cur ); in af_cjk_metrics_scale_dim()
732 delta2 = FT_PIX_ROUND( delta2 ); in af_cjk_metrics_scale_dim()
1472 scaled = FT_PIX_ROUND( reference ); in af_cjk_snap_width()
/third_party/skia/third_party/externals/freetype/src/pshinter/
Dpshalgo.c383 len = FT_PIX_ROUND( len ); in psh_dimension_quantize_len()
387 len = FT_PIX_ROUND( len ); in psh_dimension_quantize_len()
425 FT_Fixed delta1 = FT_PIX_ROUND( pos ) - pos; in psh_hint_snap_stem_side_delta()
426 FT_Fixed delta2 = FT_PIX_ROUND( pos + len ) - pos - len; in psh_hint_snap_stem_side_delta()
576 FT_Pos left_nearest = FT_PIX_ROUND( pos ); in psh_hint_align()
577 FT_Pos right_nearest = FT_PIX_ROUND( pos + len ); in psh_hint_align()
594 pos = FT_PIX_ROUND( pos ); in psh_hint_align()
618 len = FT_PIX_ROUND( len ); in psh_hint_align()
641 pos = FT_PIX_ROUND( pos + ( len >> 1 ) ); in psh_hint_align()
796 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()
/third_party/skia/third_party/externals/freetype/src/truetype/
Dttgload.c873 FT_PIX_ROUND( zone->cur[zone->n_points - 4].x ); in TT_Hint_Glyph()
875 FT_PIX_ROUND( zone->cur[zone->n_points - 3].x ); in TT_Hint_Glyph()
877 FT_PIX_ROUND( zone->cur[zone->n_points - 2].y ); in TT_Hint_Glyph()
879 FT_PIX_ROUND( zone->cur[zone->n_points - 1].y ); in TT_Hint_Glyph()
1000 loader->linear = FT_PIX_ROUND( unrounded[n_points - 3].x - in TT_Process_Simple_Glyph()
1003 loader->vadvance = FT_PIX_ROUND( unrounded[n_points - 1].x - in TT_Process_Simple_Glyph()
1327 x = FT_PIX_ROUND( x ); in TT_Process_Composite_Component()
1329 y = FT_PIX_ROUND( y ); in TT_Process_Composite_Component()
1810 loader->linear = FT_PIX_ROUND( unrounded[1].x - in load_truetype_glyph()
1813 loader->vadvance = FT_PIX_ROUND( unrounded[3].x - in load_truetype_glyph()
[all …]
Dttobjs.c1386 size_metrics->ascender = FT_PIX_ROUND( in tt_size_reset()
1389 size_metrics->descender = FT_PIX_ROUND( in tt_size_reset()
1392 size_metrics->height = FT_PIX_ROUND( in tt_size_reset()
1415 size_metrics->max_advance = FT_PIX_ROUND( in tt_size_reset()
Dttinterp.c5791 dy = FT_PIX_ROUND( B1 + dy ) - B1; in Ins_SHPIX()
6428 distance = FT_PIX_ROUND( B1 + distance - cur_dist ) - B1 + cur_dist; in Ins_MIRP()
7234 B = FT_PIX_ROUND( B1 + B ) - B1; in Ins_DELTAP()
/third_party/skia/third_party/externals/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.c3015 w = FT_PIX_ROUND( w ); in FT_Match_Size()
3016 h = FT_PIX_ROUND( h ); in FT_Match_Size()
3026 if ( h != FT_PIX_ROUND( bsize->y_ppem ) ) in FT_Match_Size()
3029 if ( w == FT_PIX_ROUND( bsize->x_ppem ) || ignore_width ) in FT_Match_Size()
3087 metrics->height = FT_PIX_ROUND( FT_MulFix( face->height, in ft_recompute_scaled_metrics()
3090 metrics->max_advance = FT_PIX_ROUND( FT_MulFix( face->max_advance_width, in ft_recompute_scaled_metrics()
3531 akerning->x = FT_PIX_ROUND( akerning->x ); in FT_Get_Kerning()
3532 akerning->y = FT_PIX_ROUND( akerning->y ); in FT_Get_Kerning()
3536 FT_Pos orig_x_rounded = FT_PIX_ROUND( orig_x ); in FT_Get_Kerning()
3537 FT_Pos orig_y_rounded = FT_PIX_ROUND( orig_y ); in FT_Get_Kerning()
/third_party/skia/third_party/externals/freetype/src/winfonts/
Dwinfnt.c827 bsize->y_ppem = FT_PIX_ROUND( bsize->y_ppem ); in FNT_Face_Init()
846 bsize->x_ppem = FT_PIX_ROUND( bsize->x_ppem ); in FNT_Face_Init()
/third_party/skia/third_party/externals/freetype/include/freetype/internal/
Dftobjs.h92 #define FT_PIX_ROUND( x ) FT_PIX_FLOOR( (x) + 32 ) macro
/third_party/skia/third_party/externals/freetype/src/pfr/
Dpfrsbit.c770 glyph->root.metrics.horiAdvance = FT_PIX_ROUND( ( advance >> 2 ) ); in pfr_slot_load_bitmap()
/third_party/skia/third_party/externals/freetype/docs/oldlogs/
DChangeLog.212863 FT_RoundFix but FT_PIX_ROUND.
3496 FT_PAD_CEIL, FT_PIX_FLOOR, FT_PIX_ROUND, FT_PIX_CEIL): New macros.
/third_party/chromium/patch/
D0001-cve.patch23233 - loader->linear = FT_PIX_ROUND( unrounded[n_points - 3].x -
23236 - loader->vadvance = FT_PIX_ROUND( unrounded[n_points - 1].x -
23371 - loader->linear = FT_PIX_ROUND( unrounded[1].x -
23374 - loader->vadvance = FT_PIX_ROUND( unrounded[3].x -
23469 - FT_PIX_ROUND( unrounded[outline.n_points - 3].x -
23473 - FT_PIX_ROUND( unrounded[outline.n_points - 1].x -
24040 + loader->linear = FT_PIX_ROUND( unrounded[n_points - 3].x -
24047 + loader->vadvance = FT_PIX_ROUND( unrounded[n_points - 1].y -