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
428d3b02
Commit
428d3b02
authored
Jun 08, 2011
by
Aric Stewart
Committed by
Alexandre Julliard
Jun 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Sinhala vowels are not fully decomposed. The Kombuva is simply split off.
parent
3c5688a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
shape.c
dlls/usp10/shape.c
+8
-6
No files found.
dlls/usp10/shape.c
View file @
428d3b02
...
...
@@ -1806,6 +1806,8 @@ static void DecomposeVowels(HDC hdc, WCHAR *pwOutChars, INT *pcChars, const Vowe
if
(
pwOutChars
[
cWalk
]
==
vowels
[
i
].
base
)
{
ReplaceInsertChars
(
hdc
,
cWalk
,
pcChars
,
pwOutChars
,
vowels
[
i
].
parts
);
if
(
vowels
[
i
].
parts
[
1
])
cWalk
++
;
if
(
vowels
[
i
].
parts
[
2
])
cWalk
++
;
break
;
}
}
...
...
@@ -2007,7 +2009,7 @@ static int sinhala_lex(WCHAR c)
case
0x0DD9
:
case
0x0DDB
:
return
lex_Matra_pre
;
case
0x0DDA
:
case
0x0DDC
:
return
lex_
Composed_Vowel
;
case
0x0DDC
:
return
lex_
Matra_post
;
case
0x200D
:
return
lex_ZWJ
;
case
0x200C
:
return
lex_ZWNJ
;
case
0x00A0
:
return
lex_NBSP
;
...
...
@@ -2018,17 +2020,17 @@ static int sinhala_lex(WCHAR c)
else
if
(
c
>=
0x0DD0
&&
c
<=
0x0DD1
)
return
lex_Matra_post
;
else
if
(
c
>=
0x0DD2
&&
c
<=
0x0DD3
)
return
lex_Matra_above
;
else
if
(
c
>=
0x0DD4
&&
c
<=
0x0DD6
)
return
lex_Matra_below
;
else
if
(
c
>=
0x0DDD
&&
c
<=
0x0DDE
)
return
lex_
Composed_Vowel
;
else
if
(
c
>=
0x0DDD
&&
c
<=
0x0DDE
)
return
lex_
Matra_post
;
else
if
(
c
>=
0x0DF2
&&
c
<=
0x0DF3
)
return
lex_Matra_post
;
else
return
lex_Generic
;
}
}
static
const
VowelComponents
Sinhala_vowels
[]
=
{
{
0x0DDA
,
{
0x0DD9
,
0x0D
C
A
,
0x0
}},
{
0x0DDC
,
{
0x0DD9
,
0x0D
CF
,
0x0
}},
{
0x0DDD
,
{
0x0DD9
,
0x0D
CF
,
0x0DCA
}},
{
0x0DDE
,
{
0x0DD9
,
0x0DD
F
,
0x0
}},
{
0x0DDA
,
{
0x0DD9
,
0x0D
D
A
,
0x0
}},
{
0x0DDC
,
{
0x0DD9
,
0x0D
DC
,
0x0
}},
{
0x0DDD
,
{
0x0DD9
,
0x0D
DD
,
0x0
}},
{
0x0DDE
,
{
0x0DD9
,
0x0DD
E
,
0x0
}},
{
0x0000
,
{
0x0000
,
0x0000
,
0x0
}}};
static
void
ContextualShape_Sinhala
(
HDC
hdc
,
ScriptCache
*
psc
,
SCRIPT_ANALYSIS
*
psa
,
WCHAR
*
pwcChars
,
INT
cChars
,
WORD
*
pwOutGlyphs
,
INT
*
pcGlyphs
,
INT
cMaxGlyphs
,
WORD
*
pwLogClust
)
...
...
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