Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/freetype/src/autofit/
Dafloader.c107 FT_Fixed em_size = af_intToFixed( face->units_per_EM ); in af_loader_embolden_glyph_in_slot()
113 if ( !face->units_per_EM ) in af_loader_embolden_glyph_in_slot()
266 face->units_per_EM ); in af_loader_load_glyph()
268 face->units_per_EM ); in af_loader_load_glyph()
595 FT_UShort units_per_EM; in af_loader_compute_darkening() local
604 units_per_EM = face->units_per_EM; in af_loader_compute_darkening()
607 af_intToFixed ( units_per_EM ) ); in af_loader_compute_darkening()
Dafindic.c38 metrics->units_per_em = face->units_per_EM; in af_indic_metrics_init()
Dafshaper.c476 upem = (FT_Int)metrics->globals->face->units_per_EM; in af_shaper_get_cluster()
Dafhints.c965 FT_UInt units_per_em = hints->metrics->scaler.face->units_per_EM; in af_glyph_hints_reload()
Dafcjk.c644 metrics->units_per_em = face->units_per_EM; in af_cjk_metrics_init()
/third_party/skia/third_party/externals/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.c3125 face->units_per_EM ); in FT_Select_Metrics()
3127 face->units_per_EM ); in FT_Select_Metrics()
3162 w = h = face->units_per_EM; in FT_Request_Metrics()
3235 scaled_w = FT_MulFix( face->units_per_EM, metrics->x_scale ); in FT_Request_Metrics()
3236 scaled_h = FT_MulFix( face->units_per_EM, metrics->y_scale ); in FT_Request_Metrics()
/third_party/skia/third_party/externals/freetype/src/pfr/
Dpfrobjs.c204 pfrface->units_per_EM = (FT_UShort)phy_font->outline_resolution; in pfr_face_init()
208 pfrface->height = (FT_Short)( ( pfrface->units_per_EM * 12 ) / 10 ); in pfr_face_init()
257 pfrface->underline_position = (FT_Short)( -pfrface->units_per_EM / 10 ); in pfr_face_init()
258 pfrface->underline_thickness = (FT_Short)( pfrface->units_per_EM / 30 ); in pfr_face_init()
/third_party/skia/third_party/externals/freetype/src/cid/
Dcidobjs.c444 if ( !cidface->units_per_EM ) in cid_face_init()
445 cidface->units_per_EM = 1000; in cid_face_init()
450 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()
/third_party/skia/third_party/externals/freetype/src/type1/
Dt1objs.c480 if ( !root->units_per_EM ) in T1_Face_Init()
481 root->units_per_EM = 1000; in T1_Face_Init()
486 root->height = (FT_Short)( ( root->units_per_EM * 12 ) / 10 ); in T1_Face_Init()
Dt1load.c1442 root->units_per_EM = (FT_UShort)FT_DivFix( 1000, temp_scale ); in t1_parse_font_matrix()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ft.cc695 hb_face_set_upem (face, ft_face->units_per_EM); in hb_ft_face_create()
831 …(int) (((uint64_t) ft_face->size->metrics.x_scale * (uint64_t) ft_face->units_per_EM + (1u<<15)) >… in hb_ft_font_changed()
832 …(int) (((uint64_t) ft_face->size->metrics.y_scale * (uint64_t) ft_face->units_per_EM + (1u<<15)) >… in hb_ft_font_changed()
/third_party/skia/third_party/externals/icu/source/samples/layout/
DGnomeFontInstance.cpp80 fUnitsPerEM = fFace->units_per_EM; in GnomeFontInstance()
/third_party/icu/icu4c/source/samples/layout/
DGnomeFontInstance.cpp80 fUnitsPerEM = fFace->units_per_EM; in GnomeFontInstance()
/third_party/skia/third_party/externals/freetype/src/type42/
Dt42objs.c316 root->units_per_EM = face->ttf_face->units_per_EM; in T42_Face_Init()
/third_party/skia/third_party/externals/freetype/src/cff/
Dcffobjs.c748 dict->units_per_em = pure_cff ? 1000 : face->root.units_per_EM; in cff_face_init()
878 cffface->units_per_EM = (FT_UShort)( dict->units_per_em ); in cff_face_init()
883 cffface->height = (FT_Short)( ( cffface->units_per_EM * 12 ) / 10 ); in cff_face_init()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/freetype/src/truetype/
Dttobjs.c1411 face->root.units_per_EM ); in tt_size_reset()
1413 face->root.units_per_EM ); in tt_size_reset()
/third_party/skia/third_party/externals/freetype/include/freetype/
Dfreetype.h1089 FT_UShort units_per_EM; member
/third_party/skia/src/ports/
DSkFontHost_FreeType_common.cpp1032 err = FT_Set_Char_Size(ft_face, SkIntToFDot6(ft_face->units_per_EM), 0, 0, 0); in GetClipBoxPath()
1698 err = FT_Set_Char_Size(face, SkIntToFDot6(face->units_per_EM), in generateFacePathCOLRv1()
1699 SkIntToFDot6(face->units_per_EM), 72, 72); in generateFacePathCOLRv1()
DSkFontHost_FreeType.cpp686 SkScalar upem = SkIntToScalar(face->units_per_EM); in GetUnitsPerEm()
882 SkScalar upem = fFaceRec->fFace->units_per_EM; in SkScalerContext_FreeType()
1530 strength = FT_MulFix(face->units_per_EM, face->size->metrics.y_scale) in emboldenIfNeeded()
/third_party/skia/third_party/externals/freetype/docs/oldlogs/
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'
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dsfobjs.c1288 root->units_per_EM = face->header.Units_Per_EM; in sfnt_load_face()

12