Home
last modified time | relevance | path

Searched refs:FT_BOOL (Results 1 – 21 of 21) sorted by relevance

/external/freetype/src/psaux/
Dpsconv.c87 sign = FT_BOOL( *p == '-' ); in PS_Conv_Strtol()
158 sign = FT_BOOL( *p == '-' ); in PS_Conv_ToFixed()
Dafmparse.c423 val->u.b = FT_BOOL( len == 4 && in afm_parser_read_vals()
/external/freetype/include/freetype/
Dfttypes.h581 #define FT_BOOL( x ) ( (FT_Bool)( x ) ) macro
/external/freetype/src/cache/
Dftccmap.c210 return FT_BOOL( offset < FTC_CMAP_INDICES_MAX ); in ftc_cmap_node_compare()
230 return FT_BOOL( node->face_id == face_id ); in ftc_cmap_node_remove_faceid()
Dftcglyph.c78 return FT_BOOL( gnode->family == gquery->family && in ftc_gnode_compare()
Dftcbasic.c83 FT_BOOL( FTC_SCALER_COMPARE( &(a)->scaler, &(b)->scaler ) && \
252 result = FT_BOOL( family->attrs.scaler.face_id == face_id ); in ftc_basic_gnode_compare_faceid()
Dftcsbits.c339 result = FT_BOOL( gnode->family == gquery->family && in ftc_snode_compare()
/external/freetype/src/sfnt/
Dsfobjs.c204 is_english = FT_BOOL( ( rec->languageID & 0x3FF ) == 0x009 ); in tt_face_get_name()
593 has_outline = FT_BOOL( face->root.internal->incremental_interface != 0 || in sfnt_load_face()
597 has_outline = FT_BOOL( tt_face_lookup_table( face, TTAG_glyf ) != 0 || in sfnt_load_face()
608 is_apple_sbit = FT_BOOL( !error ); in sfnt_load_face()
Dttsbit.c350 FT_Bool large = FT_BOOL( range->index_format == 1 ); in Load_SBit_Range()
/external/freetype/src/autofit/
Dafcjk.c318 FT_Bool fill = FT_BOOL( in af_cjk_metrics_init_blues()
478 FT_Bool under_ref = FT_BOOL( shoot < ref ); in af_cjk_metrics_init_blues()
1217 FT_BOOL( ( ( blue->flags & AF_CJK_BLUE_IS_TOP ) != 0 ) || in af_cjk_hints_compute_blue_edges()
1219 is_major_dir = FT_BOOL( edge->dir == axis->major_dir ); in af_cjk_hints_compute_blue_edges()
1387 FT_Bool vertical = FT_BOOL( dim == AF_DIMENSION_VERT ); in af_cjk_compute_stem_width()
2023 snapping = FT_BOOL( ( dim == AF_DIMENSION_HORZ && in af_cjk_align_edge_points()
Daflatin.c339 round = FT_BOOL( in af_latin_metrics_init_blues()
399 FT_Bool over_ref = FT_BOOL( shoot > ref ); in af_latin_metrics_init_blues()
1398 is_major_dir = FT_BOOL( edge->dir == axis->major_dir ); in af_latin_hints_compute_blue_edges()
1426 FT_Bool is_under_ref = FT_BOOL( edge->fpos < blue->ref.org ); in af_latin_hints_compute_blue_edges()
Daflatin2.c332 round = FT_BOOL( in af_latin2_metrics_init_blues()
392 FT_Bool over_ref = FT_BOOL( shoot > ref ); in af_latin2_metrics_init_blues()
1401 is_major_dir = FT_BOOL( edge->dir == axis->major_dir ); in af_latin2_hints_compute_blue_edges()
1436 FT_Bool is_under_ref = FT_BOOL( edge->fpos < blue->ref.org ); in af_latin2_hints_compute_blue_edges()
/external/freetype/src/pshinter/
Dpshglob.c406 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()
Dpshalgo.c2257 glyph->do_horz_snapping = FT_BOOL( hint_mode == FT_RENDER_MODE_MONO || in ps_hints_apply()
2260 glyph->do_vert_snapping = FT_BOOL( hint_mode == FT_RENDER_MODE_MONO || in ps_hints_apply()
2263 glyph->do_stem_adjust = FT_BOOL( hint_mode != FT_RENDER_MODE_LIGHT ); in ps_hints_apply()
/external/freetype/src/base/
Dftstroke.c144 return FT_BOOL( theta < FT_SMALL_CONIC_THRESHOLD ); in ft_conic_is_small_enough()
278 return FT_BOOL( theta1 < FT_SMALL_CUBIC_THRESHOLD && in ft_cubic_is_small_enough()
1005 intersect = FT_BOOL( stroker->line_length >= min_length && in ft_stroker_inside()
1063 FT_BOOL( stroker->line_join == FT_STROKER_LINEJOIN_BEVEL ); in ft_stroker_outside()
1066 FT_BOOL( stroker->line_join != FT_STROKER_LINEJOIN_MITER_VARIABLE ); in ft_stroker_outside()
1776 FT_BOOL( stroker->line_join != FT_STROKER_LINEJOIN_ROUND || in FT_Stroker_BeginSubPath()
Dftobjs.c711 FT_BOOL( load_flags & FT_LOAD_VERTICAL_LAYOUT ) ); in FT_Load_Glyph()
2016 external_stream = FT_BOOL( ( args->flags & FT_OPEN_STREAM ) && in FT_Open_Face()
/external/freetype/src/truetype/
Dttgload.c793 debug = FT_BOOL( !( loader->load_flags & FT_LOAD_NO_SCALE ) && in TT_Hint_Glyph()
946 have_scale = FT_BOOL( subglyph->flags & ( WE_HAVE_A_SCALE | in TT_Process_Composite_Component()
1836 FT_Bool pedantic = FT_BOOL( load_flags & FT_LOAD_PEDANTIC ); in tt_loader_init()
1869 FT_BOOL( FT_LOAD_TARGET_MODE( load_flags ) != FT_RENDER_MODE_MONO ); in tt_loader_init()
1898 exec->pedantic_hinting = FT_BOOL( load_flags & FT_LOAD_PEDANTIC ); in tt_loader_init()
Dttobjs.c613 unpatented_hinting = FT_BOOL in tt_face_init()
Dttinterp.c4526 Out = FT_BOOL( nIfs == 1 ); in Ins_IF()
4531 Out = FT_BOOL( nIfs == 0 ); in Ins_IF()
5431 CUR.GS.instruct_control = FT_BOOL( in Ins_INSTCTRL()
/external/freetype/src/cff/
Dcffgload.c2730 hinting = FT_BOOL( ( load_flags & FT_LOAD_NO_SCALE ) == 0 && in cff_slot_load()
2860 has_vertical_info = FT_BOOL( face->vertical_info && in cff_slot_load()
2864 has_vertical_info = FT_BOOL( face->vertical_info && in cff_slot_load()
Dcffload.c1594 FT_Bool invert = FT_BOOL( dict->cid_registry != 0xFFFFU && pure_cff ); in cff_font_load()