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
65853736
Commit
65853736
authored
Feb 22, 2005
by
TANABE Hiroshi
Committed by
Alexandre Julliard
Feb 22, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Multibyte character set support in GetGlyphOutlineA.
parent
8e34fa62
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
font.c
dlls/gdi/font.c
+11
-1
No files found.
dlls/gdi/font.c
View file @
65853736
...
@@ -1935,7 +1935,17 @@ DWORD WINAPI GetGlyphOutlineA( HDC hdc, UINT uChar, UINT fuFormat,
...
@@ -1935,7 +1935,17 @@ DWORD WINAPI GetGlyphOutlineA( HDC hdc, UINT uChar, UINT fuFormat,
UINT
c
;
UINT
c
;
if
(
!
(
fuFormat
&
GGO_GLYPH_INDEX
))
{
if
(
!
(
fuFormat
&
GGO_GLYPH_INDEX
))
{
p
=
FONT_mbtowc
(
hdc
,
(
char
*
)
&
uChar
,
1
,
NULL
,
NULL
);
int
len
;
char
mbchs
[
2
];
if
(
uChar
>
0xff
)
{
/* but, 2 bytes character only */
len
=
2
;
mbchs
[
0
]
=
(
uChar
&
0xff00
)
>>
8
;
mbchs
[
1
]
=
(
uChar
&
0xff
);
}
else
{
len
=
1
;
mbchs
[
0
]
=
(
uChar
&
0xff
);
}
p
=
FONT_mbtowc
(
hdc
,
mbchs
,
len
,
NULL
,
NULL
);
c
=
p
[
0
];
c
=
p
[
0
];
}
else
}
else
c
=
uChar
;
c
=
uChar
;
...
...
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