Lines Matching refs:units_per_EM

514 …       n_g.h_advance=((double)theFace->glyph->metrics.horiAdvance)/((double)theFace->units_per_EM);  in LoadGlyph()
515 n_g.h_width=((double)theFace->glyph->metrics.width)/((double)theFace->units_per_EM); in LoadGlyph()
517 …th=n_g.h_advance=((double)(theFace->bbox.xMax-theFace->bbox.xMin))/((double)theFace->units_per_EM); in LoadGlyph()
520 … n_g.v_advance=((double)theFace->glyph->metrics.vertAdvance)/((double)theFace->units_per_EM); in LoadGlyph()
521 … n_g.v_width=((double)theFace->glyph->metrics.height)/((double)theFace->units_per_EM); in LoadGlyph()
539 FT2GeomData user(path_builder, 1.0/((double)theFace->units_per_EM)); in LoadGlyph()
609 if ( theFace->units_per_EM == 0 ) { in FontDecoration()
612 …derline_position = fabs(((double)theFace->underline_position )/((double)theFace->units_per_EM)); in FontDecoration()
613 …derline_thickness = fabs(((double)theFace->underline_thickness)/((double)theFace->units_per_EM)); in FontDecoration()
615 …nethrough_position = fabs(((double)theFace->ascender / 3.0 )/((double)theFace->units_per_EM)); in FontDecoration()
616 …nethrough_thickness = fabs(((double)theFace->underline_thickness)/((double)theFace->units_per_EM)); in FontDecoration()
906 if ( theFace->units_per_EM != 0 ) { // If zero then it's a bitmap font. in FindFontMetrics()
910 _ascent = fabs(((double)os2->sTypoAscender) / ((double)theFace->units_per_EM)); in FindFontMetrics()
911 _descent = fabs(((double)os2->sTypoDescender)/ ((double)theFace->units_per_EM)); in FindFontMetrics()
913 _ascent = fabs(((double)theFace->ascender) / ((double)theFace->units_per_EM)); in FindFontMetrics()
914 _descent = fabs(((double)theFace->descender) / ((double)theFace->units_per_EM)); in FindFontMetrics()
916 _ascent_max = fabs(((double)theFace->ascender) / ((double)theFace->units_per_EM)); in FindFontMetrics()
917 _descent_max = fabs(((double)theFace->descender) / ((double)theFace->units_per_EM)); in FindFontMetrics()
918 _design_units = theFace->units_per_EM; in FindFontMetrics()
931 _xheight = fabs(((double)os2->sxHeight) / ((double)theFace->units_per_EM)); in FindFontMetrics()
937 … _xheight = (fabs)(((double)theFace->glyph->metrics.height/(double)theFace->units_per_EM)); in FindFontMetrics()
966 double math = (acbox.yMin + acbox.yMax)/2.0/(double)theFace->units_per_EM; in FindFontMetrics()
982 double hanging = (double)acbox.yMax/(double)theFace->units_per_EM; in FindFontMetrics()