Home
last modified time | relevance | path

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

/external/harfbuzz_ng/test/api/
Dtest-common.c57 g_assert (HB_DIRECTION_IS_HORIZONTAL (HB_DIRECTION_RTL)); in test_types_direction()
63 g_assert (!HB_DIRECTION_IS_VERTICAL (HB_DIRECTION_RTL)); in test_types_direction()
70 g_assert (!HB_DIRECTION_IS_FORWARD (HB_DIRECTION_RTL)); in test_types_direction()
76 g_assert (HB_DIRECTION_IS_BACKWARD (HB_DIRECTION_RTL)); in test_types_direction()
82 g_assert (HB_DIRECTION_IS_VALID (HB_DIRECTION_RTL)); in test_types_direction()
87 g_assert_cmpint (HB_DIRECTION_REVERSE (HB_DIRECTION_LTR), ==, HB_DIRECTION_RTL); in test_types_direction()
88 g_assert_cmpint (HB_DIRECTION_REVERSE (HB_DIRECTION_RTL), ==, HB_DIRECTION_LTR); in test_types_direction()
97 g_assert_cmpint (HB_DIRECTION_RTL, ==, hb_direction_from_string ("r", -1)); in test_types_direction()
98 g_assert_cmpint (HB_DIRECTION_RTL, ==, hb_direction_from_string ("rtl", -1)); in test_types_direction()
99 g_assert_cmpint (HB_DIRECTION_RTL, ==, hb_direction_from_string ("RtL", -1)); in test_types_direction()
[all …]
Dtest-ot-math.c428 …g_assert_cmpint(hb_ot_math_get_glyph_variants (hb_font, glyph, HB_DIRECTION_RTL, 0, NULL, NULL), =… in test_get_glyph_variants()
434 …g_assert_cmpint(hb_ot_math_get_glyph_variants (hb_font, glyph, HB_DIRECTION_RTL, 0, NULL, NULL), =… in test_get_glyph_variants()
440 …g_assert_cmpint(hb_ot_math_get_glyph_variants (hb_font, glyph, HB_DIRECTION_RTL, 0, NULL, NULL), =… in test_get_glyph_variants()
446 …g_assert_cmpint(hb_ot_math_get_glyph_variants (hb_font, glyph, HB_DIRECTION_RTL, 0, NULL, NULL), =… in test_get_glyph_variants()
452 …g_assert_cmpint(hb_ot_math_get_glyph_variants (hb_font, glyph, HB_DIRECTION_RTL, 0, NULL, NULL), =… in test_get_glyph_variants()
467 HB_DIRECTION_RTL, in test_get_glyph_variants()
481 HB_DIRECTION_RTL, in test_get_glyph_variants()
491 HB_DIRECTION_RTL, in test_get_glyph_variants()
552 …g_assert_cmpint(hb_ot_math_get_glyph_assembly (hb_font, glyph, HB_DIRECTION_RTL, 0, NULL, NULL, NU… in test_get_glyph_assembly()
558 …g_assert_cmpint(hb_ot_math_get_glyph_assembly (hb_font, glyph, HB_DIRECTION_RTL, 0, NULL, NULL, NU… in test_get_glyph_assembly()
[all …]
Dtest-ot-ligature-carets.c39 g_assert_cmpuint (2, ==, hb_ot_layout_get_ligature_carets (font, HB_DIRECTION_RTL, in test_ot_layout_feature_get_name_ids_and_characters()
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.c296 g_assert (!hb_font_get_glyph_contour_point_for_origin (font1, 3, 7, HB_DIRECTION_RTL, &x, &y)); in test_fontfuncs_subclassing()
332 g_assert (hb_font_get_glyph_contour_point_for_origin (font2, 2, 5, HB_DIRECTION_RTL, &x, &y)); in test_fontfuncs_subclassing()
348 g_assert (hb_font_get_glyph_contour_point_for_origin (font3, 1, 2, HB_DIRECTION_RTL, &x, &y)); in test_fontfuncs_subclassing()
Dtest-ot-face.c88 hb_ot_math_get_min_connector_overlap (font, HB_DIRECTION_RTL); in test_face()
/external/harfbuzz_ng/src/
Dhb-common.h137 HB_DIRECTION_RTL, enumerator
Dhb-ot-shape.cc266 case HB_DIRECTION_RTL: in hb_ot_shape_collect_features()
1054 bool mirror = hb_script_get_horizontal_direction (buffer->props.script) == HB_DIRECTION_RTL; in hb_ot_shape_glyphs_closure()
Dhb-graphite2.cc280 2 | (hb_buffer_get_direction (buffer) == HB_DIRECTION_RTL ? 1 : 0)); in _hb_graphite2_shape()
Dhb-ot-shape-fallback.cc222 } else if (buffer->props.direction == HB_DIRECTION_RTL) { in position_mark()
Dhb-common.cc578 return HB_DIRECTION_RTL; in hb_script_get_horizontal_direction()
Dhb-ot-layout-gpos-table.hh1016 case HB_DIRECTION_RTL: in apply()
/external/skqp/modules/skshaper/src/
DSkShaper_harfbuzz.cpp629 hb_direction_t direction = is_LTR(bidi->currentLevel()) ? HB_DIRECTION_LTR:HB_DIRECTION_RTL; in shape()
643 if (direction == HB_DIRECTION_RTL) { in shape()
/external/skia/modules/skshaper/src/
DSkShaper_harfbuzz.cpp1358 hb_direction_t direction = is_LTR(bidi->currentLevel()) ? HB_DIRECTION_LTR:HB_DIRECTION_RTL; in shape()
1374 if (direction == HB_DIRECTION_RTL) { in shape()