Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
3cc61296
Commit
3cc61296
authored
Jun 08, 2011
by
Aric Stewart
Committed by
Alexandre Julliard
Jun 08, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Refine Ralf reordering location for Devanagari and Gujarati.
parent
81183c1e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
shape.c
dlls/usp10/shape.c
+5
-6
No files found.
dlls/usp10/shape.c
View file @
3cc61296
...
...
@@ -1858,17 +1858,16 @@ static void Reorder_Ra_follows_base(LPWSTR pwChar, INT start, INT main, INT end,
}
}
static
void
Reorder_Ra_follows_matra
_post
(
LPWSTR
pwChar
,
INT
start
,
INT
main
,
INT
end
,
lexical_function
lexical
)
static
void
Reorder_Ra_follows_matra
(
LPWSTR
pwChar
,
INT
start
,
INT
main
,
INT
end
,
lexical_function
lexical
)
{
if
(
start
!=
main
&&
end
>
start
+
1
&&
lexical
(
pwChar
[
start
])
==
lex_Ra
&&
lexical
(
pwChar
[
start
+
1
])
==
lex_Halant
)
{
int
j
,
loc
;
WORD
Ra
=
pwChar
[
start
];
WORD
H
=
pwChar
[
start
+
1
];
for
(
loc
=
main
;
loc
>
end
;
loc
++
)
if
(
lexical
(
pwChar
[
loc
])
==
lex_Matra_post
)
for
(
loc
=
end
;
loc
>
main
;
loc
--
)
if
(
lexical
(
pwChar
[
loc
])
==
lex_Matra_post
||
lexical
(
pwChar
[
loc
])
==
lex_Matra_below
)
break
;
if
(
loc
==
end
)
loc
=
main
;
TRACE
(
"Doing reorder of Ra to %i
\n
"
,
loc
);
for
(
j
=
start
;
j
<
loc
-
1
;
j
++
)
...
...
@@ -1958,7 +1957,7 @@ static void Reorder_Like_Devanagari(LPWSTR pwChar, INT start, INT main, INT end,
main
=
Indic_FindBaseConsonant
(
pwChar
,
start
,
main
,
end
,
lexical
);
if
(
lexical
(
pwChar
[
main
])
==
lex_Vowel
)
return
;
Reorder_Ra_follows_matra
_post
(
pwChar
,
start
,
main
,
end
,
lexical
);
Reorder_Ra_follows_matra
(
pwChar
,
start
,
main
,
end
,
lexical
);
Reorder_Matra_precede_syllable
(
pwChar
,
start
,
main
,
end
,
lexical
);
}
...
...
@@ -1994,7 +1993,7 @@ static void Reorder_Like_Malayalam(LPWSTR pwChar, INT start, INT main, INT end,
main
=
Indic_FindBaseConsonant
(
pwChar
,
start
,
main
,
end
,
lexical
);
if
(
lexical
(
pwChar
[
main
])
==
lex_Vowel
)
return
;
Reorder_Ra_follows_matra
_post
(
pwChar
,
start
,
main
,
end
,
lexical
);
Reorder_Ra_follows_matra
(
pwChar
,
start
,
main
,
end
,
lexical
);
Reorder_Matra_precede_base
(
pwChar
,
start
,
main
,
end
,
lexical
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment