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
f670d3b1
Commit
f670d3b1
authored
Jun 15, 2011
by
Aric Stewart
Committed by
Alexandre Julliard
Jun 15, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Apply 'rphf' only to the reph forms in Indic syllables.
parent
c1d4db0d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
indic.c
dlls/usp10/indic.c
+6
-2
shape.c
dlls/usp10/shape.c
+0
-0
usp10_internal.h
dlls/usp10/usp10_internal.h
+1
-0
No files found.
dlls/usp10/indic.c
View file @
f670d3b1
...
...
@@ -243,11 +243,13 @@ static BOOL Consonent_is_ralf(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCache* psc, L
static
int
FindBaseConsonant
(
HDC
hdc
,
SCRIPT_ANALYSIS
*
psa
,
ScriptCache
*
psc
,
LPWSTR
input
,
IndicSyllable
*
s
,
lexical_function
lex
)
{
int
i
;
int
start
=
s
->
start
;
/* remove ralf from consideration */
if
(
Consonent_is_ralf
(
hdc
,
psa
,
psc
,
input
,
s
,
lex
))
{
s
->
ralf
=
s
->
start
;
s
->
start
+=
2
;
}
/* try to find a base consonant */
if
(
!
is_consonant
(
lex
(
input
[
s
->
base
])
))
...
...
@@ -270,7 +272,8 @@ static int FindBaseConsonant(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCache* psc, LP
}
}
s
->
start
=
start
;
if
(
s
->
ralf
>=
0
)
s
->
start
=
s
->
ralf
;
return
s
->
base
;
}
...
...
@@ -304,6 +307,7 @@ void Indic_ReorderCharacters( HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCache* psc, L
*
syllables
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
IndicSyllable
));
(
*
syllables
)[
*
syllable_count
].
start
=
index
;
(
*
syllables
)[
*
syllable_count
].
base
=
center
;
(
*
syllables
)[
*
syllable_count
].
ralf
=
-
1
;
(
*
syllables
)[
*
syllable_count
].
end
=
next
-
1
;
FindBaseConsonant
(
hdc
,
psa
,
psc
,
input
,
&
(
*
syllables
)[
*
syllable_count
],
lex
);
reorder_f
(
input
,
&
(
*
syllables
)[
*
syllable_count
],
lex
);
...
...
dlls/usp10/shape.c
View file @
f670d3b1
This diff is collapsed.
Click to expand it.
dlls/usp10/usp10_internal.h
View file @
f670d3b1
...
...
@@ -99,6 +99,7 @@ typedef struct {
typedef
struct
{
INT
start
;
INT
base
;
INT
ralf
;
INT
end
;
}
IndicSyllable
;
...
...
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