Home
last modified time | relevance | path

Searched refs:HB_DIRECTION_RTL (Results 1 – 9 of 9) sorted by relevance

/external/harfbuzz_ng/test/api/
Dtest-common.c58 g_assert (HB_DIRECTION_IS_HORIZONTAL (HB_DIRECTION_RTL)); in test_types_direction()
64 g_assert (!HB_DIRECTION_IS_VERTICAL (HB_DIRECTION_RTL)); in test_types_direction()
71 g_assert (!HB_DIRECTION_IS_FORWARD (HB_DIRECTION_RTL)); in test_types_direction()
77 g_assert (HB_DIRECTION_IS_BACKWARD (HB_DIRECTION_RTL)); in test_types_direction()
83 g_assert (HB_DIRECTION_IS_VALID (HB_DIRECTION_RTL)); in test_types_direction()
88 g_assert_cmpint (HB_DIRECTION_REVERSE (HB_DIRECTION_LTR), ==, HB_DIRECTION_RTL); in test_types_direction()
89 g_assert_cmpint (HB_DIRECTION_REVERSE (HB_DIRECTION_RTL), ==, HB_DIRECTION_LTR); in test_types_direction()
98 g_assert_cmpint (HB_DIRECTION_RTL, ==, hb_direction_from_string ("r", -1)); in test_types_direction()
99 g_assert_cmpint (HB_DIRECTION_RTL, ==, hb_direction_from_string ("rtl", -1)); in test_types_direction()
100 g_assert_cmpint (HB_DIRECTION_RTL, ==, hb_direction_from_string ("RtL", -1)); in test_types_direction()
[all …]
Dtest-buffer.c121 hb_buffer_set_direction (b, HB_DIRECTION_RTL); in test_buffer_properties()
122 g_assert (hb_buffer_get_direction (b) == HB_DIRECTION_RTL); in test_buffer_properties()
154 hb_buffer_set_direction (b, HB_DIRECTION_RTL); in test_buffer_properties()
155 g_assert (hb_buffer_get_direction (b) == HB_DIRECTION_RTL); in test_buffer_properties()
Dtest-font.c286 g_assert (!hb_font_get_glyph_contour_point_for_origin (font1, 3, 7, HB_DIRECTION_RTL, &x, &y)); in test_fontfuncs_subclassing()
322 g_assert (hb_font_get_glyph_contour_point_for_origin (font2, 2, 5, HB_DIRECTION_RTL, &x, &y)); in test_fontfuncs_subclassing()
338 g_assert (hb_font_get_glyph_contour_point_for_origin (font3, 1, 2, HB_DIRECTION_RTL, &x, &y)); in test_fontfuncs_subclassing()
/external/harfbuzz_ng/src/
Dhb-common.cc510 return HB_DIRECTION_RTL; in hb_script_get_horizontal_direction()
Dhb-common.h120 HB_DIRECTION_RTL, enumerator
Dhb-ot-shape.cc77 case HB_DIRECTION_RTL: in hb_ot_shape_collect_features()
851 bool mirror = hb_script_get_horizontal_direction (buffer->props.script) == HB_DIRECTION_RTL; in hb_ot_shape_glyphs_closure()
Dhb-graphite2.cc267 2 | (hb_buffer_get_direction (buffer) == HB_DIRECTION_RTL ? 1 : 0)); in _hb_graphite2_shape()
Dhb-ot-shape-fallback.cc223 } else if (buffer->props.direction == HB_DIRECTION_RTL) { in position_mark()
Dhb-ot-layout-gpos-table.hh949 case HB_DIRECTION_RTL: in apply()