/third_party/flutter/skia/third_party/externals/harfbuzz/test/api/ |
D | test-font.c | 465 int x_scale, y_scale; in test_font_properties() local 496 x_scale = y_scale = 13; in test_font_properties() 499 x_scale = y_scale = 13; in test_font_properties() 500 hb_font_get_scale (font, NULL, &y_scale); in test_font_properties() 501 g_assert_cmpint (y_scale, ==, upem); in test_font_properties() 502 x_scale = y_scale = 13; in test_font_properties() 503 hb_font_get_scale (font, &x_scale, &y_scale); in test_font_properties() 505 g_assert_cmpint (y_scale, ==, upem); in test_font_properties() 509 x_scale = y_scale = 13; in test_font_properties() 510 hb_font_get_scale (font, &x_scale, &y_scale); in test_font_properties() [all …]
|
/third_party/harfbuzz/test/api/ |
D | test-font.c | 465 int x_scale, y_scale; in test_font_properties() local 496 x_scale = y_scale = 13; in test_font_properties() 499 x_scale = y_scale = 13; in test_font_properties() 500 hb_font_get_scale (font, NULL, &y_scale); in test_font_properties() 501 g_assert_cmpint (y_scale, ==, upem); in test_font_properties() 502 x_scale = y_scale = 13; in test_font_properties() 503 hb_font_get_scale (font, &x_scale, &y_scale); in test_font_properties() 505 g_assert_cmpint (y_scale, ==, upem); in test_font_properties() 509 x_scale = y_scale = 13; in test_font_properties() 510 hb_font_get_scale (font, &x_scale, &y_scale); in test_font_properties() [all …]
|
/third_party/skia/third_party/externals/harfbuzz/test/api/ |
D | test-font.c | 465 int x_scale, y_scale; in test_font_properties() local 496 x_scale = y_scale = 13; in test_font_properties() 499 x_scale = y_scale = 13; in test_font_properties() 500 hb_font_get_scale (font, NULL, &y_scale); in test_font_properties() 501 g_assert_cmpint (y_scale, ==, upem); in test_font_properties() 502 x_scale = y_scale = 13; in test_font_properties() 503 hb_font_get_scale (font, &x_scale, &y_scale); in test_font_properties() 505 g_assert_cmpint (y_scale, ==, upem); in test_font_properties() 509 x_scale = y_scale = 13; in test_font_properties() 510 hb_font_get_scale (font, &x_scale, &y_scale); in test_font_properties() [all …]
|
/third_party/freetype/src/base/ |
D | ftpfr.c | 65 FT_Fixed x_scale, y_scale; in FT_Get_PFR_Metrics() local 75 x_scale = y_scale = 0x10000L; in FT_Get_PFR_Metrics() 79 y_scale = face->size->metrics.y_scale; in FT_Get_PFR_Metrics() 86 *ametrics_y_scale = y_scale; in FT_Get_PFR_Metrics()
|
/third_party/skia/third_party/externals/freetype/src/base/ |
D | ftpfr.c | 65 FT_Fixed x_scale, y_scale; in FT_Get_PFR_Metrics() local 75 x_scale = y_scale = 0x10000L; in FT_Get_PFR_Metrics() 79 y_scale = face->size->metrics.y_scale; in FT_Get_PFR_Metrics() 86 *ametrics_y_scale = y_scale; in FT_Get_PFR_Metrics()
|
/third_party/flutter/skia/third_party/externals/freetype/src/base/ |
D | ftpfr.c | 66 FT_Fixed x_scale, y_scale; in FT_Get_PFR_Metrics() local 76 x_scale = y_scale = 0x10000L; in FT_Get_PFR_Metrics() 80 y_scale = face->size->metrics.y_scale; in FT_Get_PFR_Metrics() 87 *ametrics_y_scale = y_scale; in FT_Get_PFR_Metrics()
|
/third_party/flutter/skia/third_party/externals/freetype/src/pfr/ |
D | pfrdrivr.c | 107 FT_Fixed x_scale, y_scale; in pfr_get_metrics() local 118 y_scale = 0x10000L; in pfr_get_metrics() 125 y_scale = FT_DivFix( size->metrics.y_ppem << 6, in pfr_get_metrics() 133 *ametrics_y_scale = y_scale; in pfr_get_metrics()
|
/third_party/freetype/src/pfr/ |
D | pfrdrivr.c | 106 FT_Fixed x_scale, y_scale; in pfr_get_metrics() local 117 y_scale = 0x10000L; in pfr_get_metrics() 124 y_scale = FT_DivFix( size->metrics.y_ppem << 6, in pfr_get_metrics() 132 *ametrics_y_scale = y_scale; in pfr_get_metrics()
|
/third_party/skia/third_party/externals/freetype/src/pfr/ |
D | pfrdrivr.c | 106 FT_Fixed x_scale, y_scale; in pfr_get_metrics() local 117 y_scale = 0x10000L; in pfr_get_metrics() 124 y_scale = FT_DivFix( size->metrics.y_ppem << 6, in pfr_get_metrics() 132 *ametrics_y_scale = y_scale; in pfr_get_metrics()
|
/third_party/pixman/test/ |
D | cover-test.c | 258 pixman_fixed_t x_scale, y_scale; in test_cover() local 301 y_scale = random_scale_factor (); in test_cover() 321 pixman_transform_init_scale (&src_transform, x_scale, y_scale); in test_cover() 327 y_scale, top_align, bilinear); in test_cover() 341 pixman_transform_init_scale (&mask_transform, x_scale, y_scale); in test_cover() 348 y_scale, top_align, in test_cover() 384 x_scale, y_scale, in test_cover()
|
/third_party/flutter/skia/third_party/externals/harfbuzz/src/ |
D | hb-font.hh | 111 int y_scale; member 131 { return HB_DIRECTION_IS_VERTICAL(direction) ? y_scale : x_scale; } in dir_scale() 133 hb_position_t em_scale_y (int16_t v) { return em_scale (v, y_scale); } in em_scale_y() 135 hb_position_t em_scalef_y (float v) { return em_scalef (v, this->y_scale); } in em_scalef_y() 137 float em_fscale_y (int16_t v) { return em_fscale (v, y_scale); } in em_fscale_y() 150 if (unlikely (parent && parent->y_scale != y_scale)) in parent_scale_y_distance() 151 return (hb_position_t) (v * (int64_t) this->y_scale / this->parent->y_scale); in parent_scale_y_distance() 376 extents->ascender = y_scale * .8; in get_h_extents_with_fallback() 377 extents->descender = extents->ascender - y_scale; in get_h_extents_with_fallback()
|
D | hb-ft.cc | 313 if (font->y_scale < 0) in hb_ft_get_glyph_v_advance() 343 if (font->y_scale < 0) in hb_ft_get_glyph_v_origin() 372 if (font->y_scale < 0) in hb_ft_get_glyph_extents() 469 metrics->ascender = FT_MulFix(ft_face->ascender, ft_face->size->metrics.y_scale); in hb_ft_get_font_h_extents() 470 metrics->descender = FT_MulFix(ft_face->descender, ft_face->size->metrics.y_scale); in hb_ft_get_font_h_extents() 471 …metrics->line_gap = FT_MulFix( ft_face->height, ft_face->size->metrics.y_scale ) - (metrics->ascen… in hb_ft_get_font_h_extents() 472 if (font->y_scale < 0) in hb_ft_get_font_h_extents() 689 …(int) (((uint64_t) ft_face->size->metrics.y_scale * (uint64_t) ft_face->units_per_EM + (1u<<15)) >… in hb_ft_font_changed() 822 abs (font->x_scale), abs (font->y_scale), in hb_ft_font_set_funcs() 826 font->y_ppem * 72 * 64 / font->y_scale); in hb_ft_font_set_funcs() [all …]
|
/third_party/freetype/src/truetype/ |
D | ttgload.c | 851 loader->exec->metrics.y_scale = 1 << 16; in TT_Hint_Glyph() 858 loader->exec->metrics.y_scale = loader->size->metrics->y_scale; in TT_Hint_Glyph() 1026 FT_Fixed y_scale = 0; in TT_Process_Simple_Glyph() local 1048 y_scale = loader->size->metrics->y_scale; in TT_Process_Simple_Glyph() 1082 y_scale = loader->size->metrics->y_scale; in TT_Process_Simple_Glyph() 1099 vec->y = ( FT_MulFix( u->y, y_scale ) + 32 ) >> 6; in TT_Process_Simple_Glyph() 1108 vec->y = FT_MulFix( vec->y, y_scale ); in TT_Process_Simple_Glyph() 1137 loader->pp3.y = FT_MulFix( loader->pp3.y, y_scale ); in TT_Process_Simple_Glyph() 1139 loader->pp4.y = FT_MulFix( loader->pp4.y, y_scale ); in TT_Process_Simple_Glyph() 1292 FT_Fixed y_scale = loader->size->metrics->y_scale; in TT_Process_Composite_Component() local [all …]
|
/third_party/skia/third_party/externals/freetype/src/truetype/ |
D | ttgload.c | 860 loader->exec->metrics.y_scale = 1 << 16; in TT_Hint_Glyph() 867 loader->exec->metrics.y_scale = loader->size->metrics->y_scale; in TT_Hint_Glyph() 1035 FT_Fixed y_scale = 0; in TT_Process_Simple_Glyph() local 1057 y_scale = loader->size->metrics->y_scale; in TT_Process_Simple_Glyph() 1091 y_scale = loader->size->metrics->y_scale; in TT_Process_Simple_Glyph() 1108 vec->y = ( FT_MulFix( u->y, y_scale ) + 32 ) >> 6; in TT_Process_Simple_Glyph() 1117 vec->y = FT_MulFix( vec->y, y_scale ); in TT_Process_Simple_Glyph() 1146 loader->pp3.y = FT_MulFix( loader->pp3.y, y_scale ); in TT_Process_Simple_Glyph() 1148 loader->pp4.y = FT_MulFix( loader->pp4.y, y_scale ); in TT_Process_Simple_Glyph() 1301 FT_Fixed y_scale = loader->size->metrics->y_scale; in TT_Process_Composite_Component() local [all …]
|
/third_party/flutter/skia/third_party/externals/freetype/src/truetype/ |
D | ttgload.c | 842 loader->exec->metrics.y_scale = 1 << 16; in TT_Hint_Glyph() 849 loader->exec->metrics.y_scale = loader->size->metrics->y_scale; in TT_Hint_Glyph() 1017 FT_Fixed y_scale = 0; in TT_Process_Simple_Glyph() local 1039 y_scale = loader->size->metrics->y_scale; in TT_Process_Simple_Glyph() 1073 y_scale = loader->size->metrics->y_scale; in TT_Process_Simple_Glyph() 1090 vec->y = ( FT_MulFix( u->y, y_scale ) + 32 ) >> 6; in TT_Process_Simple_Glyph() 1099 vec->y = FT_MulFix( vec->y, y_scale ); in TT_Process_Simple_Glyph() 1268 FT_Fixed y_scale = loader->size->metrics->y_scale; in TT_Process_Composite_Component() local 1272 y = FT_MulFix( y, y_scale ); in TT_Process_Composite_Component() 1583 FT_Fixed x_scale, y_scale; in load_truetype_glyph() local [all …]
|
/third_party/freetype/src/cff/ |
D | cffgload.c | 237 glyph->y_scale = 0x10000L; in cff_slot_load() 241 glyph->y_scale = size->root.metrics.y_scale; in cff_slot_load() 372 glyph->y_scale = FT_MulDiv( glyph->y_scale, top_upm, sub_upm ); in cff_slot_load() 639 FT_Fixed y_scale = glyph->y_scale; in cff_slot_load() local 647 vec->y = FT_MulFix( vec->y, y_scale ); in cff_slot_load() 652 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale ); in cff_slot_load() 669 glyph->y_scale ); in cff_slot_load()
|
D | cffobjs.c | 250 size->metrics.x_scale, size->metrics.y_scale, in cff_size_select() 257 FT_Pos x_scale, y_scale; in cff_size_select() local 263 y_scale = FT_MulDiv( size->metrics.y_scale, top_upm, sub_upm ); in cff_size_select() 268 y_scale = size->metrics.y_scale; in cff_size_select() 272 x_scale, y_scale, 0, 0 ); in cff_size_select() 322 size->metrics.x_scale, size->metrics.y_scale, in cff_size_request() 329 FT_Pos x_scale, y_scale; in cff_size_request() local 335 y_scale = FT_MulDiv( size->metrics.y_scale, top_upm, sub_upm ); in cff_size_request() 340 y_scale = size->metrics.y_scale; in cff_size_request() 344 x_scale, y_scale, 0, 0 ); in cff_size_request()
|
/third_party/harfbuzz/src/ |
D | hb-font.hh | 111 int32_t y_scale; member 138 hb_position_t em_scalef_y (float v) { return em_scalef (v, y_scale); } in em_scalef_y() 140 float em_fscale_y (int16_t v) { return em_fscale (v, y_scale); } in em_fscale_y() 153 if (unlikely (parent && parent->y_scale != y_scale)) in parent_scale_y_distance() 154 return (hb_position_t) (v * (int64_t) this->y_scale / this->parent->y_scale); in parent_scale_y_distance() 379 extents->ascender = y_scale * .8; in get_h_extents_with_fallback() 380 extents->descender = extents->ascender - y_scale; in get_h_extents_with_fallback() 617 y_mult = ((int64_t) y_scale << 16) / upem; in mults_changed()
|
D | hb-ft.cc | 377 if (font->y_scale < 0) in hb_ft_get_glyph_v_advance() 407 if (font->y_scale < 0) in hb_ft_get_glyph_v_origin() 455 if (font->y_scale < 0) in hb_ft_get_glyph_extents() 552 metrics->ascender = FT_MulFix(ft_face->ascender, ft_face->size->metrics.y_scale); in hb_ft_get_font_h_extents() 553 metrics->descender = FT_MulFix(ft_face->descender, ft_face->size->metrics.y_scale); in hb_ft_get_font_h_extents() 554 …metrics->line_gap = FT_MulFix( ft_face->height, ft_face->size->metrics.y_scale ) - (metrics->ascen… in hb_ft_get_font_h_extents() 555 if (font->y_scale < 0) in hb_ft_get_font_h_extents() 838 …(int) (((uint64_t) ft_face->size->metrics.y_scale * (uint64_t) ft_face->units_per_EM + (1u<<15)) >… in hb_ft_font_changed() 1005 abs (font->x_scale), abs (font->y_scale), in hb_ft_font_set_funcs() 1009 font->y_ppem * 72 * 64 / font->y_scale); in hb_ft_font_set_funcs() [all …]
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-font.hh | 111 int32_t y_scale; member 138 hb_position_t em_scalef_y (float v) { return em_scalef (v, y_scale); } in em_scalef_y() 140 float em_fscale_y (int16_t v) { return em_fscale (v, y_scale); } in em_fscale_y() 153 if (unlikely (parent && parent->y_scale != y_scale)) in parent_scale_y_distance() 154 return (hb_position_t) (v * (int64_t) this->y_scale / this->parent->y_scale); in parent_scale_y_distance() 381 extents->ascender = y_scale * .8; in get_h_extents_with_fallback() 382 extents->descender = extents->ascender - y_scale; in get_h_extents_with_fallback() 619 y_mult = ((int64_t) y_scale << 16) / upem; in mults_changed()
|
D | hb-ft.cc | 377 if (font->y_scale < 0) in hb_ft_get_glyph_v_advance() 407 if (font->y_scale < 0) in hb_ft_get_glyph_v_origin() 455 if (font->y_scale < 0) in hb_ft_get_glyph_extents() 552 metrics->ascender = FT_MulFix(ft_face->ascender, ft_face->size->metrics.y_scale); in hb_ft_get_font_h_extents() 553 metrics->descender = FT_MulFix(ft_face->descender, ft_face->size->metrics.y_scale); in hb_ft_get_font_h_extents() 554 …metrics->line_gap = FT_MulFix( ft_face->height, ft_face->size->metrics.y_scale ) - (metrics->ascen… in hb_ft_get_font_h_extents() 555 if (font->y_scale < 0) in hb_ft_get_font_h_extents() 832 …(int) (((uint64_t) ft_face->size->metrics.y_scale * (uint64_t) ft_face->units_per_EM + (1u<<15)) >… in hb_ft_font_changed() 993 abs (font->x_scale), abs (font->y_scale), in hb_ft_font_set_funcs() 997 font->y_ppem * 72 * 64 / font->y_scale); in hb_ft_font_set_funcs() [all …]
|
/third_party/skia/third_party/externals/freetype/src/cff/ |
D | cffgload.c | 237 glyph->y_scale = 0x10000L; in cff_slot_load() 241 glyph->y_scale = size->root.metrics.y_scale; in cff_slot_load() 372 glyph->y_scale = FT_MulDiv( glyph->y_scale, top_upm, sub_upm ); in cff_slot_load() 639 FT_Fixed y_scale = glyph->y_scale; in cff_slot_load() local 647 vec->y = FT_MulFix( vec->y, y_scale ); in cff_slot_load() 652 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale ); in cff_slot_load() 669 glyph->y_scale ); in cff_slot_load()
|
D | cffobjs.c | 250 size->metrics.x_scale, size->metrics.y_scale, in cff_size_select() 257 FT_Pos x_scale, y_scale; in cff_size_select() local 263 y_scale = FT_MulDiv( size->metrics.y_scale, top_upm, sub_upm ); in cff_size_select() 268 y_scale = size->metrics.y_scale; in cff_size_select() 272 x_scale, y_scale, 0, 0 ); in cff_size_select() 326 size->metrics.x_scale, size->metrics.y_scale, in cff_size_request() 333 FT_Pos x_scale, y_scale; in cff_size_request() local 339 y_scale = FT_MulDiv( size->metrics.y_scale, top_upm, sub_upm ); in cff_size_request() 344 y_scale = size->metrics.y_scale; in cff_size_request() 348 x_scale, y_scale, 0, 0 ); in cff_size_request()
|
/third_party/flutter/skia/third_party/externals/freetype/src/cff/ |
D | cffobjs.c | 241 size->metrics.x_scale, size->metrics.y_scale, in cff_size_select() 248 FT_Pos x_scale, y_scale; in cff_size_select() local 254 y_scale = FT_MulDiv( size->metrics.y_scale, top_upm, sub_upm ); in cff_size_select() 259 y_scale = size->metrics.y_scale; in cff_size_select() 263 x_scale, y_scale, 0, 0 ); in cff_size_select() 313 size->metrics.x_scale, size->metrics.y_scale, in cff_size_request() 320 FT_Pos x_scale, y_scale; in cff_size_request() local 326 y_scale = FT_MulDiv( size->metrics.y_scale, top_upm, sub_upm ); in cff_size_request() 331 y_scale = size->metrics.y_scale; in cff_size_request() 335 x_scale, y_scale, 0, 0 ); in cff_size_request()
|
/third_party/freetype/src/autofit/ |
D | afdummy.c | 32 hints->y_scale = metrics->scaler.y_scale; in af_dummy_hints_init()
|