Home
last modified time | relevance | path

Searched refs:units_per_EM (Results 1 – 25 of 35) sorted by relevance

12

/external/freetype/src/autofit/
Dafloader.c107 FT_Fixed em_size = af_intToFixed( face->units_per_EM ); in af_loader_embolden_glyph_in_slot()
114 if ( !face->units_per_EM ) in af_loader_embolden_glyph_in_slot()
269 face->units_per_EM ); in af_loader_load_glyph()
271 face->units_per_EM ); in af_loader_load_glyph()
604 FT_UShort units_per_EM; in af_loader_compute_darkening() local
613 units_per_EM = face->units_per_EM; in af_loader_compute_darkening()
616 af_intToFixed ( units_per_EM ) ); in af_loader_compute_darkening()
Dafindic.c43 metrics->units_per_em = face->units_per_EM; in af_indic_metrics_init()
Dafshaper.c461 upem = (FT_Int)metrics->globals->face->units_per_EM; in af_shaper_get_cluster()
Dafhints.c870 FT_UInt units_per_em = hints->metrics->scaler.face->units_per_EM; in af_glyph_hints_reload()
/external/freetype/src/base/
Dftpfr.c70 *aoutline_resolution = face->units_per_EM; in FT_Get_PFR_Metrics()
73 *ametrics_resolution = face->units_per_EM; in FT_Get_PFR_Metrics()
Dftsynth.c108 xstr = FT_MulFix( face->units_per_EM, in FT_GlyphSlot_Embolden()
Dftobjs.c3073 face->units_per_EM ); in FT_Select_Metrics()
3075 face->units_per_EM ); in FT_Select_Metrics()
3108 w = h = face->units_per_EM; in FT_Request_Metrics()
3181 scaled_w = FT_MulFix( face->units_per_EM, metrics->x_scale ); in FT_Request_Metrics()
3182 scaled_h = FT_MulFix( face->units_per_EM, metrics->y_scale ); in FT_Request_Metrics()
/external/freetype/src/cid/
Dcidobjs.c439 if ( !cidface->units_per_EM ) in cid_face_init()
440 cidface->units_per_EM = 1000; in cid_face_init()
445 cidface->height = (FT_Short)( ( cidface->units_per_EM * 12 ) / 10 ); in cid_face_init()
Dcidload.c207 root->units_per_EM = (FT_UShort)FT_DivFix( 1000, temp_scale ); in cid_parse_font_matrix()
/external/freetype/src/pfr/
Dpfrobjs.c200 pfrface->units_per_EM = (FT_UShort)phy_font->outline_resolution; in pfr_face_init()
204 pfrface->height = (FT_Short)( ( pfrface->units_per_EM * 12 ) / 10 ); in pfr_face_init()
253 pfrface->underline_position = (FT_Short)( -pfrface->units_per_EM / 10 ); in pfr_face_init()
254 pfrface->underline_thickness = (FT_Short)( pfrface->units_per_EM / 30 ); in pfr_face_init()
/external/freetype/src/type1/
Dt1objs.c476 if ( !root->units_per_EM ) in T1_Face_Init()
477 root->units_per_EM = 1000; in T1_Face_Init()
482 root->height = (FT_Short)( ( root->units_per_EM * 12 ) / 10 ); in T1_Face_Init()
/external/harfbuzz_ng/src/
Dhb-ft.cc626 hb_face_set_upem (face, ft_face->units_per_EM); in hb_ft_face_create()
713 …(int) (((uint64_t) ft_face->size->metrics.x_scale * (uint64_t) ft_face->units_per_EM + (1u<<15)) >… in hb_ft_font_changed()
714 …(int) (((uint64_t) ft_face->size->metrics.y_scale * (uint64_t) ft_face->units_per_EM + (1u<<15)) >… in hb_ft_font_changed()
/external/icu/icu4c/source/samples/layout/
DGnomeFontInstance.cpp80 fUnitsPerEM = fFace->units_per_EM; in GnomeFontInstance()
/external/pdfium/core/fxge/
Dfx_freetype.h78 #define FXFT_Get_Face_UnitsPerEM(face) (face)->units_per_EM
/external/freetype/src/type42/
Dt42objs.c316 root->units_per_EM = face->ttf_face->units_per_EM; in T42_Face_Init()
/external/freetype/src/cff/
Dcffobjs.c743 dict->units_per_em = pure_cff ? 1000 : face->root.units_per_EM; in cff_face_init()
873 cffface->units_per_EM = (FT_UShort)( dict->units_per_em ); in cff_face_init()
878 cffface->height = (FT_Short)( ( cffface->units_per_EM * 12 ) / 10 ); in cff_face_init()
/external/freetype/src/psaux/
Dpsft.c300 FT_ASSERT( decoder->builder.face->units_per_EM ); in cf2_getUnitsPerEm()
302 return decoder->builder.face->units_per_EM; in cf2_getUnitsPerEm()
/external/freetype/src/truetype/
Dttobjs.c1357 face->root.units_per_EM ); in tt_size_reset()
1359 face->root.units_per_EM ); in tt_size_reset()
/external/freetype/include/freetype/
Dfreetype.h1054 FT_UShort units_per_EM; member
/external/skqp/src/ports/
DSkFontHost_FreeType.cpp752 SkScalar upem = SkIntToScalar(face->units_per_EM); in GetUnitsPerEm()
946 SkScalar upem = fFaceRec->fFace->units_per_EM; in SkScalerContext_FreeType()
1534 strength = FT_MulFix(face->units_per_EM, face->size->metrics.y_scale) in emboldenIfNeeded()
/external/skia/src/ports/
DSkFontHost_FreeType.cpp879 SkScalar upem = SkIntToScalar(face->units_per_EM); in GetUnitsPerEm()
1079 SkScalar upem = fFaceRec->fFace->units_per_EM; in SkScalerContext_FreeType()
1728 strength = FT_MulFix(face->units_per_EM, face->size->metrics.y_scale) in emboldenIfNeeded()
DSkFontHost_FreeType_common.cpp1369 err = FT_Set_Char_Size(face, SkIntToFDot6(face->units_per_EM), in generateFacePathCOLRv1()
1370 SkIntToFDot6(face->units_per_EM), 72, 72); in generateFacePathCOLRv1()
/external/freetype/src/sfnt/
Dsfobjs.c1273 root->units_per_EM = face->header.Units_Per_EM; in sfnt_load_face()
/external/freetype/
DChangeLog.201886 * src/cid/cidobjs.c (CID_Init_Face): Use calculated units_per_EM,
1889 * src/cid/cidload.c (parse_font_matrix): Added units_per_EM
1997 units_per_EM from the value assigned in parse_font_matrix, if
2001 the units_per_EM from the FontMatrix.
2043 units_per_EM from the font matrix.
2531 `root->num_faces' to `cff->num_faces' and set `units_per_EM'
/external/ImageMagick/MagickCore/
Dannotate.c1537 (metrics->pixels_per_em.x*PerceptibleReciprocal(face->units_per_EM)); in RenderFreetype()
1539 (metrics->pixels_per_em.x*PerceptibleReciprocal(face->units_per_EM)); in RenderFreetype()

12