/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() 497 hb_font_get_scale (font, &x_scale, NULL); in test_font_properties() 498 g_assert_cmpint (x_scale, ==, upem); in test_font_properties() 499 x_scale = y_scale = 13; 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() 504 g_assert_cmpint (x_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() 497 hb_font_get_scale (font, &x_scale, NULL); in test_font_properties() 498 g_assert_cmpint (x_scale, ==, upem); in test_font_properties() 499 x_scale = y_scale = 13; 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() 504 g_assert_cmpint (x_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() 497 hb_font_get_scale (font, &x_scale, NULL); in test_font_properties() 498 g_assert_cmpint (x_scale, ==, upem); in test_font_properties() 499 x_scale = y_scale = 13; 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() 504 g_assert_cmpint (x_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/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() 79 x_scale = face->size->metrics.x_scale; in FT_Get_PFR_Metrics() 84 *ametrics_x_scale = x_scale; in FT_Get_PFR_Metrics()
|
/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() 78 x_scale = face->size->metrics.x_scale; in FT_Get_PFR_Metrics() 83 *ametrics_x_scale = x_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() 78 x_scale = face->size->metrics.x_scale; in FT_Get_PFR_Metrics() 83 *ametrics_x_scale = x_scale; in FT_Get_PFR_Metrics()
|
/third_party/flutter/skia/third_party/externals/harfbuzz/src/ |
D | hb-font.hh | 110 int x_scale; member 131 { return HB_DIRECTION_IS_VERTICAL(direction) ? y_scale : x_scale; } in dir_scale() 132 hb_position_t em_scale_x (int16_t v) { return em_scale (v, x_scale); } in em_scale_x() 134 hb_position_t em_scalef_x (float v) { return em_scalef (v, this->x_scale); } in em_scalef_x() 136 float em_fscale_x (int16_t v) { return em_fscale (v, x_scale); } in em_fscale_x() 144 if (unlikely (parent && parent->x_scale != x_scale)) in parent_scale_x_distance() 145 return (hb_position_t) (v * (int64_t) this->x_scale / this->parent->x_scale); in parent_scale_x_distance() 385 extents->ascender = x_scale / 2; in get_v_extents_with_fallback() 386 extents->descender = extents->ascender - x_scale; in get_v_extents_with_fallback()
|
D | hb-ft.cc | 272 int mult = font->x_scale < 0 ? -1 : +1; in hb_ft_get_glyph_h_advances() 274 if (font->x_scale != ft_font->cached_x_scale.get ()) in hb_ft_get_glyph_h_advances() 277 ft_font->cached_x_scale.set (font->x_scale); in hb_ft_get_glyph_h_advances() 341 if (font->x_scale < 0) in hb_ft_get_glyph_v_origin() 367 if (font->x_scale < 0) in hb_ft_get_glyph_extents() 688 …(int) (((uint64_t) ft_face->size->metrics.x_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() 825 font->x_ppem * 72 * 64 / font->x_scale, in hb_ft_font_set_funcs() 828 if (font->x_scale < 0 || font->y_scale < 0) in hb_ft_font_set_funcs() 830 FT_Matrix matrix = { font->x_scale < 0 ? -1 : +1, 0, in hb_ft_font_set_funcs()
|
/third_party/freetype/src/truetype/ |
D | ttgload.c | 859 loader->exec->metrics.x_scale = 1 << 16; in TT_Hint_Glyph() 866 loader->exec->metrics.x_scale = loader->size->metrics->x_scale; in TT_Hint_Glyph() 1034 FT_Fixed x_scale = 0; /* pacify compiler */ in TT_Process_Simple_Glyph() local 1055 x_scale = FT_MulDiv( loader->size->metrics->x_scale, in TT_Process_Simple_Glyph() 1090 x_scale = loader->size->metrics->x_scale; in TT_Process_Simple_Glyph() 1107 vec->x = ADD_LONG( FT_MulFix( u->x, x_scale ), 32 ) >> 6; in TT_Process_Simple_Glyph() 1116 vec->x = FT_MulFix( vec->x, x_scale ); in TT_Process_Simple_Glyph() 1128 loader->pp1.x = FT_MulFix( loader->pp1.x, x_scale ); in TT_Process_Simple_Glyph() 1129 loader->pp2.x = FT_MulFix( loader->pp2.x, x_scale ); in TT_Process_Simple_Glyph() 1145 loader->pp3.x = FT_MulFix( loader->pp3.x, x_scale ); in TT_Process_Simple_Glyph() [all …]
|
/third_party/skia/third_party/externals/freetype/src/truetype/ |
D | ttgload.c | 859 loader->exec->metrics.x_scale = 1 << 16; in TT_Hint_Glyph() 866 loader->exec->metrics.x_scale = loader->size->metrics->x_scale; in TT_Hint_Glyph() 1034 FT_Fixed x_scale = 0; /* pacify compiler */ in TT_Process_Simple_Glyph() local 1055 x_scale = FT_MulDiv( loader->size->metrics->x_scale, in TT_Process_Simple_Glyph() 1090 x_scale = loader->size->metrics->x_scale; in TT_Process_Simple_Glyph() 1107 vec->x = ( FT_MulFix( u->x, x_scale ) + 32 ) >> 6; in TT_Process_Simple_Glyph() 1116 vec->x = FT_MulFix( vec->x, x_scale ); in TT_Process_Simple_Glyph() 1128 loader->pp1.x = FT_MulFix( loader->pp1.x, x_scale ); in TT_Process_Simple_Glyph() 1129 loader->pp2.x = FT_MulFix( loader->pp2.x, x_scale ); in TT_Process_Simple_Glyph() 1145 loader->pp3.x = FT_MulFix( loader->pp3.x, x_scale ); in TT_Process_Simple_Glyph() [all …]
|
/third_party/skia/third_party/externals/freetype/src/pfr/ |
D | pfrdrivr.c | 106 FT_Fixed x_scale, y_scale; in pfr_get_metrics() local 116 x_scale = 0x10000L; in pfr_get_metrics() 121 x_scale = FT_DivFix( size->metrics.x_ppem << 6, in pfr_get_metrics() 129 *ametrics_x_scale = x_scale; in pfr_get_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 117 x_scale = 0x10000L; in pfr_get_metrics() 122 x_scale = FT_DivFix( size->metrics.x_ppem << 6, in pfr_get_metrics() 130 *ametrics_x_scale = x_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 116 x_scale = 0x10000L; in pfr_get_metrics() 121 x_scale = FT_DivFix( size->metrics.x_ppem << 6, in pfr_get_metrics() 129 *ametrics_x_scale = x_scale; in pfr_get_metrics()
|
/third_party/harfbuzz/src/ |
D | hb-font.hh | 110 int32_t x_scale; member 137 hb_position_t em_scalef_x (float v) { return em_scalef (v, x_scale); } in em_scalef_x() 139 float em_fscale_x (int16_t v) { return em_fscale (v, x_scale); } in em_fscale_x() 147 if (unlikely (parent && parent->x_scale != x_scale)) in parent_scale_x_distance() 148 return (hb_position_t) (v * (int64_t) this->x_scale / this->parent->x_scale); in parent_scale_x_distance() 388 extents->ascender = x_scale / 2; in get_v_extents_with_fallback() 389 extents->descender = extents->ascender - x_scale; in get_v_extents_with_fallback() 616 x_mult = ((int64_t) x_scale << 16) / upem; in mults_changed()
|
D | hb-ft.cc | 336 int mult = font->x_scale < 0 ? -1 : +1; in hb_ft_get_glyph_h_advances() 338 if (font->x_scale != ft_font->cached_x_scale) in hb_ft_get_glyph_h_advances() 341 ft_font->cached_x_scale = font->x_scale; in hb_ft_get_glyph_h_advances() 405 if (font->x_scale < 0) in hb_ft_get_glyph_v_origin() 450 if (font->x_scale < 0) in hb_ft_get_glyph_extents() 837 …(int) (((uint64_t) ft_face->size->metrics.x_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() 1008 font->x_ppem * 72 * 64 / font->x_scale, in hb_ft_font_set_funcs() 1011 if (font->x_scale < 0 || font->y_scale < 0) in hb_ft_font_set_funcs() 1013 FT_Matrix matrix = { font->x_scale < 0 ? -1 : +1, 0, in hb_ft_font_set_funcs()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-font.hh | 110 int32_t x_scale; member 137 hb_position_t em_scalef_x (float v) { return em_scalef (v, x_scale); } in em_scalef_x() 139 float em_fscale_x (int16_t v) { return em_fscale (v, x_scale); } in em_fscale_x() 147 if (unlikely (parent && parent->x_scale != x_scale)) in parent_scale_x_distance() 148 return (hb_position_t) (v * (int64_t) this->x_scale / this->parent->x_scale); in parent_scale_x_distance() 390 extents->ascender = x_scale / 2; in get_v_extents_with_fallback() 391 extents->descender = extents->ascender - x_scale; in get_v_extents_with_fallback() 618 x_mult = ((int64_t) x_scale << 16) / upem; in mults_changed()
|
/third_party/freetype/src/cff/ |
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 262 x_scale = FT_MulDiv( size->metrics.x_scale, top_upm, sub_upm ); in cff_size_select() 267 x_scale = size->metrics.x_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 338 x_scale = FT_MulDiv( size->metrics.x_scale, top_upm, sub_upm ); in cff_size_request() 343 x_scale = size->metrics.x_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 253 x_scale = FT_MulDiv( size->metrics.x_scale, top_upm, sub_upm ); in cff_size_select() 258 x_scale = size->metrics.x_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 325 x_scale = FT_MulDiv( size->metrics.x_scale, top_upm, sub_upm ); in cff_size_request() 330 x_scale = size->metrics.x_scale; in cff_size_request() 335 x_scale, y_scale, 0, 0 ); in cff_size_request()
|
D | cffgload.c | 237 glyph->x_scale = 0x10000L; in cff_slot_load() 241 glyph->x_scale = size->root.metrics.x_scale; in cff_slot_load() 373 glyph->x_scale = FT_MulDiv( glyph->x_scale, top_upm, sub_upm ); in cff_slot_load() 641 FT_Fixed x_scale = glyph->x_scale; in cff_slot_load() local 649 vec->x = FT_MulFix( vec->x, x_scale ); in cff_slot_load() 654 metrics->horiAdvance = FT_MulFix( metrics->horiAdvance, x_scale ); in cff_slot_load()
|
/third_party/skia/third_party/externals/freetype/src/cff/ |
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 262 x_scale = FT_MulDiv( size->metrics.x_scale, top_upm, sub_upm ); in cff_size_select() 267 x_scale = size->metrics.x_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 338 x_scale = FT_MulDiv( size->metrics.x_scale, top_upm, sub_upm ); in cff_size_request() 343 x_scale = size->metrics.x_scale; in cff_size_request() 348 x_scale, y_scale, 0, 0 ); in cff_size_request()
|
D | cffgload.c | 236 glyph->x_scale = 0x10000L; in cff_slot_load() 240 glyph->x_scale = size->root.metrics.x_scale; in cff_slot_load() 371 glyph->x_scale = FT_MulDiv( glyph->x_scale, top_upm, sub_upm ); in cff_slot_load() 638 FT_Fixed x_scale = glyph->x_scale; in cff_slot_load() local 646 vec->x = FT_MulFix( vec->x, x_scale ); in cff_slot_load() 651 metrics->horiAdvance = FT_MulFix( metrics->horiAdvance, x_scale ); in cff_slot_load()
|
/third_party/flutter/skia/third_party/externals/freetype/src/truetype/ |
D | ttgload.c | 841 loader->exec->metrics.x_scale = 1 << 16; in TT_Hint_Glyph() 848 loader->exec->metrics.x_scale = loader->size->metrics->x_scale; in TT_Hint_Glyph() 1016 FT_Fixed x_scale = 0; /* pacify compiler */ in TT_Process_Simple_Glyph() local 1037 x_scale = FT_MulDiv( loader->size->metrics->x_scale, in TT_Process_Simple_Glyph() 1072 x_scale = loader->size->metrics->x_scale; in TT_Process_Simple_Glyph() 1089 vec->x = ( FT_MulFix( u->x, x_scale ) + 32 ) >> 6; in TT_Process_Simple_Glyph() 1098 vec->x = FT_MulFix( vec->x, x_scale ); in TT_Process_Simple_Glyph() 1267 FT_Fixed x_scale = loader->size->metrics->x_scale; in TT_Process_Composite_Component() local 1271 x = FT_MulFix( x, x_scale ); in TT_Process_Composite_Component() 1583 FT_Fixed x_scale, y_scale; in load_truetype_glyph() local [all …]
|
/third_party/skia/third_party/externals/freetype/src/autofit/ |
D | afloader.c | 148 size_metrics->x_scale ); in af_loader_embolden_glyph_in_slot() 237 if ( !size_internal->autohint_metrics.x_scale || in af_loader_load_glyph() 265 size_metrics->x_scale = FT_DivFix( size_metrics->x_ppem << 6, in af_loader_load_glyph() 271 size_metrics->x_scale ) ); in af_loader_load_glyph() 286 scaler.x_scale = size_internal->autohint_metrics.x_scale; in af_loader_load_glyph() 405 hints->x_scale ) + hints->x_delta; in af_loader_load_glyph() 513 vvector.x = FT_MulFix( vvector.x, style_metrics->scaler.x_scale ); in af_loader_load_glyph() 553 style_metrics->scaler.x_scale ); in af_loader_load_glyph()
|
/third_party/freetype/src/autofit/ |
D | afloader.c | 148 size_metrics->x_scale ); in af_loader_embolden_glyph_in_slot() 237 if ( !size_internal->autohint_metrics.x_scale || in af_loader_load_glyph() 265 size_metrics->x_scale = FT_DivFix( size_metrics->x_ppem << 6, in af_loader_load_glyph() 271 size_metrics->x_scale ) ); in af_loader_load_glyph() 286 scaler.x_scale = size_internal->autohint_metrics.x_scale; in af_loader_load_glyph() 405 hints->x_scale ) + hints->x_delta; in af_loader_load_glyph() 513 vvector.x = FT_MulFix( vvector.x, style_metrics->scaler.x_scale ); in af_loader_load_glyph() 553 style_metrics->scaler.x_scale ); in af_loader_load_glyph()
|
/third_party/flutter/skia/third_party/externals/freetype/src/autofit/ |
D | afloader.c | 149 size_metrics->x_scale ), in af_loader_embolden_glyph_in_slot() 240 if ( !size_internal->autohint_metrics.x_scale || in af_loader_load_glyph() 268 size_metrics->x_scale = FT_DivFix( size_metrics->x_ppem << 6, in af_loader_load_glyph() 274 size_metrics->x_scale ) ); in af_loader_load_glyph() 289 scaler.x_scale = size_internal->autohint_metrics.x_scale; in af_loader_load_glyph() 414 hints->x_scale ) + hints->x_delta; in af_loader_load_glyph() 522 vvector.x = FT_MulFix( vvector.x, style_metrics->scaler.x_scale ); in af_loader_load_glyph() 562 style_metrics->scaler.x_scale ); in af_loader_load_glyph()
|