Home
last modified time | relevance | path

Searched refs:upm (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/third_party/freetype/src/cff/
Dcffparse.c512 FT_ULong* upm = &dict->units_per_em; in cff_parse_font_matrix() local
551 *upm = 1; in cff_parse_font_matrix()
562 *upm = power_tens[scaling]; in cff_parse_font_matrix()
565 (double)matrix->xx / *upm / 65536, in cff_parse_font_matrix()
566 (double)matrix->xy / *upm / 65536, in cff_parse_font_matrix()
567 (double)matrix->yx / *upm / 65536, in cff_parse_font_matrix()
568 (double)matrix->yy / *upm / 65536, in cff_parse_font_matrix()
569 (double)offset->x / *upm / 65536, in cff_parse_font_matrix()
570 (double)offset->y / *upm / 65536 )); in cff_parse_font_matrix()
Dcffobjs.c643 FT_ULong* upm = &dict->units_per_em; in cff_face_init() local
649 *upm = FT_DivFix( *upm, temp ); in cff_face_init()
670 FT_ULong* upm; in cff_face_init() local
711 upm = &sub->units_per_em; in cff_face_init()
716 *upm = FT_DivFix( *upm, temp ); in cff_face_init()
/external/freetype/src/cff/
Dcffparse.c512 FT_ULong* upm = &dict->units_per_em; in cff_parse_font_matrix() local
551 *upm = 1; in cff_parse_font_matrix()
562 *upm = (FT_ULong)power_tens[scaling]; in cff_parse_font_matrix()
565 (double)matrix->xx / *upm / 65536, in cff_parse_font_matrix()
566 (double)matrix->xy / *upm / 65536, in cff_parse_font_matrix()
567 (double)matrix->yx / *upm / 65536, in cff_parse_font_matrix()
568 (double)matrix->yy / *upm / 65536, in cff_parse_font_matrix()
569 (double)offset->x / *upm / 65536, in cff_parse_font_matrix()
570 (double)offset->y / *upm / 65536 )); in cff_parse_font_matrix()
Dcffobjs.c648 FT_ULong* upm = &dict->units_per_em; in cff_face_init() local
654 *upm = (FT_ULong)FT_DivFix( (FT_Long)*upm, temp ); in cff_face_init()
675 FT_ULong* upm; in cff_face_init() local
718 upm = &sub->units_per_em; in cff_face_init()
723 *upm = (FT_ULong)FT_DivFix( (FT_Long)*upm, temp ); in cff_face_init()
/external/pdfium/core/src/fpdfapi/fpdf_font/
Dfpdf_font.cpp302 int upm = FXFT_Get_Face_UnitsPerEM(face); in TT2PDF() local
303 if (upm == 0) { in TT2PDF()
306 return (m * 1000 + upm / 2) / upm; in TT2PDF()