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
3d56d674
Commit
3d56d674
authored
Jun 21, 2011
by
Aric Stewart
Committed by
Alexandre Julliard
Jun 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Correct ralf glyph offset calculation in PostBase.
parent
648b7f2a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
shape.c
dlls/usp10/shape.c
+7
-5
No files found.
dlls/usp10/shape.c
View file @
3d56d674
...
...
@@ -2096,19 +2096,21 @@ static inline INT find_halant_consonant(WCHAR* pwChars, INT index, INT end, lexi
static
void
Apply_Indic_PostBase
(
HDC
hdc
,
ScriptCache
*
psc
,
SCRIPT_ANALYSIS
*
psa
,
WCHAR
*
pwChars
,
INT
cChars
,
IndicSyllable
*
syllable
,
WORD
*
pwOutGlyphs
,
INT
*
pcGlyphs
,
WORD
*
pwLogClust
,
lexical_function
lexical
,
IndicSyllable
*
glyph_index
,
const
char
*
feat
)
{
INT
index
,
nextIndex
;
INT
count
,
g_offset
;
INT
count
,
g_offset
=
0
;
INT
ralf
=
syllable
->
ralf
;
count
=
syllable
->
end
-
syllable
->
base
;
if
(
syllable
->
ralf
>=
syllable
->
base
)
g_offset
=
-
1
;
else
g_offset
=
0
;
index
=
find_halant_consonant
(
&
pwChars
[
syllable
->
base
],
0
,
count
,
lexical
);
while
(
index
>=
0
)
{
INT
prevCount
=
*
pcGlyphs
;
if
(
ralf
>=
0
&&
ralf
<
index
)
{
g_offset
--
;
ralf
=
-
1
;
}
nextIndex
=
apply_GSUB_feature_to_glyph
(
hdc
,
psa
,
psc
,
pwOutGlyphs
,
index
+
glyph_index
->
base
+
g_offset
,
1
,
pcGlyphs
,
feat
);
if
(
nextIndex
>
GSUB_E_NOGLYPH
)
{
...
...
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