Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
0a29308e
Commit
0a29308e
authored
Jun 06, 2011
by
Aric Stewart
Committed by
Alexandre Julliard
Jun 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Fall back on uniscribe for complex scripts.
parent
7ab744d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
bidi.c
dlls/gdi32/bidi.c
+11
-1
No files found.
dlls/gdi32/bidi.c
View file @
0a29308e
...
...
@@ -359,6 +359,7 @@ BOOL BIDI_Reorder(
WORD
*
chartype
;
BYTE
*
levels
;
unsigned
i
,
done
,
glyph_i
;
BOOL
is_complex
;
int
maxItems
;
int
nItems
;
...
...
@@ -404,11 +405,20 @@ BOOL BIDI_Reorder(
if
(
lpOutString
)
memcpy
(
lpOutString
,
lpString
,
uCount
*
sizeof
(
WCHAR
));
is_complex
=
FALSE
;
for
(
i
=
0
;
i
<
uCount
&&
!
is_complex
;
i
++
)
{
if
((
lpString
[
i
]
>=
0x900
&&
lpString
[
i
]
<=
0xfff
)
||
(
lpString
[
i
]
>=
0x1cd0
&&
lpString
[
i
]
<=
0x1cff
)
||
(
lpString
[
i
]
>=
0xa840
&&
lpString
[
i
]
<=
0xa8ff
))
is_complex
=
TRUE
;
}
/* Verify reordering will be required */
if
((
WINE_GCPW_FORCE_RTL
==
(
dwWineGCP_Flags
&
WINE_GCPW_DIR_MASK
))
||
((
dwWineGCP_Flags
&
WINE_GCPW_DIR_MASK
)
==
WINE_GCPW_LOOSE_RTL
))
State
.
uBidiLevel
=
1
;
else
else
if
(
!
is_complex
)
{
done
=
1
;
classify
(
lpString
,
chartype
,
uCount
);
...
...
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