Home
last modified time | relevance | path

Searched refs:blues (Results 1 – 25 of 31) sorted by relevance

12

/external/pdfium/third_party/freetype/src/cff/
Dcf2blues.c66 cf2_blues_init( CF2_Blues blues, in cf2_blues_init() argument
97 FT_ZERO( blues ); in cf2_blues_init()
98 blues->scale = font->innerTransform.d; in cf2_blues_init()
101 &blues->blueScale, in cf2_blues_init()
102 &blues->blueShift, in cf2_blues_init()
103 &blues->blueFuzz ); in cf2_blues_init()
160 blues->emBoxBottomEdge.csCoord = emBoxBottom - CF2_FIXED_EPSILON; in cf2_blues_init()
161 blues->emBoxBottomEdge.dsCoord = cf2_fixedRound( in cf2_blues_init()
163 blues->emBoxBottomEdge.csCoord, in cf2_blues_init()
164 blues->scale ) ) - in cf2_blues_init()
[all …]
Dcf2blues.h171 cf2_blues_init( CF2_Blues blues,
174 cf2_blues_capture( const CF2_Blues blues,
Dcf2hints.h216 const CF2_BluesRec* blues; member
258 const CF2_Blues blues,
Dcf2font.h104 CF2_BluesRec blues; /* computed zone data */ member
Dcf2hints.c802 if ( font->blues.doEmBoxHints ) in cf2_hintmap_build()
811 &font->blues.emBoxBottomEdge, in cf2_hintmap_build()
816 &font->blues.emBoxTopEdge ); in cf2_hintmap_build()
846 cf2_blues_capture( &font->blues, in cf2_hintmap_build()
1013 const CF2_Blues blues, in cf2_glyphpath_init() argument
1056 glyphpath->blues = blues; in cf2_glyphpath_init()
Dcf2font.c425 cf2_blues_init( &font->blues, font ); in cf2_font_setup()
/external/freetype/src/cff/
Dcf2blues.c66 cf2_blues_init( CF2_Blues blues, in cf2_blues_init() argument
97 FT_ZERO( blues ); in cf2_blues_init()
98 blues->scale = font->innerTransform.d; in cf2_blues_init()
101 &blues->blueScale, in cf2_blues_init()
102 &blues->blueShift, in cf2_blues_init()
103 &blues->blueFuzz ); in cf2_blues_init()
160 blues->emBoxBottomEdge.csCoord = emBoxBottom - CF2_FIXED_EPSILON; in cf2_blues_init()
161 blues->emBoxBottomEdge.dsCoord = cf2_fixedRound( in cf2_blues_init()
163 blues->emBoxBottomEdge.csCoord, in cf2_blues_init()
164 blues->scale ) ) - in cf2_blues_init()
[all …]
Dcf2blues.h171 cf2_blues_init( CF2_Blues blues,
174 cf2_blues_capture( const CF2_Blues blues,
Dcf2hints.h216 const CF2_BluesRec* blues; member
258 const CF2_Blues blues,
Dcf2font.h104 CF2_BluesRec blues; /* computed zone data */ member
Dcf2hints.c802 if ( font->blues.doEmBoxHints ) in cf2_hintmap_build()
811 &font->blues.emBoxBottomEdge, in cf2_hintmap_build()
816 &font->blues.emBoxTopEdge ); in cf2_hintmap_build()
846 cf2_blues_capture( &font->blues, in cf2_hintmap_build()
1013 const CF2_Blues blues, in cf2_glyphpath_init() argument
1056 glyphpath->blues = blues; in cf2_glyphpath_init()
Dcf2font.c425 cf2_blues_init( &font->blues, font ); in cf2_font_setup()
Dcf2intrp.c500 &font->blues, in cf2_interpT2CharString()
/external/pdfium/third_party/freetype/src/pshinter/
Dpshglob.c236 FT_Short* blues, in psh_blues_set_zones() argument
264 count, blues, top_table, bot_table ); in psh_blues_set_zones()
366 psh_blues_scale_zones( PSH_Blues blues, in psh_blues_scale_zones() argument
406 blues->no_overshoots = FT_BOOL( scale < blues->blue_scale * 8 / 125 ); in psh_blues_scale_zones()
408 blues->no_overshoots = FT_BOOL( scale * 125 < blues->blue_scale * 8 ); in psh_blues_scale_zones()
420 FT_Int threshold = blues->blue_shift; in psh_blues_scale_zones()
426 blues->blue_threshold = threshold; in psh_blues_scale_zones()
437 table = &blues->normal_top; in psh_blues_scale_zones()
440 table = &blues->normal_bottom; in psh_blues_scale_zones()
443 table = &blues->family_top; in psh_blues_scale_zones()
[all …]
Dpshglob.h139 PSH_BluesRec blues; member
179 psh_blues_snap_stem( PSH_Blues blues,
Dpshalgo.c481 psh_blues_snap_stem( &globals->blues, in psh_hint_align()
705 psh_blues_snap_stem( &globals->blues,
1644 psh_glyph_find_blue_points( PSH_Blues blues, in psh_glyph_find_blue_points() argument
1671 table = &blues->normal_top; in psh_glyph_find_blue_points()
1680 if ( delta < -blues->blue_fuzz ) in psh_glyph_find_blue_points()
1683 if ( y <= zone->org_top + blues->blue_fuzz ) in psh_glyph_find_blue_points()
1684 if ( blues->no_overshoots || delta <= blues->blue_threshold ) in psh_glyph_find_blue_points()
1693 table = &blues->normal_bottom; in psh_glyph_find_blue_points()
1702 if ( delta < -blues->blue_fuzz ) in psh_glyph_find_blue_points()
1705 if ( y >= zone->org_bottom - blues->blue_fuzz ) in psh_glyph_find_blue_points()
[all …]
/external/freetype/src/pshinter/
Dpshglob.c236 FT_Short* blues, in psh_blues_set_zones() argument
264 count, blues, top_table, bot_table ); in psh_blues_set_zones()
366 psh_blues_scale_zones( PSH_Blues blues, in psh_blues_scale_zones() argument
406 blues->no_overshoots = FT_BOOL( scale < blues->blue_scale * 8 / 125 ); in psh_blues_scale_zones()
408 blues->no_overshoots = FT_BOOL( scale * 125 < blues->blue_scale * 8 ); in psh_blues_scale_zones()
420 FT_Int threshold = blues->blue_shift; in psh_blues_scale_zones()
426 blues->blue_threshold = threshold; in psh_blues_scale_zones()
437 table = &blues->normal_top; in psh_blues_scale_zones()
440 table = &blues->normal_bottom; in psh_blues_scale_zones()
443 table = &blues->family_top; in psh_blues_scale_zones()
[all …]
Dpshglob.h139 PSH_BluesRec blues; member
179 psh_blues_snap_stem( PSH_Blues blues,
Dpshalgo.c481 psh_blues_snap_stem( &globals->blues, in psh_hint_align()
705 psh_blues_snap_stem( &globals->blues,
1738 psh_glyph_find_blue_points( PSH_Blues blues, in psh_glyph_find_blue_points() argument
1765 table = &blues->normal_top; in psh_glyph_find_blue_points()
1774 if ( delta < -blues->blue_fuzz ) in psh_glyph_find_blue_points()
1777 if ( y <= zone->org_top + blues->blue_fuzz ) in psh_glyph_find_blue_points()
1778 if ( blues->no_overshoots || delta <= blues->blue_threshold ) in psh_glyph_find_blue_points()
1787 table = &blues->normal_bottom; in psh_glyph_find_blue_points()
1796 if ( delta < -blues->blue_fuzz ) in psh_glyph_find_blue_points()
1799 if ( y >= zone->org_bottom - blues->blue_fuzz ) in psh_glyph_find_blue_points()
[all …]
/external/freetype/src/autofit/
Dafcjk.h87 AF_CJKBlueRec blues[AF_BLUE_STRINGSET_MAX]; member
Daflatin.h95 AF_LatinBlueRec blues[AF_BLUE_STRINGSET_MAX]; member
Daflatin2.c366 blue = & axis->blues[axis->blue_count]; in af_latin2_metrics_init_blues()
557 if ( vaxis->blues[nn].flags & AF_LATIN_BLUE_ADJUSTMENT ) in af_latin2_metrics_scale_dim()
559 blue = &vaxis->blues[nn]; in af_latin2_metrics_scale_dim()
634 AF_LatinBlue blue = &axis->blues[nn]; in af_latin2_metrics_scale_dim()
1415 AF_LatinBlue blue = latin->blues + bb; in af_latin2_hints_compute_blue_edges()
1468 blue = latin->blues + bb; in af_latin2_hints_compute_blue_edges()
Daflatin.c746 blue = &axis->blues[axis->blue_count]; in af_latin_metrics_init_blues()
928 if ( Axis->blues[nn].flags & AF_LATIN_BLUE_ADJUSTMENT ) in af_latin_metrics_scale_dim()
930 blue = &Axis->blues[nn]; in af_latin_metrics_scale_dim()
1041 AF_LatinBlue blue = &axis->blues[nn]; in af_latin_metrics_scale_dim()
1862 AF_LatinBlue blue = latin->blues + bb; in af_latin_hints_compute_blue_edges()
Dafcjk.c452 blue = &axis->blues[axis->blue_count]; in af_cjk_metrics_init_blues()
619 AF_CJKBlue blue = &axis->blues[nn]; in af_cjk_metrics_scale_dim()
1228 AF_CJKBlue blue = cjk->blues + bb; in af_cjk_hints_compute_blue_edges()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_text.cpp50 static int _AdjustBlue(FX_FLOAT pos, int& count, int blues[]) { in _AdjustBlue() argument
54 FX_FLOAT distance = (FX_FLOAT)FXSYS_fabs(pos - (FX_FLOAT)blues[i]); in _AdjustBlue()
61 return blues[closest_pos]; in _AdjustBlue()
67 blues[count++] = new_pos; in _AdjustBlue()

12