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
86abd841
Commit
86abd841
authored
Oct 25, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Fix mapping of symbol font glyphs even when no encoding is specified.
parent
0eef9075
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
freetype.c
dlls/gdi32/freetype.c
+6
-1
No files found.
dlls/gdi32/freetype.c
View file @
86abd841
...
...
@@ -5580,7 +5580,12 @@ static FT_UInt get_glyph_index(const GdiFont *font, UINT glyph)
if
(
codepage_sets_default_used
(
font
->
codepage
))
default_used_pointer
=
&
default_used
;
if
(
!
WideCharToMultiByte
(
font
->
codepage
,
0
,
&
wc
,
1
,
&
buf
,
sizeof
(
buf
),
NULL
,
default_used_pointer
)
||
default_used
)
ret
=
0
;
{
if
(
font
->
codepage
==
CP_SYMBOL
&&
wc
<
0x100
)
ret
=
pFT_Get_Char_Index
(
font
->
ft_face
,
(
unsigned
char
)
wc
);
else
ret
=
0
;
}
else
ret
=
pFT_Get_Char_Index
(
font
->
ft_face
,
(
unsigned
char
)
buf
);
TRACE
(
"%04x (%02x) -> ret %d def_used %d
\n
"
,
glyph
,
buf
,
ret
,
default_used
);
...
...
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