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
7ab744d3
Commit
7ab744d3
authored
Jun 06, 2011
by
Aric Stewart
Committed by
Alexandre Julliard
Jun 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Correct indic vowel marker name.
parent
61f51eb4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
indic.c
dlls/usp10/indic.c
+10
-10
shape.c
dlls/usp10/shape.c
+0
-0
usp10_internal.h
dlls/usp10/usp10_internal.h
+1
-1
No files found.
dlls/usp10/indic.c
View file @
7ab744d3
...
...
@@ -52,10 +52,10 @@ static void debug_output_string(LPCWSTR str, int cChar, lexical_function f)
case
lex_Halant
:
TRACE
(
"H"
);
break
;
case
lex_ZWNJ
:
TRACE
(
"Zwnj"
);
break
;
case
lex_ZWJ
:
TRACE
(
"Zwj"
);
break
;
case
lex_Ma
n
tra_post
:
TRACE
(
"Mp"
);
break
;
case
lex_Ma
n
tra_above
:
TRACE
(
"Ma"
);
break
;
case
lex_Ma
n
tra_below
:
TRACE
(
"Mb"
);
break
;
case
lex_Ma
n
tra_pre
:
TRACE
(
"Mm"
);
break
;
case
lex_Matra_post
:
TRACE
(
"Mp"
);
break
;
case
lex_Matra_above
:
TRACE
(
"Ma"
);
break
;
case
lex_Matra_below
:
TRACE
(
"Mb"
);
break
;
case
lex_Matra_pre
:
TRACE
(
"Mm"
);
break
;
case
lex_Modifier
:
TRACE
(
"Sm"
);
break
;
case
lex_Vedic
:
TRACE
(
"Vd"
);
break
;
case
lex_Anudatta
:
TRACE
(
"A"
);
break
;
...
...
@@ -73,10 +73,10 @@ static inline BOOL is_consonant( int type )
return
(
type
==
lex_Ra
||
type
==
lex_Consonant
);
}
static
inline
BOOL
is_ma
n
tra
(
int
type
)
static
inline
BOOL
is_matra
(
int
type
)
{
return
(
type
==
lex_Ma
ntra_above
||
type
==
lex_Man
tra_below
||
type
==
lex_Ma
ntra_pre
||
type
==
lex_Man
tra_post
);
return
(
type
==
lex_Ma
tra_above
||
type
==
lex_Ma
tra_below
||
type
==
lex_Ma
tra_pre
||
type
==
lex_Ma
tra_post
);
}
static
inline
BOOL
is_joiner
(
int
type
)
...
...
@@ -142,7 +142,7 @@ static INT parse_consonant_syllable(LPCWSTR input, INT cChar, INT start,
}
else
if
(
next
<
cChar
)
{
while
((
next
<
cChar
)
&&
is_ma
n
tra
(
lex
(
input
[
next
])
))
while
((
next
<
cChar
)
&&
is_matra
(
lex
(
input
[
next
])
))
next
++
;
if
((
next
<
cChar
)
&&
lex
(
input
[
next
])
==
lex_Nukta
)
next
++
;
...
...
@@ -168,9 +168,9 @@ static INT parse_vowel_syllable(LPCWSTR input, INT cChar, INT start,
else
if
((
next
<
cChar
)
&&
lex
(
input
[
next
])
==
lex_ZWJ
&&
is_consonant
(
lex
(
input
[
next
+
1
])
))
next
+=
2
;
if
(
is_ma
n
tra
(
lex
(
input
[
next
])
))
if
(
is_matra
(
lex
(
input
[
next
])
))
{
while
((
next
<
cChar
)
&&
is_ma
n
tra
(
lex
(
input
[
next
])
))
while
((
next
<
cChar
)
&&
is_matra
(
lex
(
input
[
next
])
))
next
++
;
if
((
next
<
cChar
)
&&
lex
(
input
[
next
])
==
lex_Nukta
)
next
++
;
...
...
dlls/usp10/shape.c
View file @
7ab744d3
This diff is collapsed.
Click to expand it.
dlls/usp10/usp10_internal.h
View file @
7ab744d3
...
...
@@ -95,7 +95,7 @@ typedef struct {
OPENTYPE_TAG
userLang
;
}
ScriptCache
;
enum
{
lex_Halant
,
lex_Composed_Vowel
,
lex_Ma
ntra_post
,
lex_Mantra_pre
,
lex_Mantra_above
,
lex_Man
tra_below
,
lex_ZWJ
,
lex_ZWNJ
,
lex_NBSP
,
lex_Modifier
,
lex_Vowel
,
lex_Consonant
,
lex_Generic
,
lex_Ra
,
lex_Vedic
,
lex_Anudatta
,
lex_Nukta
};
enum
{
lex_Halant
,
lex_Composed_Vowel
,
lex_Ma
tra_post
,
lex_Matra_pre
,
lex_Matra_above
,
lex_Ma
tra_below
,
lex_ZWJ
,
lex_ZWNJ
,
lex_NBSP
,
lex_Modifier
,
lex_Vowel
,
lex_Consonant
,
lex_Generic
,
lex_Ra
,
lex_Vedic
,
lex_Anudatta
,
lex_Nukta
};
typedef
int
(
*
lexical_function
)(
WCHAR
c
);
typedef
void
(
*
reorder_function
)(
LPWSTR
pwChar
,
INT
start
,
INT
main
,
INT
end
,
lexical_function
lex
);
...
...
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