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
4ebb7b53
Commit
4ebb7b53
authored
Jun 14, 2002
by
Shachar Shemesh
Committed by
Alexandre Julliard
Jun 14, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ExtTextOutW: if GetFontLanguageInfo says that the font may require
reordering, call GetCharacterPlacementW and print the result.
parent
74bd0da3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
3 deletions
+29
-3
text.c
objects/text.c
+29
-3
No files found.
objects/text.c
View file @
4ebb7b53
...
...
@@ -170,9 +170,35 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags,
{
if
(
PATH_IsPathOpen
(
dc
->
path
))
FIXME
(
"called on an open path
\n
"
);
else
if
(
dc
->
funcs
->
pExtTextOut
)
ret
=
dc
->
funcs
->
pExtTextOut
(
dc
->
physDev
,
x
,
y
,
flags
,
lprect
,
str
,
count
,
lpDx
);
GDI_ReleaseObj
(
hdc
);
else
if
(
dc
->
funcs
->
pExtTextOut
)
{
DWORD
fontLangInfo
=
0
;
if
(
!
(
flags
&
(
ETO_GLYPH_INDEX
|
ETO_IGNORELANGUAGE
))
&&
((
fontLangInfo
=
GetFontLanguageInfo
(
hdc
))
&
(
GCP_REORDER
|
GCP_GLYPHSHAPE
))
)
{
/* The caller did not specify that language processing was already done,
* and the font idetifies iteself as requiring language processing.
*/
GCP_RESULTSW
gcp
;
gcp
.
lStructSize
=
sizeof
(
gcp
);
gcp
.
lpOutString
=
HeapAlloc
(
GetProcessHeap
(),
0
,
count
*
sizeof
(
WCHAR
));
gcp
.
lpOrder
=
NULL
;
gcp
.
lpDx
=
NULL
;
gcp
.
lpCaretPos
=
NULL
;
gcp
.
lpClass
=
NULL
;
gcp
.
lpGlyphs
=
NULL
;
gcp
.
nGlyphs
=
0
;
gcp
.
nMaxFit
=
0
;
GetCharacterPlacementW
(
hdc
,
str
,
count
,
0
,
&
gcp
,
GCP_REORDER
);
ret
=
dc
->
funcs
->
pExtTextOut
(
dc
->
physDev
,
x
,
y
,
flags
|
ETO_IGNORELANGUAGE
,
lprect
,
gcp
.
lpOutString
,
count
,
lpDx
);
}
else
ret
=
dc
->
funcs
->
pExtTextOut
(
dc
->
physDev
,
x
,
y
,
flags
,
lprect
,
str
,
count
,
lpDx
);
}
GDI_ReleaseObj
(
hdc
);
}
return
ret
;
}
...
...
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