Home
last modified time | relevance | path

Searched refs:load_flags (Results 1 – 25 of 46) sorted by relevance

12

/external/freetype/src/cache/
Dftcbasic.c40 FT_UInt load_flags; member
46 (a)->load_flags == (b)->load_flags )
49 ( FTC_SCALER_HASH( &(a)->scaler ) + 31 * (a)->load_flags )
144 (FT_Int)family->attrs.load_flags | FT_LOAD_RENDER ); in ftc_basic_family_load_bitmap()
176 (FT_Int)family->attrs.load_flags ); in ftc_basic_family_load_glyph()
323 query.attrs.load_flags = (FT_UInt)type->flags; in FTC_ImageCache_Lookup()
366 FT_ULong load_flags, in FTC_ImageCache_LookupScaler() argument
395 if ( load_flags > FT_UINT_MAX ) in FTC_ImageCache_LookupScaler()
398 load_flags & ~((FT_ULong)FT_UINT_MAX) )); in FTC_ImageCache_LookupScaler()
402 query.attrs.load_flags = (FT_UInt)load_flags; in FTC_ImageCache_LookupScaler()
[all …]
/external/freetype/src/truetype/
Dttdriver.c424 FT_Int32 load_flags ) in tt_glyph_load() argument
449 if ( load_flags & FT_LOAD_NO_HINTING ) in tt_glyph_load()
455 load_flags &= ~FT_LOAD_NO_HINTING; in tt_glyph_load()
457 if ( load_flags & FT_LOAD_NO_AUTOHINT ) in tt_glyph_load()
458 load_flags |= FT_LOAD_NO_HINTING; in tt_glyph_load()
461 if ( load_flags & ( FT_LOAD_NO_RECURSE | FT_LOAD_NO_SCALE ) ) in tt_glyph_load()
463 load_flags |= FT_LOAD_NO_BITMAP | FT_LOAD_NO_SCALE; in tt_glyph_load()
466 load_flags |= FT_LOAD_NO_HINTING; in tt_glyph_load()
470 size->metrics = ( load_flags & FT_LOAD_NO_HINTING ) in tt_glyph_load()
475 error = TT_Load_Glyph( size, slot, glyph_index, load_flags ); in tt_glyph_load()
Dttgload.c405 if ( IS_HINTED( load->load_flags ) ) in TT_Load_Simple_Glyph()
969 if ( IS_HINTED( loader->load_flags ) ) in TT_Process_Simple_Glyph()
1002 if ( IS_HINTED( loader->load_flags ) ) in TT_Process_Simple_Glyph()
1009 if ( ( loader->load_flags & FT_LOAD_NO_SCALE ) == 0 || in TT_Process_Simple_Glyph()
1032 if ( ( loader->load_flags & FT_LOAD_NO_SCALE ) == 0 ) in TT_Process_Simple_Glyph()
1053 !IS_HINTED( loader->load_flags ) ) in TT_Process_Simple_Glyph()
1063 !IS_HINTED( loader->load_flags ) ) in TT_Process_Simple_Glyph()
1071 if ( IS_HINTED( loader->load_flags ) ) in TT_Process_Simple_Glyph()
1206 if ( !( loader->load_flags & FT_LOAD_NO_SCALE ) ) in TT_Process_Composite_Component()
1221 if ( IS_HINTED( loader->load_flags ) ) in TT_Process_Composite_Component()
[all …]
Dttsubpix.c964 FT_BOOL( loader->load_flags & FT_LOAD_PEDANTIC ) ); in sph_set_tweaks()
979 FT_BOOL( loader->load_flags & FT_LOAD_PEDANTIC ) ); in sph_set_tweaks()
985 if ( IS_HINTED( loader->load_flags ) ) in sph_set_tweaks()
996 if ( IS_HINTED( loader->load_flags ) ) in sph_set_tweaks()
Dttgload.h54 FT_Int32 load_flags );
/external/freetype/src/type1/
Dt1gload.c280 FT_Int32 load_flags, in T1_Get_Advances() argument
293 if ( load_flags & FT_LOAD_VERTICAL_LAYOUT ) in T1_Get_Advances()
351 FT_Int32 load_flags ) in T1_Load_Glyph() argument
388 if ( load_flags & FT_LOAD_NO_RECURSE ) in T1_Load_Glyph()
389 load_flags |= FT_LOAD_NO_SCALE | FT_LOAD_NO_HINTING; in T1_Load_Glyph()
405 hinting = FT_BOOL( ( load_flags & FT_LOAD_NO_SCALE ) == 0 && in T1_Load_Glyph()
406 ( load_flags & FT_LOAD_NO_HINTING ) == 0 ); in T1_Load_Glyph()
407 scaled = FT_BOOL( ( load_flags & FT_LOAD_NO_SCALE ) == 0 ); in T1_Load_Glyph()
420 FT_LOAD_TARGET_MODE( load_flags ), in T1_Load_Glyph()
428 ( load_flags & FT_LOAD_NO_RECURSE ) != 0 ); in T1_Load_Glyph()
[all …]
Dt1gload.h38 FT_Int32 load_flags,
45 FT_Int32 load_flags );
/external/freetype/src/cff/
Dcffgload.c198 FT_Int32 load_flags ) in cff_slot_load() argument
234 if ( load_flags & FT_LOAD_NO_RECURSE ) in cff_slot_load()
235 load_flags |= FT_LOAD_NO_SCALE | FT_LOAD_NO_HINTING; in cff_slot_load()
260 ( load_flags & FT_LOAD_NO_BITMAP ) == 0 ) in cff_slot_load()
268 (FT_UInt)load_flags, in cff_slot_load()
296 if ( load_flags & FT_LOAD_VERTICAL_LAYOUT ) in cff_slot_load()
347 if ( load_flags & FT_LOAD_SBITS_ONLY ) in cff_slot_load()
390 hinting = FT_BOOL( ( load_flags & FT_LOAD_NO_HINTING ) == 0 ); in cff_slot_load()
391 scaled = FT_BOOL( ( load_flags & FT_LOAD_NO_SCALE ) == 0 ); in cff_slot_load()
408 FT_LOAD_TARGET_MODE( load_flags ), in cff_slot_load()
[all …]
Dcffgload.h55 FT_Int32 load_flags );
/external/freetype/src/cid/
Dcidgload.c340 FT_Int32 load_flags ) in cid_slot_load_glyph() argument
361 if ( load_flags & FT_LOAD_NO_RECURSE ) in cid_slot_load_glyph()
362 load_flags |= FT_LOAD_NO_SCALE | FT_LOAD_NO_HINTING; in cid_slot_load_glyph()
370 hinting = FT_BOOL( ( load_flags & FT_LOAD_NO_SCALE ) == 0 && in cid_slot_load_glyph()
371 ( load_flags & FT_LOAD_NO_HINTING ) == 0 ); in cid_slot_load_glyph()
372 scaled = FT_BOOL( ( load_flags & FT_LOAD_NO_SCALE ) == 0 ); in cid_slot_load_glyph()
385 FT_LOAD_TARGET_MODE( load_flags ), in cid_slot_load_glyph()
397 ( ( load_flags & FT_LOAD_NO_RECURSE ) != 0 ) ); in cid_slot_load_glyph()
423 if ( load_flags & FT_LOAD_NO_RECURSE ) in cid_slot_load_glyph()
482 if ( ( load_flags & FT_LOAD_NO_SCALE ) == 0 || scaled ) in cid_slot_load_glyph()
[all …]
Dcidgload.h43 FT_Int32 load_flags );
/external/harfbuzz_ng/src/
Dhb-ft.cc76 int load_flags; member
97 ft_font->load_flags = FT_LOAD_DEFAULT | FT_LOAD_NO_HINTING; in _hb_ft_font_create()
136 hb_ft_font_set_load_flags (hb_font_t *font, int load_flags) in hb_ft_font_set_load_flags() argument
146 ft_font->load_flags = load_flags; in hb_ft_font_set_load_flags()
166 return ft_font->load_flags; in hb_ft_font_get_load_flags()
271 int load_flags = ft_font->load_flags; in hb_ft_get_glyph_h_advances() local
290 FT_Get_Advance (ft_face, glyph, load_flags, &v); in hb_ft_get_glyph_h_advances()
310 …if (unlikely (FT_Get_Advance (ft_font->ft_face, glyph, ft_font->load_flags | FT_LOAD_VERTICAL_LAYO… in hb_ft_get_glyph_v_advance()
333 if (unlikely (FT_Load_Glyph (ft_face, glyph, ft_font->load_flags))) in hb_ft_get_glyph_v_origin()
360 if (unlikely (FT_Load_Glyph (ft_face, glyph, ft_font->load_flags))) in hb_ft_get_glyph_extents()
[all …]
Dhb-ft.h114 hb_ft_font_set_load_flags (hb_font_t *font, int load_flags);
/external/freetype/include/freetype/
Dftadvanc.h128 FT_Int32 load_flags,
185 FT_Int32 load_flags,
Dftcache.h856 FT_ULong load_flags,
1089 FT_ULong load_flags,
/external/freetype/src/autofit/
Dafloader.c217 FT_Int32 load_flags ) in af_loader_load_glyph() argument
241 size_internal->autohint_mode != FT_LOAD_TARGET_MODE( load_flags ) ) in af_loader_load_glyph()
247 size_internal->autohint_mode = FT_LOAD_TARGET_MODE( load_flags ); in af_loader_load_glyph()
294 scaler.render_mode = FT_LOAD_TARGET_MODE( load_flags ); in af_loader_load_glyph()
305 if ( load_flags & ( 1UL << 20 ) ) in af_loader_load_glyph()
346 load_flags |= FT_LOAD_NO_SCALE | in af_loader_load_glyph()
349 load_flags &= ~FT_LOAD_RENDER; in af_loader_load_glyph()
351 error = FT_Load_Glyph( face, glyph_index, load_flags ); in af_loader_load_glyph()
Dafmodule.c485 FT_Int32 load_flags ) in af_autofitter_load_glyph() argument
507 glyph_index, load_flags ); in af_autofitter_load_glyph()
536 glyph_index, load_flags ); in af_autofitter_load_glyph()
Dafloader.h76 FT_Int32 load_flags );
/external/pdfium/core/fxge/
Dcfx_facecache.cpp115 int load_flags = (m_Face->face_flags & FT_FACE_FLAG_SFNT) in RenderGlyph() local
118 int error = FXFT_Load_Glyph(m_Face, glyph_index, load_flags); in RenderGlyph()
121 if (load_flags & FT_LOAD_NO_HINTING || load_flags & FT_LOAD_NO_SCALE) in RenderGlyph()
124 load_flags |= FT_LOAD_NO_HINTING; in RenderGlyph()
125 error = FXFT_Load_Glyph(m_Face, glyph_index, load_flags); in RenderGlyph()
/external/freetype/src/base/
Dftobjs.c768 FT_Int32 load_flags ) in FT_Load_Glyph() argument
794 if ( load_flags & FT_LOAD_NO_RECURSE ) in FT_Load_Glyph()
795 load_flags |= FT_LOAD_NO_SCALE | in FT_Load_Glyph()
798 if ( load_flags & FT_LOAD_NO_SCALE ) in FT_Load_Glyph()
800 load_flags |= FT_LOAD_NO_HINTING | in FT_Load_Glyph()
803 load_flags &= ~FT_LOAD_RENDER; in FT_Load_Glyph()
806 if ( load_flags & FT_LOAD_BITMAP_METRICS_ONLY ) in FT_Load_Glyph()
807 load_flags &= ~FT_LOAD_RENDER; in FT_Load_Glyph()
832 !( load_flags & FT_LOAD_NO_HINTING ) && in FT_Load_Glyph()
833 !( load_flags & FT_LOAD_NO_AUTOHINT ) && in FT_Load_Glyph()
[all …]
/external/freetype/src/tools/ftrandom/
Dftrandom.c168 int load_flags = FT_LOAD_DEFAULT; in TestFace() local
173 load_flags = FT_LOAD_NO_BITMAP; in TestFace()
176 load_flags |= FT_LOAD_NO_HINTING; in TestFace()
185 if ( !FT_Load_Glyph( face, gid, load_flags ) ) in TestFace()
189 FT_Load_Glyph( face, gid, load_flags ); in TestFace()
/external/freetype/src/pfr/
Dpfrobjs.c314 FT_Int32 load_flags ) in pfr_slot_load() argument
337 if ( ( load_flags & ( FT_LOAD_NO_SCALE | FT_LOAD_NO_BITMAP ) ) == 0 ) in pfr_slot_load()
343 ( load_flags & FT_LOAD_BITMAP_METRICS_ONLY ) != 0 ); in pfr_slot_load()
348 if ( load_flags & FT_LOAD_SBITS_ONLY ) in pfr_slot_load()
373 scaling = FT_BOOL( ( load_flags & FT_LOAD_NO_SCALE ) == 0 ); in pfr_slot_load()
Dpfrobjs.h88 FT_Int32 load_flags );
/external/freetype/src/sfnt/
Dttsbit.h52 FT_UInt load_flags,
/external/freetype/include/freetype/internal/
Dautohint.h190 FT_Int32 load_flags );

12