7664e99a94
Resolves: rhbz#1787293
39 lines
1.2 KiB
Diff
39 lines
1.2 KiB
Diff
From c4d0f2f85b9023b386011b4ca978cf908d8e9a96 Mon Sep 17 00:00:00 2001
|
|
From: Dov Grobgeld <dov.grobgeld@gmail.com>
|
|
Date: Sat, 21 Dec 2019 22:01:43 +0100
|
|
Subject: [PATCH 1/4] Restored mistakenly removed deprecated function
|
|
fribidi_log2vis_get_embedding_levels()
|
|
|
|
- Issue #134
|
|
---
|
|
lib/fribidi-deprecated.c | 13 +++++++++++++
|
|
1 file changed, 13 insertions(+)
|
|
|
|
diff --git a/lib/fribidi-deprecated.c b/lib/fribidi-deprecated.c
|
|
index 7a97292..bc0b8e2 100644
|
|
--- a/lib/fribidi-deprecated.c
|
|
+++ b/lib/fribidi-deprecated.c
|
|
@@ -76,6 +76,19 @@ fribidi_reorder_nsm_status (
|
|
|
|
|
|
|
|
+FRIBIDI_ENTRY FriBidiLevel
|
|
+fribidi_log2vis_get_embedding_levels (
|
|
+ const FriBidiCharType *bidi_types, /* input list of bidi types as returned by
|
|
+ fribidi_get_bidi_types() */
|
|
+ const FriBidiStrIndex len, /* input string length of the paragraph */
|
|
+ FriBidiParType *pbase_dir, /* requested and resolved paragraph
|
|
+ * base direction */
|
|
+ FriBidiLevel *embedding_levels /* output list of embedding levels */
|
|
+)
|
|
+{
|
|
+ return fribidi_get_par_embedding_levels_ex (bidi_types, NULL, len, pbase_dir, embedding_levels);
|
|
+}
|
|
+
|
|
FRIBIDI_ENTRY FriBidiCharType
|
|
fribidi_get_type (
|
|
FriBidiChar ch /* input character */
|
|
--
|
|
2.24.1
|
|
|