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
e276fbc2
Commit
e276fbc2
authored
May 21, 2010
by
Aric Stewart
Committed by
Alexandre Julliard
May 21, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Correct Left and Right confusions for Arabic joining and shaping.
parent
5786d3a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
shape.c
dlls/usp10/shape.c
+7
-7
No files found.
dlls/usp10/shape.c
View file @
e276fbc2
...
...
@@ -51,8 +51,8 @@ enum joining_types {
enum
joined_forms
{
Xn
=
0
,
Xl
,
Xr
,
Xl
,
Xm
};
...
...
@@ -448,12 +448,12 @@ static CHAR neighbour_joining_type(int i, int delta, const CHAR* context_type, I
static
inline
BOOL
right_join_causing
(
CHAR
joining_type
)
{
return
(
joining_type
==
jt
R
||
joining_type
==
jtD
||
joining_type
==
jtC
);
return
(
joining_type
==
jt
L
||
joining_type
==
jtD
||
joining_type
==
jtC
);
}
static
inline
BOOL
left_join_causing
(
CHAR
joining_type
)
{
return
(
joining_type
==
jt
L
||
joining_type
==
jtD
||
joining_type
==
jtC
);
return
(
joining_type
==
jt
R
||
joining_type
==
jtD
||
joining_type
==
jtC
);
}
/* SHAPE_ShapeArabicGlyphs
...
...
@@ -470,13 +470,13 @@ void SHAPE_ShapeArabicGlyphs(HDC hdc, ScriptCache *psc, SCRIPT_ANALYSIS *psa, WC
if
(
!
psa
->
fLogicalOrder
&&
psa
->
fRTL
)
{
dirR
=
-
1
;
dirL
=
1
;
dirR
=
1
;
dirL
=
-
1
;
}
else
{
dirR
=
1
;
dirL
=
-
1
;
dirR
=
-
1
;
dirL
=
1
;
}
if
(
!
psc
->
GSUB_Table
)
...
...
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