Home
last modified time | relevance | path

Searched refs:y_ppem (Results 1 – 25 of 28) sorted by relevance

12

/external/harfbuzz_ng/test/api/
Dtest-font.c369 unsigned int x_ppem, y_ppem; in test_font_properties() local
407 x_ppem = y_ppem = 13; in test_font_properties()
410 x_ppem = y_ppem = 13; in test_font_properties()
411 hb_font_get_ppem (font, NULL, &y_ppem); in test_font_properties()
412 g_assert_cmpint (y_ppem, ==, 0); in test_font_properties()
413 x_ppem = y_ppem = 13; in test_font_properties()
414 hb_font_get_ppem (font, &x_ppem, &y_ppem); in test_font_properties()
416 g_assert_cmpint (y_ppem, ==, 0); in test_font_properties()
420 x_ppem = y_ppem = 13; in test_font_properties()
421 hb_font_get_ppem (font, &x_ppem, &y_ppem); in test_font_properties()
[all …]
/external/harfbuzz_ng/src/
Dhb-font.cc817 font->y_ppem = parent->y_ppem; in hb_font_create_sub_font()
992 unsigned int y_ppem) in hb_font_set_ppem() argument
998 font->y_ppem = y_ppem; in hb_font_set_ppem()
1004 unsigned int *y_ppem) in hb_font_get_ppem() argument
1007 if (y_ppem) *y_ppem = font->y_ppem; in hb_font_get_ppem()
Dhb-ot-layout-gpos-table.hh103 unsigned int x_ppem, y_ppem; in apply_value() local
122 y_ppem = font->y_ppem; in apply_value()
124 if (!x_ppem && !y_ppem) return; in apply_value()
131 …if (y_ppem) glyph_pos.y_offset += (base + get_device (values++)).get_y_delta (font); else values+… in apply_value()
138 …if (!horizontal && y_ppem) glyph_pos.y_advance -= (base + get_device (values++)).get_y_delta (font… in apply_value()
241 unsigned int y_ppem = font->y_ppem; in get_anchor() local
245 if (x_ppem || y_ppem) in get_anchor()
248 *y = y_ppem && ret ? cy : font->em_scale_y (yCoordinate); in get_anchor()
275 if (font->y_ppem) in get_anchor()
Dhb-font.h444 unsigned int y_ppem);
449 unsigned int *y_ppem);
Dhb-old.cc232 data->y_ppem = font->y_ppem; in _hb_old_shaper_font_data_create()
Dhb-ft.cc389 ft_face->size->metrics.y_ppem); in hb_ft_font_create()
466 font->y_ppem * 72 * 64 / font->y_scale); in hb_ft_font_set_funcs()
Dhb-font-private.hh170 unsigned int y_ppem; member
Dhb-ot-layout-common-private.hh1076 { return get_delta (font->y_ppem, font->y_scale); } in get_y_delta()
/external/freetype/src/truetype/
Dttobjs.c757 metrics->y_ppem = 0; in tt_size_run_fpgm()
1142 if ( metrics->x_ppem < 1 || metrics->y_ppem < 1 ) in tt_size_reset()
1153 metrics->y_scale = FT_DivFix( metrics->y_ppem << 6, in tt_size_reset()
1168 if ( metrics->x_ppem >= metrics->y_ppem ) in tt_size_reset()
1173 size->ttmetrics.y_ratio = FT_MulDiv( metrics->y_ppem, in tt_size_reset()
1180 size->ttmetrics.ppem = metrics->y_ppem; in tt_size_reset()
1183 metrics->y_ppem ); in tt_size_reset()
/external/freetype/include/freetype/internal/
Dtttypes.h668 FT_Byte y_ppem; member
728 FT_Byte y_ppem; member
Dsfnt.h391 FT_UInt y_ppem,
/external/freetype/src/base/
Dftobjs.c2211 if ( bsize->y_ppem < 0 ) in FT_Open_Face()
2212 bsize->y_ppem = -bsize->y_ppem; in FT_Open_Face()
2511 if ( h != FT_PIX_ROUND( bsize->y_ppem ) ) in FT_Match_Size()
2601 metrics->y_ppem = (FT_UShort)( ( bsize->y_ppem + 32 ) >> 6 ); in FT_Select_Metrics()
2607 metrics->y_scale = FT_DivFix( bsize->y_ppem, in FT_Select_Metrics()
2616 metrics->ascender = bsize->y_ppem; in FT_Select_Metrics()
2632 FT_TRACE5(( " y ppem: %d\n", metrics->y_ppem )); in FT_Select_Metrics()
2731 metrics->y_ppem = (FT_UShort)( ( scaled_h + 32 ) >> 6 ); in FT_Request_Metrics()
2752 FT_TRACE5(( " y ppem: %d\n", metrics->y_ppem )); in FT_Request_Metrics()
2795 FT_TRACE5(( " y ppem: %d\n", metrics->y_ppem )); in FT_Select_Size()
[all …]
/external/freetype/src/sfnt/
Dsfdriver.c493 FT_UInt y_ppem, in tt_face_set_sbit_strike_stub() argument
509 req.height = (FT_F26Dot6)y_ppem; in tt_face_set_sbit_strike_stub()
Dttbdf.c180 if ( _ppem == size->metrics.y_ppem ) in tt_face_find_bdf_prop()
Dsfobjs.c950 bsize->y_ppem = metrics.y_ppem << 6; in sfnt_load_face()
953 bsize->size = metrics.y_ppem << 6; in sfnt_load_face()
Dttsbit.c469 FT_FRAME_BYTE ( y_ppem ), in tt_face_load_eblc()
670 metrics->y_ppem = strike->y_ppem; in tt_face_load_strike_metrics()
Dttsbit0.c144 metrics->y_ppem = (FT_UShort)strike[45]; in tt_face_load_strike_metrics()
/external/harfbuzz_ng/src/hb-old/
Dharfbuzz-shaper.h224 HB_UShort x_ppem, y_ppem; member
Dharfbuzz-gpos.c480 HB_UShort x_ppem, y_ppem; in Get_ValueRecord() local
488 y_ppem = gpi->font->y_ppem; in Get_ValueRecord()
514 _HB_OPEN_Get_Device( vr->DeviceTables[VR_Y_PLACEMENT_DEVICE], y_ppem, &pixel_value ); in Get_ValueRecord()
524 _HB_OPEN_Get_Device( vr->DeviceTables[VR_Y_ADVANCE_DEVICE], y_ppem, &pixel_value ); in Get_ValueRecord()
730 HB_UShort x_ppem, y_ppem; in Get_Anchor() local
735 y_ppem = gpi->font->y_ppem; in Get_Anchor()
780 _HB_OPEN_Get_Device( an->af.af3.DeviceTables[AF3_Y_DEVICE_TABLE], y_ppem, &pixel_value ); in Get_Anchor()
/external/harfbuzz/src/
Dharfbuzz-shaper.h255 HB_UShort x_ppem, y_ppem; member
Dharfbuzz-gpos.c480 HB_UShort x_ppem, y_ppem; in Get_ValueRecord() local
488 y_ppem = gpi->font->y_ppem; in Get_ValueRecord()
514 _HB_OPEN_Get_Device( vr->DeviceTables[VR_Y_PLACEMENT_DEVICE], y_ppem, &pixel_value ); in Get_ValueRecord()
524 _HB_OPEN_Get_Device( vr->DeviceTables[VR_Y_ADVANCE_DEVICE], y_ppem, &pixel_value ); in Get_ValueRecord()
730 HB_UShort x_ppem, y_ppem; in Get_Anchor() local
735 y_ppem = gpi->font->y_ppem; in Get_Anchor()
780 _HB_OPEN_Get_Device( an->af.af3.DeviceTables[AF3_Y_DEVICE_TABLE], y_ppem, &pixel_value ); in Get_Anchor()
/external/freetype/include/freetype/
Dfreetype.h302 FT_Pos y_ppem; member
1363 FT_UShort y_ppem; /* vertical pixels per EM */ member
/external/harfbuzz/tests/shaping/
Dmain.cpp220 hbFont.y_ppem = face->size->metrics.y_ppem; in shaping()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DComplexTextControllerLinux.cpp210 m_item.font->y_ppem = size; in setupFontForScriptRun()
/external/webkit/Source/WebCore/platform/graphics/android/fonts/
DFontAndroid.cpp739 m_item.font->y_ppem = size; in setupFontForScriptRun()

12