Searched refs:y_mult (Results 1 – 6 of 6) sorted by relevance
144 float x_mult = 1.f, y_mult = 1.f; in _hb_ft_hb_font_changed() local147 if (font->y_scale < 0) y_mult = -y_mult; in _hb_ft_hb_font_changed()169 y_mult = (float) font->y_scale / y_scale; in _hb_ft_hb_font_changed()176 if (x_mult != 1.f || y_mult != 1.f) in _hb_ft_hb_font_changed()179 0, (int) roundf (y_mult * (1<<16))}; in _hb_ft_hb_font_changed()481 float y_mult; in hb_ft_get_glyph_v_advance() local487 y_mult = sqrtf ((float)matrix.yx * matrix.yx + (float)matrix.yy * matrix.yy) / 65536.f; in hb_ft_get_glyph_v_advance()492 y_mult = font->y_scale < 0 ? -1 : +1; in hb_ft_get_glyph_v_advance()498 v = (int) (y_mult * v); in hb_ft_get_glyph_v_advance()519 float x_mult, y_mult; in hb_ft_get_glyph_v_origin() local[all …]
473 double x_mult, y_mult; /* From LOGFONT space to HB space. */ member505 data->y_mult = (double) font->y_scale / font_size; in _hb_uniscribe_shaper_font_data_create()866 double x_mult = font_data->x_mult, y_mult = font_data->y_mult; in _hb_uniscribe_shape() local875 pos->y_offset = y_mult * info->var2.i32; in _hb_uniscribe_shape()
120 int64_t y_mult; member141 { return HB_DIRECTION_IS_VERTICAL(direction) ? y_mult : x_mult; } in dir_mult()143 hb_position_t em_scale_y (int16_t v) { return em_mult (v, y_mult); } in em_scale_y()640 y_mult = (y_neg ? -((int64_t) -y_scale << 16) : ((int64_t) y_scale << 16)) / upem; in mults_changed()
495 CGFloat y_mult = (CGFloat) font->y_scale / ct_font_size; in _hb_coretext_shape() local1084 info->var2.i32 = round (positions[j].y * y_mult); in _hb_coretext_shape()1090 hb_position_t y_offset = round ((positions[0].y - advances_so_far) * y_mult); in _hb_coretext_shape()1099 info->mask = (int) round (advance * y_mult); in _hb_coretext_shape()
715 double y_mult = (double) font->y_scale / fontEmSize; in _hb_directwrite_shape() local787 pos->y_offset = y_mult * info->var2.i32; in _hb_directwrite_shape()
1719 font->x_mult = font->y_mult = 1 << 16; in _hb_font_create()