Commit f734d98a authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

gdi32/uniscribe: Merge Arabic joining types C and D.

parent 5197fd7c
......@@ -89,13 +89,16 @@ extern const unsigned short indic_syllabic_table[] DECLSPEC_HIDDEN;
extern const unsigned short wine_shaping_table[] DECLSPEC_HIDDEN;
extern const unsigned short wine_shaping_forms[LAST_ARABIC_CHAR - FIRST_ARABIC_CHAR + 1][4] DECLSPEC_HIDDEN;
enum joining_types {
jtU,
jtT,
jtR,
jtL,
jtD,
jtC
enum joining_types
{
jtU = 0,
jtL = 1,
jtR = 2,
jtD = 3,
jtC = jtD,
jgALAPH = 4,
jgDALATH_RISH = 5,
jtT = 6,
};
enum joined_forms {
......@@ -988,12 +991,12 @@ static CHAR neighbour_joining_type(int i, int delta, const CHAR* context_type, I
static inline BOOL right_join_causing(CHAR joining_type)
{
return (joining_type == jtL || joining_type == jtD || joining_type == jtC);
return joining_type == jtL || joining_type == jtD;
}
static inline BOOL left_join_causing(CHAR joining_type)
{
return (joining_type == jtR || joining_type == jtD || joining_type == jtC);
return joining_type == jtR || joining_type == jtD;
}
static inline BOOL word_break_causing(WCHAR chr)
......
......@@ -417,12 +417,14 @@ my %bidi_types =
my %joining_types =
(
"U" => 0, # Non_Joining
"T" => 1, # Transparent
"R" => 2, # Right_Joining
"L" => 3, # Left_Joining
"D" => 4, # Dual_Joining
"C" => 5, # Join_Causing
"U" => 0, # Non_Joining
"L" => 1, # Left_Joining
"R" => 2, # Right_Joining
"D" => 3, # Dual_Joining
"C" => 3, # Join_Causing
"ALAPH" => 4, # Syriac ALAPH
"DALATH RISH" => 5, # Syriac DALATH RISH group
"T" => 6, # Transparent
);
my @cp2uni = ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment